N
Niall
I am running ActiveState Perl 5.8.3 on windows 2000.
I have tried to install the DBI module and appear to have problems du
to spaces in the pathname of nmake.exe and the compiler / linker.
I have both Visual Studio 6 and Visual Studio .Net installed and on
trying
cpan> install DBI
I get the following (after the extraction / copying of the files)
<snip>
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
C:\Perl\bin\perl.exe -MExtUtils::Command -e cp dbiproxy
blib\script\dbiproxy
pl2bat.bat blib\script\dbiproxy
C:\Program Files\Microsoft Visual Studio\VC98\bin\nmake.EXE -- OK
Running make test
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Microsoft Visual Studio\VC98\bin\nmake.EXE test --
NOT OK
Running make install
make test had returned bad status, won't install without force
<end>
Can someone please give advice as to how I pick up the correct
environment for the make / linker / compiler etc ?
Perl -V returns me the following
<snip>
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf
-libpath:"C:\Perl\lib\CORE" -machine:x86'
libpth=C:\PROGRA~1\MICROS~3\VC98\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib
version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.
lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib
version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
gnulibc_version='undef'
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug
-opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86
'
<end>
Thanks
I have tried to install the DBI module and appear to have problems du
to spaces in the pathname of nmake.exe and the compiler / linker.
I have both Visual Studio 6 and Visual Studio .Net installed and on
trying
cpan> install DBI
I get the following (after the extraction / copying of the files)
<snip>
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
C:\Perl\bin\perl.exe -MExtUtils::Command -e cp dbiproxy
blib\script\dbiproxy
pl2bat.bat blib\script\dbiproxy
C:\Program Files\Microsoft Visual Studio\VC98\bin\nmake.EXE -- OK
Running make test
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Microsoft Visual Studio\VC98\bin\nmake.EXE test --
NOT OK
Running make install
make test had returned bad status, won't install without force
<end>
Can someone please give advice as to how I pick up the correct
environment for the make / linker / compiler etc ?
Perl -V returns me the following
<snip>
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf
-libpath:"C:\Perl\lib\CORE" -machine:x86'
libpth=C:\PROGRA~1\MICROS~3\VC98\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib
version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.
lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib
version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib
gnulibc_version='undef'
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug
-opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86
'
<end>
Thanks