List:MySQL and Perl« Previous MessageNext Message »
From:Graeme Merrall Date:April 19 1999 8:57pm
Subject:RE: Need help with DBD::mysql
View as plain text  
> -----Original Message-----
> From: Michael Widenius [mailto:monty@stripped]
> Sent: Monday, 19 April 1999 21:25
> To: Graeme Merrall
> Subject: Need help with DBD::mysql
>
> Hi!
>
> I have seen this error a couple of times on some system but never
> found the reason for this.
>
> and let us see the log file. The output of perl -V might be helpfull,
> too.

I've attached it as a text file to preserve line wrapping. perl -V output is
appended to the bottom

Regards,
 Graeme


Checking for DBI, 0.93 or later ... ok
Checking for Data::Dumper ... ok
Checking for Data::ShowTable ... ok


Which DBMS do you want to use?

  1) MySQL
  2) mSQL (1 or 2)
  3) Both MySQL and mSQL

  4) mSQL1 and mSQL2
  5) Everything (MySQL, mSQL1 and mSQL2)

Enter your choice:  [1] 

Do you want to install the MysqlPerl emulation? You might keep your old
Mysql module (to be distinguished from DBD::mysql!) if you are concerned
about compatibility to existing applications! [n] Which database should I use for testing
the Mysql drivers? [test] On which host is database test running (hostname,  ip address
or host:port)
 [localhost] User name for connecting to database test? [undef] Password for connecting to
database test? [undef] Where is your mysql installed? Please tell me the directory that
contains
the subdir include/. [/usr/local/mysql] Creating Mysql files .....................
Checking if your kit is complete...
Looks good
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules
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
make[1]: Entering directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
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 mysql.pm ../blib/lib/DBD/mysql.pm
gcc -c -I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI
-I/usr/local/mysql/include/mysql -I../dbd 
-I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI -I/usr/lib/perl5/5.00503/i586-linux
-Dbool=char -DHAS_BOOL -I/usr/local/include -O2    -DVERSION=\"2.0217\"
-DXS_VERSION=\"2.0217\" -fpic -I/usr/lib/perl5/5.00503/i586-linux/CORE -DDBD_MYSQL
-DMyConnect=mysql_dr_connect -DMyLogin=mysql_dr_login dbdimp.c
perl -p -e "s/\~DRIVER\~/mysql/g" <
/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl -I/usr/lib/perl5/5.00503/i586-linux -I/usr/lib/perl5/5.00503
/usr/lib/perl5/5.00503/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.00503/ExtUtils/typemap
mysql.xs >xstmp.c && mv xstmp.c mysql.c
gcc -c -I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI
-I/usr/local/mysql/include/mysql -I../dbd 
-I/usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI -I/usr/lib/perl5/5.00503/i586-linux
-Dbool=char -DHAS_BOOL -I/usr/local/include -O2    -DVERSION=\"2.0217\"
-DXS_VERSION=\"2.0217\" -fpic -I/usr/lib/perl5/5.00503/i586-linux/CORE -DDBD_MYSQL
-DMyConnect=mysql_dr_connect -DMyLogin=mysql_dr_login mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
LD_RUN_PATH="/usr/local/mysql/lib/mysql:/lib:/usr/lib/gcc-lib/i486-linux/2.7.2.3" gcc -o
../blib/arch/auto/DBD/mysql/mysql.so  -shared -L/usr/local/lib dbdimp.o mysql.o
-L/usr/local/mysql/lib/mysql    -L/usr/local/mysql/lib/mysql -lmysqlclient -lm
-L/usr/lib/gcc-lib/i486-linux/2.7.2.3 -lgcc 
chmod 755 ../blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs ../blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 ../blib/arch/auto/DBD/mysql/mysql.bs
Manifying ../blib/man3/DBD::mysql.3
make[1]: Leaving directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
mkdir blib/script
cp dbimon blib/script/dbimon
/usr/bin/perl -I/usr/lib/perl5/5.00503/i586-linux -I/usr/lib/perl5/5.00503
-MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/dbimon
Manifying blib/man1/dbimon.1
make[1]: Entering directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
make[1]: Leaving directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
Installing /usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBD/mysql/mysql.so
Installing /usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBD/mysql/mysql.bs
Files found in blib/arch --> Installing files in blib/lib into architecture dependend
library tree!
Skipping /usr/lib/perl5/site_perl/5.005/i586-linux/DBD/mysql.pm (unchanged)
Installing /usr/man/man1/dbimon.1
Installing /usr/lib/perl5/5.00503/man/man3/DBD::mysql.3
Skipping /usr/bin/dbimon (unchanged)
Writing /usr/lib/perl5/site_perl/5.005/i586-linux/auto/Msql-Mysql-modules/.packlist
Appending installation info to /usr/lib/perl5/5.00503/i586-linux/perllocal.pod
make[1]: Entering directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
make[1]: Leaving directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
make[1]: Entering directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib
-I/usr/lib/perl5/5.00503/i586-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00base............install_driver(mysql) failed: Can't load
'../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: File not found at
/usr/lib/perl5/5.00503/i586-linux/DynaLoader.pm line 169.

 at (eval 1) line 3

 at t/00base.t line 38
dubious
	Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
	Failed 2/5 tests, 60.00% okay
t/10dsnlist.........install_driver(mysql) failed: Can't load
'../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: File not found at
/usr/lib/perl5/5.00503/i586-linux/DynaLoader.pm line 169.

 at (eval 1) line 3

 at t/10dsnlist.t line 45
dubious
	Test returned status 255 (wstat 65280, 0xff00)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/5.00503/Test/Harness.pm line 288.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/usr/src/Msql-Mysql-modules-1.2017/Mysql'
make: *** [test] Error 2
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.0.36, archname=i586-linux
    uname='linux mail2 2.0.36 #1 mon dec 14 23:46:11 nzdt 1998 i586 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O2', gccversion=2.7.2.3
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lndbm -lgdbm -ldbm -ldb -ldl -lm -lc
    libc=/lib/libc.so.6, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Apr  8 1999 15:38:16
  @INC:
    /usr/lib/perl5/5.00503/i586-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i586-linux
    /usr/lib/perl5/site_perl/5.005
    .

Thread
RE: Need help with DBD::mysqlGraeme Merrall20 Apr
Re: Need help with DBD::mysqlJochen Wiedmann20 Apr
  • RE: Need help with DBD::mysqlGraeme Merrall21 Apr
Re: Need help with DBD::mysqlJohn Lathrop21 Apr