Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cl , rc , and *.h files

Status
Not open for further replies.

tchatzi

Technical User
Dec 15, 2004
744
GR
refering to the preview post of mine
i found cl.exe and put it into c:\perl\bin
another error came up
i found rc.exe and put it into c:\perl\bin
another error came up
i found the bla.h and put it into c:\perl\lib\core
another error came up
i found the blabla.h and put it into c:\perl\lib\core
another error came up
i found the blablabla.h and put it into c:\perl\lib\core

at the end the last *.h said that error occured because
blabla.h already exists
i erase blabla.h from c:\perl\lib\core
and another error came up "no blabla.h found"
so some *.h need blabla.h and someother *.h has "if blabla.h exists then error"

so i'm thinking of formating my pc
and reinstall perl from the start
but i need someone to tell me the right steps to instal perl so that it will work without these stupid problems
explain to me how cpan works cause i couldnt make it work.
Let me know where to find all those *.h files that will be need for perl
and a good nmake cause i'm working with windows.

I know i'm asking for so much but i WANT TO LEARN PERL, and i can't.
if someone could assist me i will appreciate.
 
Hi pengo,

Sounds like you're having fun.

What needs the .h files then?

What modules are you using in your scripts? (database stuff, sockets etc.)

Mike

shows ways to help with Tsunami Relief.

You cannot really appreciate Dilbert unless you've read it in the
original Klingon.

Want great answers to your Tek-Tips questions? Have a look at faq219-2884
 
the nmake need those *.h files
the modules i use are win32*, Time*, Socket*, Config*, LWP*, NET*, and lots of other, but not any database module yet.

as for the fun part, never again felt like this before :((
 
Mike,

would cygwin make life easy here?

--Paul

cigless ...
 
i have so many questions that will take a day to type!
so lets strat with these first

isnt cygwin a somethinglikelinux enviroment?
and has all those stuff to download like over 500Mb?
how am i suppose to now what do i have to download?

i'm having a really bad day today. Please be patient with me, as like i was 10 years old.

do i need activestate if i choose cygwin?
and how it will work with the win32 and win32api modules?
 
Is there a particular reason that you're compiling the modules rather than just using the ppm utility that ships with ActiveState Perl?
 
yes i do

ppm> search win32*

and i get Win32-Gui 0.0558 which i install but there is no html file describing how to use it.

then i get into cpan.org

and i see there is a Win32-Gui 1.0
so i try to nmake it. and not only with this module, i have the same problems with other modules too

last time i tried to run a script with win32-gui
an error occured "error reading memory 0x0485fab38 or something"

so something has to be wrong with activestate
i have a semprom on an asus board 512Mb Ram and winxp pro english version.
 
I know that many people swear by cygwin - but I'm one of those who swear at it I'm afraid... Way too clever for me.

Ishnid's question seems straight to the point. Do as little as possible to get the things you need working, use ppm to install the modules.

Not all of them install documentation I've noticed - so don't worry about that. Use the documentation from CPAN to write a small test program to check it's been installed ok.

Don't get into building your own versions of things unless you have to; be lazy.

Mike

shows ways to help with Tsunami Relief.

You cannot really appreciate Dilbert unless you've read it in the
original Klingon.

Want great answers to your Tek-Tips questions? Have a look at faq219-2884
 
i'll just have to cool down a bit i think,
I'm gonna set everything from the start and work with ppm without installing modules manually,
Thanks for everything
 
Before I post this, I should probably point out that I almost never use Windows and haven't used ppm for ages.

Now that the disclaimer's out of the way . . .

There are ppm files for Win32::GUI v1.0 available from the project sourceforge site. IIRC, you can install by typing something like:
Code:
ppm install c:\path\to\Win32-GUI.ppd

 
Sounds like a good plan pengo, you'll get back to us and let us know how you're getting on?

Mike

shows ways to help with Tsunami Relief.

You cannot really appreciate Dilbert unless you've read it in the
original Klingon.

Want great answers to your Tek-Tips questions? Have a look at faq219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top