Sherm, Sorry to be such a PIA but something is not working. Here is the output of mysql_config:
TomMcDonough:local/mysql/bin] tom% sh mysql_config --cflags -I/usr/local/mysql/include/mysql -fno-omit-frame-pointer [TomMcDonough:local/mysql/bin] tom% sh mysql_config --libs -L/usr/local/mysql/lib/mysql -lmysqlclient -lm ../zlib/libz.la mysql_config is here: /usr/local/mysql-standard-4.1.7-apple-darwin7.5.0-powerpc/bin or more simply /usr/local/mysqlc/bin And here is my makefile.pl command: [TomMcDonough:~/desktop/dbd-mysql-2.9004] tom% perl makefile.pl --cflags='-I/usr/local/mysql/include/mysql -fno-omit-frame-pointer' --libs='-L/usr/local/mysql/lib/mysql -lmysqlclient -lm ../zlib/libz.la' And the results: 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. line 174 reads: open(PIPE, "mysql_config --$param |"); I've never opened a shell script in a perl program but to get results from mysql_config I have to do this: % sh /usr/local/mysql/bin/mysql_config --cflags Calling mysql_config from the command line does not work. Do I have to go into Makefile.PL and make a change? Heaven forbid! Tom --- Sherm Pendley <[EMAIL PROTECTED]> wrote: > On Nov 22, 2004, at 1:13 PM, Tom McDonough wrote: > > > I've read the INSTALL.html but I'm a stranger to > > making files. I thought I could "tell it where > to > > find it" by following the instructions from your > post > > of 26 Feb 2004 but it still didn't find > mysql_config. > > A few more hints would be appreciated. > > Sorry, I misremembered the process. I thought you > could tell > Makefile.PL where to find mysql_config, but you > can't. You need to run > mysql_config yourself, and pass the options it lists > to Makefile.PL. > :-( > > The post you're referring to is correct: > > > So, you might try running 'mysql_config --libs' > and 'mysql_config > > --cflags' yourself, and passing the options it > shows you to > > Makefile.PL. On my system the result is something > like this: > > > > perl Makefile.PL \ > > --testdb=test \ > > --testuser=XXXX \ > > --testpassword=XXXX \ > > --cflags='-I/usr/local/mysql/include -O3 > -fno-omit-frame-pointer' \ > > --libs='-L/usr/local/mysql/lib -lmysqlclient -lz > -lm' > > So, like I said, run "mysql_config --cflags": > > root# > /usr/local/mysql-standard-4.0.21-apple-darwin7.5.0-powerpc/bin/ > > mysql_config --cflags > > And take note of what it prints out: > > > -I/usr/local/mysql-standard-4.0.21-apple-darwin7.5.0-powerpc/include > > -fno-omit-frame-pointer > > Then use that in the --cflags option you pass to > "perl Makefile.PL". > Repeat to get the "--libs" option. > > sherm-- > > __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com