DBD install on Mac OSX 10.3.9
David Adelson <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <BE8D2990.7703%[email protected]> |
I am having problems getting DBD::mysql to install on my mac server:
angus.tamu.edu [~/.cpan/build/DBD-mysql-2.9006] % uname -a
Darwin angus.tamu.edu 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17
PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
angus.tamu.edu [~/.cpan/build/DBD-mysql-2.9006] % sw_vers
ProductName: Mac OS X Server
ProductVersion: 10.3.9
BuildVersion: 7W98
I have appended the relevant error messages below.
Any help will be appreciated.
Dave Adelson, Texas A&M University.
===================
Running install for module DBD::mysql
Running make for R/RU/RUDY/DBD-mysql-2.9006.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for
/private/var/root/.cpan/sources/authors/id/R/RU/RUDY/DBD-mysql-2.9006.tar.gz
ok
Scanning cache /private/var/root/.cpan/build for sizes
Deleting from cache: /private/var/root/.cpan/build/GD-SVG-0.25 (22.2>10.0
MB)
Deleting from cache: /private/var/root/.cpan/build/Data-Stag-0.08 (22.1>10.0
MB)
Deleting from cache: /private/var/root/.cpan/build/Compress-Zlib-1.34
(21.3>10.0 MB)
Deleting from cache: /private/var/root/.cpan/build/DBI-1.48 (19.7>10.0 MB)
Deleting from cache: /private/var/root/.cpan/build/DBD-mysql-2.9006
(16.2>10.0 MB)
Deleting from cache: /private/var/root/.cpan/build/MIME-Base64-3.05
(15.6>10.0 MB)
Deleting from cache: /private/var/root/.cpan/build/Digest-MD5-2.33
(15.4>10.0 MB)
Deleting from cache: /private/var/root/.cpan/build/libnet-1.19 (15.0>10.0
MB)
Deleting from cache: /private/var/root/.cpan/build/HTML-Tagset-3.04
(14.5>10.0 MB)
Deleting from cache: /private/var/root/.cpan/build/File-Temp-0.16 (14.5>10.0
MB)
Deleting from cache: /private/var/root/.cpan/build/PathTools-3.06 (14.3>10.0
MB)
Deleting from cache: /private/var/root/.cpan/build/IO-stringy-2.110
(13.6>10.0 MB)
Deleting from cache: /private/var/root/.cpan/build/IO-String-1.06 (13.2>10.0
MB)
Deleting from cache: /private/var/root/.cpan/build/HTML-Parser-3.45
(13.2>10.0 MB)
Deleting from cache: /private/var/root/.cpan/build/libwww-perl-5.803
(12.5>10.0 MB)
Deleting from cache: /private/var/root/.cpan/build/URI-1.35 (10.8>10.0 MB)
Deleting from cache: /private/var/root/.cpan/build/XML-Parser-2.34
(10.3>10.0 MB)
DBD-mysql-2.9006/
DBD-mysql-2.9006/t/
DBD-mysql-2.9006/t/mysql2.t
DBD-mysql-2.9006/t/akmisc.t
DBD-mysql-2.9006/t/60leaks.t
DBD-mysql-2.9006/t/10dsnlist.t
DBD-mysql-2.9006/t/ak-dbd.t
DBD-mysql-2.9006/t/50chopblanks.t
DBD-mysql-2.9006/t/mysql.t
DBD-mysql-2.9006/t/lib.pl
DBD-mysql-2.9006/t/40blobs.t
DBD-mysql-2.9006/t/40nulls.t
DBD-mysql-2.9006/t/insertid.t
DBD-mysql-2.9006/t/40listfields.t
DBD-mysql-2.9006/t/40bindparam.t
DBD-mysql-2.9006/t/mysql.dbtest
DBD-mysql-2.9006/t/dbdadmin.t
DBD-mysql-2.9006/t/20createdrop.t
DBD-mysql-2.9006/t/00base.t
DBD-mysql-2.9006/t/30insertfetch.t
DBD-mysql-2.9006/t/40numrows.t
DBD-mysql-2.9006/t/50commit.t
DBD-mysql-2.9006/MANIFEST
DBD-mysql-2.9006/myld
DBD-mysql-2.9006/dbdimp.c
DBD-mysql-2.9006/lib/
DBD-mysql-2.9006/lib/DBD/
DBD-mysql-2.9006/lib/DBD/mysql/
DBD-mysql-2.9006/lib/DBD/mysql/GetInfo.pm
DBD-mysql-2.9006/lib/DBD/mysql/INSTALL.pod
DBD-mysql-2.9006/lib/DBD/mysql.pm
DBD-mysql-2.9006/lib/Mysql/
DBD-mysql-2.9006/lib/Mysql/Statement.pm
DBD-mysql-2.9006/lib/Bundle/
DBD-mysql-2.9006/lib/Bundle/DBD/
DBD-mysql-2.9006/lib/Bundle/DBD/mysql.pm
DBD-mysql-2.9006/lib/Mysql.pm
DBD-mysql-2.9006/dbdimp.h
DBD-mysql-2.9006/mysql.xs
DBD-mysql-2.9006/MANIFEST.SKIP
DBD-mysql-2.9006/README
DBD-mysql-2.9006/INSTALL.html
DBD-mysql-2.9006/META.yml
DBD-mysql-2.9006/Makefile.PL
DBD-mysql-2.9006/ChangeLog
DBD-mysql-2.9006/constants.h
DBD-mysql-2.9006/TODO
CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9006.tar.gz
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/include/mysql -O3
-fno-omit-frame-pointer -arch i386 -arch ppc -pipe
libs (mysql_config) = -arch i386 -arch ppc -pipe -L/usr/lib/mysql
-lmysqlclient -lz -lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '-arch'
Unrecognized argument in LIBS ignored: 'i386'
Unrecognized argument in LIBS ignored: '-arch'
Unrecognized argument in LIBS ignored: 'ppc'
Unrecognized argument in LIBS ignored: '-pipe'
Using DBI 1.48 (for perl 5.008001 on darwin-thread-multi-2level) installed
in /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cc -c -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/
-I/usr/include/mysql -O3 -fno-omit-frame-pointer -arch i386 -arch ppc -pipe
-DDBD_MYSQL_INSERT_ID_IS_GOOD -g -g -pipe -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os
-DVERSION=\"2.9006\" -DXS_VERSION=\"2.9006\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" dbdimp.c
cc: cannot read specs file for arch `i386'
make: *** [dbdimp.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
--
Diplomacy is the art of saying 'Nice doggie' until you can find a rock.
Will Rogers
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/[email protected]