Problems Installing DBD::MySQL
From: Tony McCray (mccraya_at_cecs.pdx.edu)
Date: 12/24/04
- Next message: David N Murray: "Re: Problems Installing DBD::MySQL"
- Previous message: Owen: "DBD::SQLite and bind?"
- Next in thread: David N Murray: "Re: Problems Installing DBD::MySQL"
- Reply: David N Murray: "Re: Problems Installing DBD::MySQL"
- Reply: Lincoln A. Baxter: "Re: Problems Installing DBD::MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dbi-users@perl.org Date: Thu, 23 Dec 2004 18:07:55 -0800
I'm trying to install DBD::MySQL onto a SUSE Linux machine with the
2.4.19 kernel. I have perl 5.8.6 built for i686-linux and mysql Ver 14.7
Distribution 4.1.7 for pc-linux (i686). I have tried everything I can
find on this and other lists to try, and as far as I can tell I have
everything installed that I need. Here is what happens when I perl
Makefile.PL/make:
perl Makefile.PL
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/include/mysql -mcpu=i486
-fno-strength-reduce
libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lcrypt
-lnsl -lm -lz -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files
-lnss_dns -lresolv
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Using DBI 1.46 (for perl 5.008 on i586-linux-thread-multi) installed in
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql
------------------------
make
cc -c
-I/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI/
-I/usr/include/mysql -mcpu=i486 -fno-strength-reduce -D_REENTRANT
-D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 --pipe -DVERSION=\"2.9004\"
-DXS_VERSION=\"2.9004\" -fPIC
"-I/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE" dbdimp.c
cc -c
-I/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI/
-I/usr/include/mysql -mcpu=i486 -fno-strength-reduce -D_REENTRANT
-D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 --pipe -DVERSION=\"2.9004\"
-DXS_VERSION=\"2.9004\" -fPIC
"-I/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared
dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so
-L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -lz -lc -lnss_files
-lnss_dns -lresolv
-lc -lnss_files -lnss_dns -lresolv
/usr/lib/gcc-lib/i486-suse-linux/3.2.2/../../../../i486-suse-linux/bin/ld: cannot find -lnss_files
collect2: ld returned 1 exit status
chmod 755 blib/arch/auto/DBD/mysql/mysql.so
chmod: failed to get attributes of `blib/arch/auto/DBD/mysql/mysql.so':
No such file or directory
make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1
- Next message: David N Murray: "Re: Problems Installing DBD::MySQL"
- Previous message: Owen: "DBD::SQLite and bind?"
- Next in thread: David N Murray: "Re: Problems Installing DBD::MySQL"
- Reply: David N Murray: "Re: Problems Installing DBD::MySQL"
- Reply: Lincoln A. Baxter: "Re: Problems Installing DBD::MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|