List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:July 3 2001 12:53pm
Subject:Re: Problems installing Msql-Mysql-modules
View as plain text  
You are missing libz.

Vien Huynhle wrote:

> href="file://C:\Program Files\Common Files\Microsoft Shared\Stationery\">
> This is what I have done
> 
>  
> 
> [root@MySQL Msql-Mysql-modules-1.2216]# perl Makefile.PL
> Which drivers do you want to install?
> 
>  
> 
>     1)  MySQL only
>     2)  mSQL only (either of mSQL 1 or mSQL 2)
>     3)  MySQL and mSQL (either of mSQL 1 or mSQL 2)
> 
>  
> 
>     4)  mSQL 1 and mSQL 2
>     5)  MySQL, mSQL 1 and mSQL 2
> 
>  
> 
> Enter the appropriate number:  [3] q^H1
> Checking if your kit is complete...
> Looks good
> 
>  
> 
> [root@MySQL Msql-Mysql-modules-1.2216]# perl Makefile.PL
> Which drivers do you want to install?
> 
>  
> 
>     1)  MySQL only
>     2)  mSQL only (either of mSQL 1 or mSQL 2)
>     3)  MySQL and mSQL (either of mSQL 1 or mSQL 2)
> 
>  
> 
>     4)  mSQL 1 and mSQL 2
>     5)  MySQL, mSQL 1 and mSQL 2
> 
>  
> 
> Enter the appropriate number:  [3] 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]
> Where is your MySQL installed? Please tell me the directory that
> contains the subdir 'include'. [/usr/local]
> 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]
> Creating files for MySQL ....................
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -lgz
> Using DBI 1.18 installed in /usr/lib/perl5/site_perl/mips-linux/auto/DBI
> Writing Makefile for DBD::mysql
> Writing Makefile for Msql-Mysql-modules
> [root@MySQL Msql-Mysql-modules-1.2216]# make
> 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
> /usr/bin/perl -I./blib/arch -I./blib/lib 
> -I/usr/lib/perl5/mips-linux/5.00404 \
> -I/usr/lib/perl5 -Ilib -MExtUtils::PerlPP \
> -e ppp "dbd/dbimon.in" "dbimon" "lib/DBD/mysql/Install/Config.pm"
> PAGER=cat /usr/bin/perldoc mysql/lib/DBD/mysql.pm >README
> make[1]: Entering directory `/home/MYSQL/Msql-Mysql-modules-1.2216/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 lib/DBD/mysql.pm ..././blib/lib/DBD/mysql.pm
> cp lib/Bundle/DBD/mysql.pm ..././blib/lib/Bundle/DBD/mysql.pm
> cp lib/Mysql/Statement.pm ..././blib/lib/Mysql/Statement.pm
> cp lib/Mysql.pm ..././blib/lib/./Mysql.pm
> cc -c -I/usr/lib/perl5/site_perl/mips-linux/auto/DBI 
> -I/usr/local/include/mysql -I../dbd 
> -I/usr/lib/perl5/site_perl/mips-linux/auto/DBI 
> -I/usr/lib/perl5/mips-linux/5.00404 -Dbool=char -DHAS_BOOL 
> -I/usr/local/include -O2    -DVERSION=\"2.0416\" -DXS_VERSION=\"2.0416\" 
> -fpic -I/usr/lib/perl5/mips-linux/5.00404/CORE -DDBD_MYSQL dbdimp.c
> dbdimp.c: In function `MysqlReconnect':
> dbdimp.c:2157: warning: assignment from incompatible pointer type
> /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" < 
> /usr/lib/perl5/site_perl/mips-linux/auto/DBI/Driver.xst > mysql.xsi
> /usr/bin/perl -I/usr/lib/perl5/mips-linux/5.00404 -I/usr/lib/perl5 
> /usr/lib/perl5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/ExtUtils/typemap 
> mysql.xs >mysql.tc && mv mysql.tc mysql.c
> Warning: duplicate function definition 'rows' detected in mysql.xs, line 381
> cc -c -I/usr/lib/perl5/site_perl/mips-linux/auto/DBI 
> -I/usr/local/include/mysql -I../dbd 
> -I/usr/lib/perl5/site_perl/mips-linux/auto/DBI 
> -I/usr/lib/perl5/mips-linux/5.00404 -Dbool=char -DHAS_BOOL 
> -I/usr/local/include -O2    -DVERSION=\"2.0416\" -DXS_VERSION=\"2.0416\" 
> -fpic -I/usr/lib/perl5/mips-linux/5.00404/CORE -DDBD_MYSQL mysql.c
> Running Mkbootstrap for DBD::mysql ()
> chmod 644 mysql.bs
> LD_RUN_PATH="/usr/local/lib/mysql:/lib:/usr/lib:/usr/lib/gcc-lib/mipsel-linux/2.7.2"
> 
> cc -o .././blib/arch/auto/DBD/mysql/mysql.so  -shared -L/usr/local/lib 
> dbdimp.o mysql.o -L/usr/local/lib/mysql    -L/usr/local/lib/mysql 
> -lmysqlclient -lm -lz -L/usr/lib/gcc-lib/mipsel-linux/2.7.2 -lgcc
> ld: cannot open -lz: No such file or directory
> make[1]: *** [.././blib/arch/auto/DBD/mysql/mysql.so] Error 1
> make[1]: Leaving directory `/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'
> make: *** [subdirs] Error 2
> [root@MySQL Msql-Mysql-modules-1.2216]# make test
> make[1]: Entering directory `/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'
> LD_RUN_PATH="/usr/local/lib/mysql:/lib:/usr/lib:/usr/lib/gcc-lib/mipsel-linux/2.7.2"
> 
> cc -o .././blib/arch/auto/DBD/mysql/mysql.so  -shared -L/usr/local/lib 
> dbdimp.o mysql.o -L/usr/local/lib/mysql    -L/usr/local/lib/mysql 
> -lmysqlclient -lm -lz -L/usr/lib/gcc-lib/mipsel-linux/2.7.2 -lgcc
> ld: cannot open -lz: No such file or directory
> make[1]: *** [.././blib/arch/auto/DBD/mysql/mysql.so] Error 1
> make[1]: Leaving directory `/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'
> make: *** [subdirs] Error 2
> [root@MySQL Msql-Mysql-modules-1.2216]# make install
> make[1]: Entering directory `/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'
> LD_RUN_PATH="/usr/local/lib/mysql:/lib:/usr/lib:/usr/lib/gcc-lib/mipsel-linux/2.7.2"
> 
> cc -o .././blib/arch/auto/DBD/mysql/mysql.so  -shared -L/usr/local/lib 
> dbdimp.o mysql.o -L/usr/local/lib/mysql    -L/usr/local/lib/mysql 
> -lmysqlclient -lm -lz -L/usr/lib/gcc-lib/mipsel-linux/2.7.2 -lgcc
> ld: cannot open -lz: No such file or directory
> make[1]: *** [.././blib/arch/auto/DBD/mysql/mysql.so] Error 1
> make[1]: Leaving directory `/home/MYSQL/Msql-Mysql-modules-1.2216/mysql'
> make: *** [subdirs] Error 2
> 
> 
> Vien Huynhle
> Clearsail Communications
> 
>  


-- 
Gerald L. Clark
gerald_clark@stripped

Thread
Problems installing Msql-Mysql-modulesVien Huynhle2 Jul
  • Re: Problems installing Msql-Mysql-modulesGerald Clark3 Jul