List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:April 16 2001 1:40pm
Subject:Re: Mysql and Perl DBI
View as plain text  
Use only GCC-2.95.2

Gordon Stewart wrote:
> 
> I am running Redhat 7 and mysql and I have tried to install Msql-Mysql DBI
> module But I get errors when I do a make
> 
> I have enclosed a screen dump of the output I get.  I seams to be getting
> stuck with dbimon.  I have installed DBI-1-14.tar.gz.
> 
> 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
> Using DBI 1.14 installed in
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBI
> Writing Makefile for DBD::mysql
> Writing Makefile for Msql-Mysql-modules
> [gordon@fido Msql-Mysql-modules-1.2213]$ 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 -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux \
> -I/usr/lib/perl5/5.6.0 -Ilib -MExtUtils::PerlPP \
> -e ppp "dbd/dbimon.in" "dbimon" "lib/DBD/mysql/Install/Config.pm"
> /usr/bin/pod2text mysql/lib/DBD/mysql.pm >README
> make[1]: Entering directory `/home/gordon/Msql-Mysql-modules-1.2213/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
> gcc -c -I/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBI -I/usr/include/m
> ysql -I../dbd -I/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBI -I/usr/li
> b/perl5/5.6.0/i386-linux -fno-strict-aliasing -O2 -march=i386 -mcpu=i686
>  -DVERSION=\"2.0413\" -DXS_VERSION=\"2.0413\" -fPIC -I/usr/lib/perl5/5.6.0/i
> 386-linux/CORE -DDBD_MYSQL dbdimp.c
> /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" <
> /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBI/Driver.xst > mysql.xsi
> /usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0
> /usr/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap
> /usr/lib/perl5/5.6.0/ExtUtils/typemap mysql.xs > mysql.xsc && mv
> mysql.xsc
> mysql.c
> gcc -c -I/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBI -I/usr/include/m
> ysql -I../dbd -I/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBI -I/usr/li
> b/perl5/5.6.0/i386-linux -fno-strict-aliasing -O2 -march=i386 -mcpu=i686
>  -DVERSION=\"2.0413\" -DXS_VERSION=\"2.0413\" -fPIC -I/usr/lib/perl5/5.6.0/i
> 386-linux/CORE -DDBD_MYSQL mysql.c
> Running Mkbootstrap for DBD::mysql ()
> chmod 644 mysql.bs
> LD_RUN_PATH="/usr/lib/mysql:/lib:/usr/lib/gcc-lib/i386-redhat-linux/2.96"
> gcc -o ../blib/arch/auto/DBD/mysql/mysql.so  -shared -L/usr/local/lib
> dbdimp.o
> mysql.o -L/usr/lib/mysql    -L/usr/lib/mysql -lmysqlclient -lm -L/usr/lib/gc
> c-lib/i386-redhat-linux/2.96 -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.3pm
> Manifying ../blib/man3/Bundle::DBD::mysql.3pm
> Manifying ../blib/man3/Mysql.3pm
> make[1]: Leaving directory `/home/gordon/Msql-Mysql-modules-1.2213/mysql'
> mkdir blib/script
> cp dbimon blib/script/dbimon
> /usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -MExt
> Utils::MakeMaker -e "MY->fixin(shift)" blib/script/dbimon
> Manifying blib/man1/dbimon.1
> *** ERROR: unterminated C<...> at line 1426 in file dbimon
> *** ERROR: unterminated C<...> at line 1450 in file dbimon
> 
> Can any one help
> 
> Gordon
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread71505@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Thread
Mysql and Perl DBIGordon Stewart14 Apr
  • Re: Mysql and Perl DBIGerald Clark16 Apr