|P is for Practical|
Win32 Perl build make problemby cosmicperl (Chaplain)
|on Nov 12, 2004 at 22:47 UTC||Need Help??|
cosmicperl has asked for the
wisdom of the Perl Monks concerning the following question:
I'm compiling ActivePerl on Win2000 professional.
I've hit a bit of a snag. It's work, and then it hasn't. Here are the details of what I've done. If you fancy giving it a go yourself feel free:-
I downloaded the latest ActivePerl source from:-
I use Microsoft Visual C++ 8 as my compiler. If your a programmer and you haven't heard already you can get Visual Studio 8 express edition beta for free from Microsoft.
I unzipped the source and tried to nmake, but it told me I was missing windows.h. I searched my machine and didn't have the file, so I guess the express version didn't have it. so I downloaded the Microsoft Windows SDK:-
And copies the includes and library files over to my VC++ 8 includes and library folders.
I tried 'nmake' again and it worked.
'nmake test' worked fine.
But when I did 'nmake install' it looked ok until it gave me an xcopy error that the 'html' folder did not exist. So I created the folder and put in a fake file for it to copy. This time 'nmake install' went through fine.
All looked good until I went into my new perl folder (INST_TOP = $(INST_DRV)\perlc as I have an old binary install in \perl). It only had the folders bin and html. html had the fake file I created, and bin had a few perl files, namely perlglob.exe pl2bat.bat and wperl.exe. Where is everything else? It looks to me like perl.exe, etc have all been created in source folder, and not moved to the right place. Am I missing something?
Help is much appreciated as I have some new XS modules I need to test. So I need to be able to compile new modules into perl.