Fwd: DBD::mysql Installation problem on MacOSX
am 29.08.2009 03:40:20 von Behzad Mahini--Apple-Mail-14-472397784
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
My email listed below got bounced back. Please take a look at and let
me know what your suggestion is.
Thanks,
Behzad
Begin forwarded message:
> From: Behzad Mahini
> Date: August 28, 2009 6:29:24 PM PDT
> To: patg@grazr.com
> Cc: Behzad Mahini
> Subject: DBD::mysql Installation problem on MacOSX
>
> Patrick,
>
> I am trying to install DBD::mysql driver on a MacOSX (OS 10.5.8),
> and it fails during test stage. Below is a detail listing of my perl
> version, and other pertinent information. Is the solution, simply to
> do the install and ignore the test phases of this module?
>
> I appreciate your help in advance.
>
> NOTES:
> ---------
> 1) In order to address my "test" phase (as per CPAN documentation
> recommendations) I followed the instructions for setting up the test
> database on MySQL, and my user/passwd is also set.
>
> 2) On MacOSX, there are no files corresponding to a MySQL client
> (i.e., mysqlclient, or a header file for a MySQL client). I also
> Googled MySQL site, and did not find anything addressing a MySQL
> client for MacOSX. I also, went to MySQL's download site (for
> MacOSX), and there is only one download tar.gz file, which does not
> include anything associated to a mysqlclient, or mysql_client file
> -- based on the table from the tar ball)!
>
>
> Details:
> ----------
>
> 1) MacOSX - 10.5.8
>
> 2) $ hostinfo
> Mach kernel version:
> Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009;
> root:xnu-1228.15.4~1/RELEASE_I386
> Kernel configured for up to 16 processors.
> 8 processors are physically available.
> 16 processors are logically available.
> Processor type: i486 (Intel 80486)
> Processors active: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
> Primary memory available: 24.00 gigabytes
> Default processor set: 58 tasks, 247 threads, 16 processors
> Load average: 0.20, Mach factor: 15.79
>
3a) Perl version: 5.8.8
>
> 3b) Using a configure/RUN file (I placed all my flags inside this
> file and executed it)...and my flags are as follows:
>
> perl Makefile.PL \
> --testuser='
> --testpassword='
> --mysql_config='/usr/bin/mysql_config'
>
>
> ...which resulted in the following error-related message:
>
> I will use the following settings for compiling and testing:
>
>
>
> cflags (mysql_config ) = -I/usr/include -fno-omit-frame-
> pointer -pipe -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -
> DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT
>
> embedded (mysql_config ) =
>
> libs (mysql_config ) = -pipe -L/usr/lib -lmysqlclient -lz
> -lm
>
> mysql_config (guessed ) = mysql_config
>
> nocatchstderr (default ) = 0
>
> nofoundrows (default ) = 0
>
> ssl (guessed ) = 0
>
> testdb (default ) =
>
> testhost (default ) =
>
> testpassword (User's choice) =
>
> testsocket (default ) =
>
> testuser (User's choice) =
>
>
>
> To change these settings, see 'perl Makefile.PL --help' and
>
> 'perldoc INSTALL'.
>
>
>
> Unrecognized argument in LIBS ignored: '-pipe'
>
> Note (probably harmless): No library found for -lmysqlclient
>
> Using DBI 1.52 (for perl 5.008008 on darwin-thread-multi-2level)
> installed in /System/Library/Perl/Extras/5.8.8/darwin-thread-
> multi-2level/auto/DBI/
>
> Writing Makefile for DBD::mysql
>
>
>
>
>
>
>
> Thanks,
>
> Behzad
>
>
>
>
--Apple-Mail-14-472397784--