Stephen
03-26-1999, 12:28 AM
Calling all (any) experts on the compilation of Perl on a Win95 machine...
I have been trying to compile the source code directly and have run into difficulties. First off, I needed a c compiler. So I went to the Cygnus site and dowloaded the free Cygnus-Win32 suite which includes a gcc compiler. I set that up (at least, my "Hello, World" program compiled). Now I'm trying to compile the source for Perl5.005_02 by running the perl configuration script (by typing sh Configure in the perl root directory).
This relies on a perl configuration file config.sh which I replaced with the recommended cygwin32.sh file found in the /hints directory. After typing "sh Configure" at the command line you get an interactive session which mainly requires you to just hit the enter key repeatedly. About 2/3 of the way through it dies. The first suspicious ouput message is this (from early in the session):
No string header found - you'll surely have problems.
Even so, the Configure problem seems to ignore this warning and merrily goes on its way. The LAST thing it uttered before dying (while checking the properties of the gcc compiler) was this:
Your stat() doesn't know about block sizes
I don't know if this is fatal or not, but in the status line at the bottom of the window you can see it still checking files until it gets to grep and then... nothing. Dead.
Has anyone else imported the Cygnus-Win32 suite and managed to compile the perl source code this way? If so, I'd love to see the config.sh file you used.
Thanks.
[This message has been edited by Stephen (edited 03-26-99).]
I have been trying to compile the source code directly and have run into difficulties. First off, I needed a c compiler. So I went to the Cygnus site and dowloaded the free Cygnus-Win32 suite which includes a gcc compiler. I set that up (at least, my "Hello, World" program compiled). Now I'm trying to compile the source for Perl5.005_02 by running the perl configuration script (by typing sh Configure in the perl root directory).
This relies on a perl configuration file config.sh which I replaced with the recommended cygwin32.sh file found in the /hints directory. After typing "sh Configure" at the command line you get an interactive session which mainly requires you to just hit the enter key repeatedly. About 2/3 of the way through it dies. The first suspicious ouput message is this (from early in the session):
No string header found - you'll surely have problems.
Even so, the Configure problem seems to ignore this warning and merrily goes on its way. The LAST thing it uttered before dying (while checking the properties of the gcc compiler) was this:
Your stat() doesn't know about block sizes
I don't know if this is fatal or not, but in the status line at the bottom of the window you can see it still checking files until it gets to grep and then... nothing. Dead.
Has anyone else imported the Cygnus-Win32 suite and managed to compile the perl source code this way? If so, I'd love to see the config.sh file you used.
Thanks.
[This message has been edited by Stephen (edited 03-26-99).]