[Pdx-pm] DBD::mysql cont.
James marks
jamarks at jamarks.com
Tue Mar 30 02:03:02 CST 2004
Went to the build directory, tried "perl Makefile.PL" then "make" and
got the following:
[iMac:~/.cpan/build/DBD-mysql-2.9003] jamesmar% ls -l
total 1088
-rwxr-xr-x 1 500 500 39568 26 Oct 19:25 ChangeLog
-rwxr-xr-x 1 500 500 26305 26 Oct 19:33 INSTALL.html
-rwxr-xr-x 1 500 500 522 15 Jun 2003 MANIFEST
-rwxr-xr-x 1 500 500 31 17 Mar 2003 MANIFEST.SKIP
-rw-r--r-- 1 root 500 27952 29 Mar 22:18 Makefile
-rwxr-xr-x 1 500 500 8955 17 Oct 10:20 Makefile.PL
-rwxr-xr-x 1 500 500 2716 17 Mar 2003 README
-rw-r--r-- 1 500 500 896 15 Jun 2003 TODO
drwxr-xr-x 8 root 500 272 29 Mar 22:18 blib
-rw-r--r-- 1 root 500 0 29 Mar 22:18 blibdirs
-rwxr-xr-x 1 500 500 1937 17 Mar 2003 constants.h
-rwxr-xr-x 1 500 500 68120 17 Oct 10:20 dbdimp.c
-rwxr-xr-x 1 500 500 6115 17 Oct 10:20 dbdimp.h
-rw-r--r-- 1 root 500 117632 29 Mar 22:18 dbdimp.o
drwxr-xr-x 6 500 500 204 26 Oct 19:33 lib
-rwxr-xr-x 1 500 500 1419 7 Aug 2003 myld
-rw-r--r-- 1 root 500 0 29 Mar 22:18 mysql.bs
-rw-r--r-- 1 root 500 43021 29 Mar 22:18 mysql.c
-rw-r--r-- 1 root 500 144872 29 Mar 22:18 mysql.o
-rwxr-xr-x 1 500 500 8691 17 Oct 10:20 mysql.xs
-rw-r--r-- 1 root 500 17763 29 Mar 22:18 mysql.xsi
-rw-r--r-- 1 root 500 0 29 Mar 22:18 pm_to_blib
drwxr-xr-x 23 500 500 782 26 Oct 19:33 t
[iMac:~/.cpan/build/DBD-mysql-2.9003] jamesmar% perl Makefile.PL
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
Can't exec "mysql_config": No such file or directory at Makefile.PL
line 174.
readline() on closed filehandle PIPE at Makefile.PL line 176.
I will use the following settings for compiling and testing:
cflags (guessed) = -I/usr/local/mysql/include
libs (guessed) = -L/usr/local/mysql/lib -lmysqlclient -lz
-lgz
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'.
Failed to create t/mysql.mtest: Permission denied at Makefile.PL line
62.
[iMac:~/.cpan/build/DBD-mysql-2.9003] jamesmar% make
touch: blibdirs: Permission denied
make: *** [blibdirs] Error 1
[iMac:~/.cpan/build/DBD-mysql-2.9003] jamesmar%
James
On Mar 29, 2004, at 11:26 PM, Chris Dawson wrote:
> Take a look in the ~.cpan/build directory and enter the DBD-mysql
> directory (command line: "cd ~/.cpan/build/" from a terminal window).
> Then type make and let us know more about what the build problem is.
> I am sure there is nothing wrong with the CPAN version; this is one of
> the most commonly used modules in perl so it is very unlikely a broken
> version would be checked in. You do have mysql installed on the
> machine which you are building the DBD-mysql driver, right? I think
> building DBD-mysql requires header files from the mysql sources. But,
> hard to tell without more information from you.
>
> Chris
>
> James marks wrote:
>
>> Regarding my previous post of the same subject, I probably should
>> have mentioned that I'm on a Mac G4/OS10.3.2 running Perl 5.8.1
>>
>> Thanks!
>>
>> James
>>
>> _______________________________________________
>> Pdx-pm-list mailing list
>> Pdx-pm-list at mail.pm.org
>> http://mail.pm.org/mailman/listinfo/pdx-pm-list
>
>
More information about the Pdx-pm-list
mailing list