2 messages in com.mysql.lists.perlCan't compile on Win32| From | Sent On | Attachments |
|---|---|---|
| Halasz, Steve | 20 Apr 2000 12:57 | |
| Halasz, Steve | 20 Apr 2000 13:49 |
| Subject: | Can't compile on Win32![]() |
|---|---|
| From: | Halasz, Steve (sk...@cornell.edu) |
| Date: | 04/20/2000 12:57:13 PM |
| List: | com.mysql.lists.perl |
Hi,
I'm trying to compile the DBD::mysql module on Windows NT4 sp5 with Perl 5.6 and VC++ 5. I applied the Liblist.pm patch suggested in the README. I am using the MySQL 3.23.14 client libraries in C:\mysql. I compiled Perl with VC++ 5 as well. Here's what happens:
mkdir blib mkdir blib\lib mkdir blib\arch mkdir blib\arch\auto mkdir blib\arch\auto\Msql-Mysql-modules mkdir blib\lib\auto mkdir blib\lib\auto\Msql-Mysql-modules mkdir blib\man1 mkdir ..\blib\lib\DBD mkdir ..\blib\arch\auto\DBD mkdir ..\blib\arch\auto\DBD\mysql mkdir ..\blib\lib\auto\DBD mkdir ..\blib\lib\auto\DBD\mysql mkdir ..\blib\man3 cp lib/DBD/mysql.pm ..\blib\lib\DBD\mysql.pm cp lib/Mysql/Statement.pm ..\blib\lib\Mysql\Statement.pm cp lib/Bundle/DBD/mysql.pm ..\blib\lib\Bundle\DBD\mysql.pm cp lib/Mysql.pm ..\blib\lib\Mysql.pm cl -c -Ic:/perl/site/5.6.0/lib/MSWin32-x86/auto/DBI -IC:/mysql/include -I../dbd -Ic:\perl\site\5.6.0\lib\MSWin32-x86/auto/DBI -Ic:\perl\5.6.0\lib\MSWin32-x86 -Od -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL_MSVCRT_READFIX -Od -MD -DNDEBUG -DVERSION=\"2.0413\" -DXS_VERSION=\"2.0413\" -IC:\perl\5.6.0\lib\MSWin32-x86\CORE -DDBD_MYSQL -DWIN32 dbdimp.c dbdimp.c C:\perl\5.6.0\bin\MSWin32-x86\perl.exe -p -e "s/~DRIVER~/mysql/g" < c:/perl/site/5.6.0/lib/MSWin32-x86/auto/DBI/Driver.xst > mysql.xsi C:\perl\5.6.0\bin\MSWin32-x86\perl.exe -Ic:\perl\5.6.0\lib\MSWin32-x86 -Ic:\perl\5.6.0\lib C:\perl\5.6.0\lib\ExtUtils/xsubpp -typemap C:\perl\5.6.0\lib\ExtUtils\typemap mysql.xs > mysql.xsc && C:\perl\5.6.0\bin\MSWin32-x86\perl.exe -Ic:\perl\5.6.0\lib\MSWin32-x86 -Ic:\perl\5.6.0\lib -MExtUtils::Command -e mv mysql.xsc mysql.c cl -c -Ic:/perl/site/5.6.0/lib/MSWin32-x86/auto/DBI -IC:/mysql/include -I../dbd -Ic:\perl\site\5.6.0\lib\MSWin32-x86/auto/DBI -Ic:\perl\5.6.0\lib\MSWin32-x86 -Od -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DPERL_MSVCRT_READFIX -Od -MD -DNDEBUG -DVERSION=\"2.0413\" -DXS_VERSION=\"2.0413\" -IC:\perl\5.6.0\lib\MSWin32-x86\CORE -DDBD_MYSQL -DWIN32 mysql.c mysql.c "Running Mkbootstrap for DBD::mysql ()" C:\perl\5.6.0\bin\MSWin32-x86\perl.exe -Ic:\perl\5.6.0\lib\MSWin32-x86 -Ic:\perl\5.6.0\lib -MExtUtils::Command -e chmod 644 mysql.bs C:\perl\5.6.0\bin\MSWin32-x86\perl.exe "-Ic:\perl\5.6.0\lib\MSWin32-x86" "-Ic:\perl\5.6.0\lib" -MExtUtils::Mksymlists -e "Mksymlists('NAME' => 'DBD::mysql', 'DLBASE' => 'mysql', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:..\blib\arch\auto\DBD\mysql\mysql.dll -dll -nologo -nodefaultlib -release -libpath:"c:\perl\5.6.0\lib\MSWin32-x86\CORE" -machine:x86 dbdimp.obj mysql.obj -LC:/mysql/lib/opt C:\perl\5.6.0\lib\MSWin32-x86\CORE\perl56.lib C:\mysql\lib\opt\mysqlclient.lib C:\mysql\lib\opt\zlib.lib "d:\program files\vc\lib\msvcrt.lib" "d:\program files\vc\lib\libc.lib" "d:\program files\vc\lib\oldnames.lib" "d:\program files\vc\lib\kernel32.lib" "d:\program files\vc\lib\user32.lib" "d:\program files\vc\lib\gdi32.lib" "d:\program files\vc\lib\winspool.lib" "d:\program files\vc\lib\comdlg32.lib" "d:\program files\vc\lib\advapi32.lib" "d:\program files\vc\lib\shell32.lib" "d:\program files\vc\lib\ole32.lib" "d:\program files\vc\lib\oleaut32.lib" "d:\program files\vc\lib\netapi32.lib" "d:\program files\vc\lib\uuid.lib" "d:\program files\vc\lib\wsock32.lib" "d:\program files\vc\lib\mpr.lib" "d:\program files\vc\lib\winmm.lib" "d:\program files\vc\lib\version.lib" "d:\program files\vc\lib\odbc32.lib" "d:\program files\vc\lib\odbccp32.lib" "d:\program files\vc\lib\msvcrt.lib" -def:mysql.def LINK : warning LNK4044: unrecognized option "LC:/mysql/lib/opt"; ignored
LINK : error : Internal error during Pass1
Then NMAKE dies with fatal error U1077. Any help will be very appreciated.
-Steve




