[Pdx-pm] DBD::mysql cont.
Austin Schutz
tex at off.org
Tue Mar 30 02:41:24 CST 2004
On Tue, Mar 30, 2004 at 12:03:02AM -0800, James marks wrote:
> 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
<snip>
Who is user 500? you? Hint, run 'id', look in /etc/passwd.
> -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.
<snip>
>
> 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.
That "permission denied" is trying to tell you something about your
permissions. Hint: most users can't touch most things owned by root or other
users.
> [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%
>
>
See the other note in this thread about setting your path to include
wherever mysql_config is hidden. you can do this either with the shell command
'find / -name mysql_config' or maybe with the apple file finder tool.
Austin
More information about the Pdx-pm-list
mailing list