osdir.com
mailing list archive

Subject: Request for information!!! - msg#00021

List: db.mysql.perl

Date: Prev Next Index Thread: Prev Next Index
Respected Sir,

Good Morning.
My name is Mahendra and I am a Systems Administrator.
So as not to waste your precious time I am directly coming to the point.
I am currently using latest RPM's of MySQL i.e

MySQL-shared-3.23.47-1
MySQL-server-4.0.17-0
Perl-DBD-MySQL-2.1021-3
MySQL-client-4.0.17-0

and when I am installing the latest DBD-MySQL perl module I am getting an error
mesage


""""

Can't exec "mysql_config": No such file or directory at Makefile.PL line 73.

Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 248.
I will use the following settings for compiling and testing:

cflags (Users choice) = -I
libs (guessed ) = -L/usr/lib -lmysqlclient -lz -lm -lcrypt -lnsl
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Multiple copies of Driver.xst found in:
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBI/ at
Makefile.PL line 395
Using DBI 1.48 (for perl 5.008 on i386-linux-thread-multi) installed in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::mysql

"""

Please help me in this regard.
Thank you,
Mahendra.
Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: DBD install on Mac OSX 10.3.9

Dave, When I began working with Perl and mySQL, I was surprised to find that DBD was not already there with OS X's Perl. I've installed it on 10.3.8, as well as Jaguar, and did not encounter this particular problem. I would question any reference to i386 - looks like a PC reference. Unfortunately, I didn't retain all the results as I stumbled my way along, but I suggest looking into the -arch reference - should '-arch i386 be there? I also found the following page that you might want to review (too bad there's no confirmation that it actually _works_.) http://www.codecomments.com/archive237-2004-11-323925.html Good luck. I hope you don't have a long succession of glitches like I did. Tom Register Begin forwarded message: From: David Adelson <david.adelson@xxxxxxxx> Date: April 21, 2005 10:57:36 AM EDT To: <msql-mysql-modules@xxxxxxxxxxxxxxx> Subject: DBD install on Mac OSX 10.3.9 I am having problems getting DBD::mysql to install on my mac server: angus.tamu.edu [~/.cpan/build/DBD-mysql-2.9006] % uname -a Darwin angus.tamu.edu 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc angus.tamu.edu [~/.cpan/build/DBD-mysql-2.9006] % sw_vers ProductName: Mac OS X Server ProductVersion: 10.3.9 BuildVersion: 7W98 I have appended the relevant error messages below. Any help will be appreciated. Dave Adelson, Texas A&M University. =================== Running install for module DBD::mysql Running make for R/RU/RUDY/DBD-mysql-2.9006.tar.gz CPAN: Digest::MD5 loaded ok Checksum for /private/var/root/.cpan/sources/authors/id/R/RU/RUDY/DBD-mysql -2.9006.tar.gz ok Scanning cache /private/var/root/.cpan/build for sizes Deleting from cache: /private/var/root/.cpan/build/GD-SVG-0.25 (22.2>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/Data-Stag-0.08 (22.1>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/Compress-Zlib-1.34 (21.3>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/DBI-1.48 (19.7>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/DBD-mysql-2.9006 (16.2>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/MIME-Base64-3.05 (15.6>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/Digest-MD5-2.33 (15.4>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/libnet-1.19 (15.0>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/HTML-Tagset-3.04 (14.5>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/File-Temp-0.16 (14.5>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/PathTools-3.06 (14.3>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/IO-stringy-2.110 (13.6>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/IO-String-1.06 (13.2>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/HTML-Parser-3.45 (13.2>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/libwww-perl-5.803 (12.5>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/URI-1.35 (10.8>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/XML-Parser-2.34 (10.3>10.0 MB) DBD-mysql-2.9006/ DBD-mysql-2.9006/t/ DBD-mysql-2.9006/t/mysql2.t DBD-mysql-2.9006/t/akmisc.t DBD-mysql-2.9006/t/60leaks.t DBD-mysql-2.9006/t/10dsnlist.t DBD-mysql-2.9006/t/ak-dbd.t DBD-mysql-2.9006/t/50chopblanks.t DBD-mysql-2.9006/t/mysql.t DBD-mysql-2.9006/t/lib.pl DBD-mysql-2.9006/t/40blobs.t DBD-mysql-2.9006/t/40nulls.t DBD-mysql-2.9006/t/insertid.t DBD-mysql-2.9006/t/40listfields.t DBD-mysql-2.9006/t/40bindparam.t DBD-mysql-2.9006/t/mysql.dbtest DBD-mysql-2.9006/t/dbdadmin.t DBD-mysql-2.9006/t/20createdrop.t DBD-mysql-2.9006/t/00base.t DBD-mysql-2.9006/t/30insertfetch.t DBD-mysql-2.9006/t/40numrows.t DBD-mysql-2.9006/t/50commit.t DBD-mysql-2.9006/MANIFEST DBD-mysql-2.9006/myld DBD-mysql-2.9006/dbdimp.c DBD-mysql-2.9006/lib/ DBD-mysql-2.9006/lib/DBD/ DBD-mysql-2.9006/lib/DBD/mysql/ DBD-mysql-2.9006/lib/DBD/mysql/GetInfo.pm DBD-mysql-2.9006/lib/DBD/mysql/INSTALL.pod DBD-mysql-2.9006/lib/DBD/mysql.pm DBD-mysql-2.9006/lib/Mysql/ DBD-mysql-2.9006/lib/Mysql/Statement.pm DBD-mysql-2.9006/lib/Bundle/ DBD-mysql-2.9006/lib/Bundle/DBD/ DBD-mysql-2.9006/lib/Bundle/DBD/mysql.pm DBD-mysql-2.9006/lib/Mysql.pm DBD-mysql-2.9006/dbdimp.h DBD-mysql-2.9006/mysql.xs DBD-mysql-2.9006/MANIFEST.SKIP DBD-mysql-2.9006/README DBD-mysql-2.9006/INSTALL.html DBD-mysql-2.9006/META.yml DBD-mysql-2.9006/Makefile.PL DBD-mysql-2.9006/ChangeLog DBD-mysql-2.9006/constants.h DBD-mysql-2.9006/TODO CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9006.tar.gz I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/include/mysql -O3 -fno-omit-frame-pointer -arch i386 -arch ppc -pipe libs (mysql_config) = -arch i386 -arch ppc -pipe -L/usr/lib/mysql -lmysqlclient -lz -lm mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testsocket (default ) = testuser (default ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: '-arch' Unrecognized argument in LIBS ignored: 'i386' Unrecognized argument in LIBS ignored: '-arch' Unrecognized argument in LIBS ignored: 'ppc' Unrecognized argument in LIBS ignored: '-pipe' Using DBI 1.48 (for perl 5.008001 on darwin-thread-multi-2level) installed in /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/ Writing Makefile for DBD::mysql cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm cp lib/Mysql.pm blib/lib/Mysql.pm cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cc -c -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/ -I/usr/include/mysql -O3 -fno-omit-frame-pointer -arch i386 -arch ppc -pipe -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"2.9006\" -DXS_VERSION=\"2.9006\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" dbdimp.c cc: cannot read specs file for arch `i386' make: *** [dbdimp.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible -- Diplomacy is the art of saying 'Nice doggie' until you can find a rock. Will Rogers -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/perl?unsub=tear88@xxxxxxxxxxxxx

Next Message by Date: click to view message preview

Re: DBD install on Mac OSX 10.3.9

At 12:14 PM -0400 4/21/05, Thomas Register wrote: Dave, When I began working with Perl and mySQL, I was surprised to find that DBD was not already there with OS X's Perl. DBI is not part of the Perl core module set, like thousands of other modules, and hence there's no reason it should be installed by default with Mac OS X client. That's what CPAN's for. OTOH, Mac OS X server does come with MySQL bundled, so I would expect DBI and DBD::MySQL to be installed by default there. I only use the client so I wouldn't know all thats on server. -- Darren Duncan -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@xxxxxxxxxxx

Previous Message by Thread: click to view message preview

DBD install on Mac OSX 10.3.9

I am having problems getting DBD::mysql to install on my mac server: angus.tamu.edu [~/.cpan/build/DBD-mysql-2.9006] % uname -a Darwin angus.tamu.edu 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc angus.tamu.edu [~/.cpan/build/DBD-mysql-2.9006] % sw_vers ProductName: Mac OS X Server ProductVersion: 10.3.9 BuildVersion: 7W98 I have appended the relevant error messages below. Any help will be appreciated. Dave Adelson, Texas A&M University. =================== Running install for module DBD::mysql Running make for R/RU/RUDY/DBD-mysql-2.9006.tar.gz CPAN: Digest::MD5 loaded ok Checksum for /private/var/root/.cpan/sources/authors/id/R/RU/RUDY/DBD-mysql-2.9006.tar.gz ok Scanning cache /private/var/root/.cpan/build for sizes Deleting from cache: /private/var/root/.cpan/build/GD-SVG-0.25 (22.2>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/Data-Stag-0.08 (22.1>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/Compress-Zlib-1.34 (21.3>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/DBI-1.48 (19.7>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/DBD-mysql-2.9006 (16.2>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/MIME-Base64-3.05 (15.6>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/Digest-MD5-2.33 (15.4>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/libnet-1.19 (15.0>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/HTML-Tagset-3.04 (14.5>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/File-Temp-0.16 (14.5>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/PathTools-3.06 (14.3>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/IO-stringy-2.110 (13.6>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/IO-String-1.06 (13.2>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/HTML-Parser-3.45 (13.2>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/libwww-perl-5.803 (12.5>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/URI-1.35 (10.8>10.0 MB) Deleting from cache: /private/var/root/.cpan/build/XML-Parser-2.34 (10.3>10.0 MB) DBD-mysql-2.9006/ DBD-mysql-2.9006/t/ DBD-mysql-2.9006/t/mysql2.t DBD-mysql-2.9006/t/akmisc.t DBD-mysql-2.9006/t/60leaks.t DBD-mysql-2.9006/t/10dsnlist.t DBD-mysql-2.9006/t/ak-dbd.t DBD-mysql-2.9006/t/50chopblanks.t DBD-mysql-2.9006/t/mysql.t DBD-mysql-2.9006/t/lib.pl DBD-mysql-2.9006/t/40blobs.t DBD-mysql-2.9006/t/40nulls.t DBD-mysql-2.9006/t/insertid.t DBD-mysql-2.9006/t/40listfields.t DBD-mysql-2.9006/t/40bindparam.t DBD-mysql-2.9006/t/mysql.dbtest DBD-mysql-2.9006/t/dbdadmin.t DBD-mysql-2.9006/t/20createdrop.t DBD-mysql-2.9006/t/00base.t DBD-mysql-2.9006/t/30insertfetch.t DBD-mysql-2.9006/t/40numrows.t DBD-mysql-2.9006/t/50commit.t DBD-mysql-2.9006/MANIFEST DBD-mysql-2.9006/myld DBD-mysql-2.9006/dbdimp.c DBD-mysql-2.9006/lib/ DBD-mysql-2.9006/lib/DBD/ DBD-mysql-2.9006/lib/DBD/mysql/ DBD-mysql-2.9006/lib/DBD/mysql/GetInfo.pm DBD-mysql-2.9006/lib/DBD/mysql/INSTALL.pod DBD-mysql-2.9006/lib/DBD/mysql.pm DBD-mysql-2.9006/lib/Mysql/ DBD-mysql-2.9006/lib/Mysql/Statement.pm DBD-mysql-2.9006/lib/Bundle/ DBD-mysql-2.9006/lib/Bundle/DBD/ DBD-mysql-2.9006/lib/Bundle/DBD/mysql.pm DBD-mysql-2.9006/lib/Mysql.pm DBD-mysql-2.9006/dbdimp.h DBD-mysql-2.9006/mysql.xs DBD-mysql-2.9006/MANIFEST.SKIP DBD-mysql-2.9006/README DBD-mysql-2.9006/INSTALL.html DBD-mysql-2.9006/META.yml DBD-mysql-2.9006/Makefile.PL DBD-mysql-2.9006/ChangeLog DBD-mysql-2.9006/constants.h DBD-mysql-2.9006/TODO CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9006.tar.gz I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/include/mysql -O3 -fno-omit-frame-pointer -arch i386 -arch ppc -pipe libs (mysql_config) = -arch i386 -arch ppc -pipe -L/usr/lib/mysql -lmysqlclient -lz -lm mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testsocket (default ) = testuser (default ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: '-arch' Unrecognized argument in LIBS ignored: 'i386' Unrecognized argument in LIBS ignored: '-arch' Unrecognized argument in LIBS ignored: 'ppc' Unrecognized argument in LIBS ignored: '-pipe' Using DBI 1.48 (for perl 5.008001 on darwin-thread-multi-2level) installed in /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/ Writing Makefile for DBD::mysql cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm cp lib/Mysql.pm blib/lib/Mysql.pm cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cc -c -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/ -I/usr/include/mysql -O3 -fno-omit-frame-pointer -arch i386 -arch ppc -pipe -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"2.9006\" -DXS_VERSION=\"2.9006\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" dbdimp.c cc: cannot read specs file for arch `i386' make: *** [dbdimp.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible -- Diplomacy is the art of saying 'Nice doggie' until you can find a rock. Will Rogers -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@xxxxxxxxxxx

Next Message by Thread: click to view message preview

Re: Request for information!!!

On 4/21/05, Mahen <mahendra.j@xxxxxxxxxxxxx> wrote: > I am currently using latest RPM's of MySQL i.e > > MySQL-shared-3.23.47-1 > MySQL-server-4.0.17-0 > Perl-DBD-MySQL-2.1021-3 > MySQL-client-4.0.17-0 But not MySQL-devel. Besides, if you already have an RPM of Perl-DBD-MySQL, why do you want to install the same driver again? Jochen -- Outside of a dog, a book is man's best friend. Inside of a dog, its too dark to read. (Groucho Marx) -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@xxxxxxxxxxx
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by