List:MySQL and Perl« Previous MessageNext Message »
From:Michael Widenius Date:June 28 1999 4:27pm
Subject:Re: How to build DBD-MySQL
View as plain text  
>>>>> "Christopher" == Christopher R Jones <cj@stripped> writes:

>> Hi!
>> 
>> What kind of errors?
>> 
>> Please repost with mysqlbug script + a full example of your problem,
>> including a full test that also shows any possible error messages.
>> 
>> We need more information about your MySQL version and OS to be able to
>> help you.
>> 
>> You can find information how to do a correct bug report at:
>> 
>> http://www.tcx.se/Manual_chapter/manual_Questions.html#Asking_questions
>> 
>> PLEASE read the above before reposting your question, this will save us all
>> a lot of time!
>> 
>> Sorry for the short answer, but as we get a couple of hundred mails/day
>> we don't have time to answer questions that are already documented
>> or doesn't contain all information needed to give a quick exact answer.
>> 

Christopher> Note, mysqlbug script not included with Windows release version.

ok.

Christopher> Version: Ver 7.8 Distrib 3.22.20 Win95/95 on i586, binary install
Christopher> Installed: server, not client

Christopher> Computer: 180 Pentium Pro, 64 Mbytes ram

Christopher> MySQL installation: c:\mysql

Christopher> Problem: building Msql-MySQL-modules-1.2200

Christopher> Compiler: VC++ 6.0

Christopher> Perl version: Activestate build APi509e

Christopher> Some directories:
Christopher> c:\apps\perl
Christopher> c:\apps\perl\bin
Christopher> c:\apps\perl\lib
Christopher> c:\apps\perl\moduleinstall\Msql-MySQL-modules-1.2200

Christopher> c:\Program Files\Microsoft Visual Studio\VC98\lib  
Christopher> c:\Program Files\Microsoft Visual Studio\VC98\include
Christopher> c:\Program Files\Microsoft Visual Studio\VC98\mfc\lib
Christopher> c:\Program Files\Microsoft Visual Studio\VC98\mfc\include

Christopher> Environment:
Christopher>
> INCLUDE=C:\PROGRA~1\MICROS~3\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~3\VC98\INCL
Christopher> UDE;C:\PROGRA~1\MICROS~3\VC98\MFC\INCLUDE;C:\Program Files\Microsoft
> Visual
Christopher> Studio\VC98\atl\include;C:\Program Files\Microsoft Visual
Christopher> Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual
> Studio\VC98\include
Christopher>
> LIB=C:\PROGRA~1\MICROS~3\VC98\LIB;C:\PROGRA~1\MICROS~3\VC98\MFC\LIB;C:\Progr
Christopher> am Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft
Christopher> Visual Studio\VC98\lib
Christopher> LOGONSERVER=\\CRJNT1
Christopher> MSDevDir=C:\PROGRA~1\MICROS~3\Common\msdev98
Christopher> MSVCDir=C:\PROGRA~1\MICROS~3\VC98
Christopher>
> Path=C:\PROGRA~1\MICROS~3\Common\msdev98\BIN;C:\PROGRA~1\MICROS~3\VC98\BIN;C
Christopher>
> :\PROGRA~1\MICROS~3\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~3\Common\TOOLS;C:\
Christopher>
> BAT;C:\apps\MSOffice\Office;C:\apps\Perl\bin;C:\WINNT\system32;C:\WINNT;C:\a
Christopher> pps\ULTRAEDT;C:\apps\PDM\PDM plugins\bin;C:\Program Files\Microsoft
> Visual
Christopher> Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Christopher> Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Christopher> Studio\Common\Tools;C:\Program Files\Microsoft Visual
Christopher>
> Studio\VC98\bin;c:\apps\bc5\bin;c:\mysql\bin;c:\apps\jdk1.1.5\bin;;D:\APPS\B
Christopher> RIEF;d:\doe21e;E:\APPS\CBIP2;

Christopher> Process:
Christopher> cd \apps\perl\moduleinstall\Msql-MySQL-modules-1.2200
Christopher> perl Makefile.pl
Christopher> 1] Mysql only
Christopher> Building mysqlperl emulation - No
Christopher> Warning prerequisite DBI 1.08 not found at (eval 9) line 226 
Christopher> Warning prerequisite Data:ShowTable 0 not found at (eval 9) line 226 

Christopher> Note (probably harmless): No library found for '-lm'
Christopher> Note (probably harmless): No library found for 'oldnames.lib'
Christopher> Note (probably harmless): No library found for 'kernel32.lib'
Christopher> Note (probably harmless): No library found for 'user32.lib'
Christopher> Note (probably harmless): No library found for 'gdi32.lib'
Christopher> Note (probably harmless): No library found for 'winspool.lib'
Christopher> Note (probably harmless): No library found for 'comdlg32.lib'
Christopher> Note (probably harmless): No library found for 'advapi32.lib'
Christopher> Note (probably harmless): No library found for 'shell32.lib'
Christopher> Note (probably harmless): No library found for 'ole32.lib'
Christopher> Note (probably harmless): No library found for 'oleaut32.lib'
Christopher> Note (probably harmless): No library found for 'netapi32.lib'
Christopher> Note (probably harmless): No library found for 'uuid.lib'
Christopher> Note (probably harmless): No library found for 'wsock32.lib'
Christopher> Note (probably harmless): No library found for 'mpr.lib'
Christopher> Note (probably harmless): No library found for 'winmm.lib'
Christopher> Note (probably harmless): No library found for 'version.lib'
Christopher> Note (probably harmless): No library found for 'odbc32.lib'
Christopher> Note (probably harmless): No library found for 'odbccp32.lib'
Christopher> Using DBI 1.06 installed in C:\apps\Perl\site\lib/auto/DBI
Christopher> Writing Makefile for DBD::mysql
Christopher> Writing Makefile for Msql-Mysql-modules

Christopher> nmake
Christopher> Compiles okay
Christopher> Linker errors:

Christopher> 	link -out:..\blib\arch\auto\DBD\mysql\mysql.dll -dll -nologo
> -nodefaultlib
Christopher> -release -machine:x86 dbdimp.obj  mysql.obj -LC:/mysql/lib/opt
Christopher> C:\apps\Perl\lib\CORE\perlCAPI.lib C:\mysql\lib\opt\mysqlclient.lib
Christopher> C:\mysql\lib\opt\zlib.lib C:\apps\Perl\lib\core\PerlCRT.lib  libc.lib
Christopher> -def:mysql.def
Christopher> LINK : warning LNK4044: unrecognized option "LC:/mysql/lib/opt"; ignored
Christopher>    Creating library ..\blib\arch\auto\DBD\mysql\mysql.lib and object
Christopher> ..\blib\arch\auto\DBD\mysql\mysql.exp

<cut>

Christopher> I hope I have included enough info.

Christopher> Thanks very much for all your help.

Hi!

Sorry, but I have never tried to build MySQL-Win32 with Activestate
perl.

On the other hand, the newest Activestate Perl distribution should
include the newest DBI and DBD mysql-modules !  Can you try to
download the newest Activestate perl version and test this!

Yours,
Monty

*************** Warning commercial signature follows **********
If you like TCX's concept of a 'mostly free' database and free
advice, you should at least CONSIDER supporting us that we can
afford to keep this service up.   http://www.mysql.com/

Thread
Re: How to build DBD-MySQLMichael Widenius28 Jun
Re: How to build DBD-MySQLJochen Wiedmann1 Jul