Hi all,
I'm installing a new Mac (OS X 10.5, intel Pro chip) and transfering software from my old environment. I did install the gcc compiler make, lynx and wget because the CPAN installation needs them (or I do need them elsewhere later on).
MySQL is up and running, interactively I can see everything, Apache runs, PHP is configured, can access the MySQL databases(s) also, so that seems to be OK. Now I run into trouble when trying to install the DBD::mysql modules, it just shows me some compilation problems I can't directly find underneath. I split the install in three parts, made sure all the relevant directories in /usr/local are there, even ran perl with the sudo command to make sure there wasn't a nasty protection problem but it doesn't want to finish it correctly.
$ sudo perl -MCPAN -e shell
cpan> o conf
CPAN::Config options and /Users/wim/.cpan/CPAN/MyConfig.pm:
commit Commit changes to disk
defaults Reload defaults from disk
init Interactive setting of all options
build_cache 10
build_dir /Users/wim/.cpan/build
cache_metadata 1
cpan_home /Users/wim/.cpan
dontload_hash
ftp /usr/bin/ftp
ftp_proxy
getcwd cwd
gpg
gzip /usr/bin/gzip
histfile /Users/wim/.cpan/histfile
histsize 100
http_proxy
inactivity_timeout 0
index_expire 1
inhibit_startup_message 0
keep_source_where /Users/wim/.cpan/sources
lynx /usr/local/bin/lynx
make /usr/bin/make
make_arg
make_install_arg
makepl_arg PREFIX=/usr/local
ncftp
ncftpget
no_proxy
pager more
prerequisites_policy ask
scan_cache atstart
shell /bin/bash
tar /usr/bin/tar
term_is_latin 1
unzip /usr/bin/unzip
urllist
ftp://download.xs4all.nl/pub/mirror/CPAN/
wget /usr/local/bin/wget
cpan> install DBI
cpan> install Data::ShowTable
cpan> install DBD::mysql
This last one consistently runs into problems, I took the last part to show to you:
(lots of texts deleted)
Manifying blib/man3/Bundle::DBD::mysql.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/a
+rch')" t/*.t
t/00base....................ok 1/6
# Failed test 'use DBD::mysql;'
# in t/00base.t at line 21.
# Tried to use 'DBD::mysql'.
# Error: Can't load '/Users/wim/.cpan/build/DBD-mysql-4.010/blib/arch/auto/DBD/mysql/mysql.bun
+dle' for module DBD::mysql: dlopen(/Users/wim/.cpan/build/DBD-mysql-4.010/blib/arch/auto/DBD/mysql
+/mysql.bundle, 2): Symbol not found: _is_prefix
# Referenced from: /Users/wim/.cpan/build/DBD-mysql-4.010/blib/arch/auto/DBD/mysql/mysql.bundle
# Expected in: dynamic lookup
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/00base.t line 21.
t/00base....................NOK 2FAILED--Further testing stopped: Unable to load DBD::mysql
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Can't find it, checked all I knew, did this before with older versions never a problem, especially the part on "Symbol not found: _is_prefix" worries me, but I can be wrong.
Any suggestions ?
Regards,
Wim van Dommelen.