Re: can not install latest DBI developer release with cpan on Win32
Jens Rehsack <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase.devel |
|---|---|
| Message-ID | <[email protected]> |
On 07/07/10 05:11, Steffen Winkler wrote: > cpan> install TIMB/DBI-1.611_93.tar.gz > Going to read 'D:\Perl\cpan\Metadata' > Database was generated on Mon, 05 Jul 2010 21:27:05 GMT > Running make for T/TI/TIMB/DBI-1.611_93.tar.gz Why are you using cpan? I think at first you should tell us something about your environment (ActiveState Perl or Strawberry Perl). [...] > D:\Perl\site\bin\g++.exe -out:blib\arch\auto\DBI\DBI.dll -mdll -L"D:\Perl\lib\CORE" DBI.o D:\Perl\lib\CORE\perl510.lib -lkernel32 -luser32 -lgdi32 -lwinspool > -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 -lmsvcrt -def:DBI.def > D:\Perl\site\lib\auto\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot open output file ut:blib\arch\auto\DBI\DBI.dll: Invalid argument Using 'g++' for linking instead of 'gcc'? Why do you do this? How did you setup your environment? Further it looks like 'g++' is called like 'cl2' (MSVC compiler/linker) - something in the detection of EU::MM seems to be wrong (good thing to be asked on #toolchain at irc.perl.org). Best regards, Jens