gokuraku has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to build NetAddr::IP on a Windows 2003 64 bit machine, so I can use it to do some checking with IPv6 addresses, and be able to handle IPv4 addresses. I am getting a problem with my setup that will not let me build this properly, either through CPAN shell or performing the Makefile manually.
Here are the steps I am following:
Downloaded the source file from CPAN and expanded it to a local directory.
I set up my local machine's environment with a script file to get my environment right, since I am using nmake from Visual Studio. This came from an earlier solution on building Socket6 from Syphilis.
set INCLUDE= "E:\SDK2003\SetEnv.cmd" /X64 /RETAIL
Then I run perl Makefile.PL and do not see any comments about missing modules, everything looks fine.
Then I run nmake and I get the following:
C:\work\NetAddr-IP-4.007>nmake /D /I /F Makefile Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. Makefile.PL Mon Aug 14 11:36:06 2006 E:\Perl64\lib\Config.pm Thu Sep 20 08:50:44 2007 E:\Perl64\lib\CORE\config.h Thu Sep 20 08:50:44 2007 Makefile Tue Jan 22 11:38:27 2008 Makefile.PL Mon Aug 14 11:36:06 2006 Makefile.PL Mon Aug 14 11:36:06 2006 Makefile.PL Mon Aug 14 11:36:06 2006 Makefile.PL Mon Aug 14 11:36:06 2006 Makefile.PL Mon Aug 14 11:36:06 2006 Makefile.PL Mon Aug 14 11:36:06 2006 Makefile.PL Mon Aug 14 11:36:06 2006 Makefile.PL Mon Aug 14 11:36:06 2006 blibdirs target does not exist IP.pm Wed Jun 06 16:43:38 2007 pm_to_blib target does not exist cp IP.pm blib\lib\NetAddr\IP.pm AutoSplitting blib\lib\NetAddr\IP.pm (blib\lib\auto\NetAddr\IP) nmake -f Makefile all -nologo cp Lite.pm ..\blib\lib\NetAddr\IP\Lite.pm nmake -f Makefile all -nologo ./siteconf "cl" ".c" ".obj" ".exe" "-nologo -GF -W3 -MD -Zi -D +NDEBUG -Ox -GL -Wp64 -fp:precise -DWIN32 -D_CONSOL E -DNO_STRICT -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE -DNO_HASH_SEED +-DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_I MPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX +" "" "oldnames.lib kernel32.lib user32.lib gdi32.l ib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleau +t32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib bufferoverflowU.lib msv +crt.lib" '.' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: '.' : return code '0x1' Stop. NMAKE : fatal error U1077: 'E:\SDK2003\Bin\nmake.exe' : return code '0 +x2' Stop. cd .. Makefile Tue Jan 22 11:38:27 2008 IP.pm Wed Jun 06 16:43:38 2007 htmlifypods target does not exist makemakerdflt target does not exist
I can see where in the Makefile.PL the siteconf line comes from, but I don't see where there is a "." that would be setting off an error. Even trying to run nmake with the IGNORE option did not work, it seemed as if running it with /I would allow it to ignore "." errors, but there must be something I am missing. Here is the siteconf line from the Makefile.PL.
localStuff.h : ./siteconf "$(CC)" ".c" "$(OBJ_EXT)" "$(EXE_EXT)" "$(CCFLAGS)" "$( +LDflags)" "$(LDLOADLIBS)" |; }
Does anyone have a clearer picture than me on where the error is coming from?
Thanks
|
|---|