bradcathey has asked for the wisdom of the Perl Monks concerning the following question:
orCan't exec "mysql_config": No such file or directory at Makefile.PL li +ne 169. readline() on closed filehandle PIPE at Makefile.PL line 171. Failed to determine directory of libmysqlclient.a|libmysqlclient.so. U +se perl Makefile.PL "--libs=-L<dir> -lmysqlclient"
My mysql_config file is in:perl Makefile.PL --cflags=-I<dir>
And I'm executing from:/Library/eSuite4X/MySQL4/bin
I have tried both:/Library/Perl/DBD-mysql-2.1028
andsudo perl Makefile.PL "--libs=-L/Library/eSuite4x/mysql4/bin/ -lmysqlc +lient"
where my *.h files reside. I've Googled and SuperSearched for examples of how to set this up, but nothing is working. BTW, working on Mac OS 10.3 and had no problem setting up the DBI only minutes earlier. It's probably just a path problem.sudo perl Makefile.PL --cflags=-/Library/eSuite4x/mysql4/developer/inc +lude/mysql/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with setting locations in Makefile.PL
by PodMaster (Abbot) on Nov 11, 2003 at 15:27 UTC | |
|
Re: Problem with setting locations in Makefile.PL
by hmerrill (Friar) on Nov 11, 2003 at 15:24 UTC | |
|
Re: Problem with setting locations in Makefile.PL
by bradcathey (Prior) on Nov 11, 2003 at 15:48 UTC | |
by hmerrill (Friar) on Nov 11, 2003 at 16:03 UTC |