Sorry for disturbing...
Alfred Vahau wrote:
Thanks for the tips. No, I don't have the Microsoft compiler so will try the install by PPM.
I did think of the MinGW gcc as an option but was already a cygwin user so opted
for the gcc in Cygwin.
from Microsoft's website there is the MS Visual C++ Toolkit 2003 availible for free. It contains a cl.exe
http://download.microsoft.com/download/3/9/b/39bac755-0a1e-4d0b-b72c-3a158b7444c4/VCToolkitSetup.exe
or
http://www.microsoft.com/downloads/details.aspx?FamilyId=272BE09D-40BB-49FD-9CB0-4BFA122FA91B&displaylang=en
Might be worth a try if you ever want to recompile a Perl Module when you can't use PPM or so.
Alfred,
Alex
Sisyphus wrote:
Alfred Vahau wrote:
But the compilation failed on nmake with the error that a cl command could not be found in the system32 path.
The error log is attached. I am not sure cl is supposed to do.
'cl.exe' is the actual compiler that comes with the Microsoft compilers (Visual Studio) - and I gather you don't have that compiler. (If you do have that compiler, then you just need to run vcvars32.bat to set your environment correctly.)
'cl' has been specified in the makefile as the compiler because your perl\lib\Config.pm specifies 'cl'. (Run 'perl -V:cc'.)
This is the first Perl module installation that has failed on my WinXP laptop.
I am using the gcc compiler which comes with a minimum install of cygwin.
I don't think that will work. I suspect that you have so far installed only pure-perl modules - which will not have involved the compiler at all.
You would be better off installing ExtUtils::FakeConfig and using MinGW's gcc compiler - though I don't think that will work with Win32::API. At one time, Win32::API contained assembly code that gcc did not understand - if that problem has been fixed then you *could* use MinGW's gcc to build Win32::API. But you would still need to first install ExtUtils::FakeConfig - to amend some configuration settings.
Your simplest solution would be to install Win32::API using ppm, rather than trying to build it yourself. While connected to the internet run:
ppm install Win32-API
Let us know if that's not a satisfactory solution.
Cheers, Rob
-- Alexander Apprich science + computing ag IT-Services Hagellocher Weg 71-75 phone +49(0)7071 9457-291 D-72070 Tuebingen, Germany fax +49(0)7071 9457-211 www.science-computing.de
s+c certificates via http://www.science-computing.de/cacert.crt _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs