Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is what I get after executing: perl -MCPAN -e 'install "DBD::mysql"'
Checking if your kit is complete...
Looks good
Multiple copies of Driver.xst found in: /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/ /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi/auto/DBI/ at Makefile.PL line 739
Using DBI 1.601 (for perl 5.008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.0/auto/DBI/
Writing Makefile for DBD::mysql
Could not read '/root/.cpan/build/DBD-mysql-4.005-odcXNy/META.yml'. Falling back to other methods to determine prerequisites
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.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
gcc -c -I/usr/lib64/perl5/site_perl/5.8.0/auto/DBI -I/usr/include/mysql -g -pipe -march=i386 -mcpu=i686 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -DVERSION=\"4.005\" -DXS_VERSION=\"4.005\" -fPIC "-I/usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi/CORE" dbdimp.c
cc1: CPU you selected does not support x86-64 instruction set
cc1: CPU you selected does not support x86-64 instruction set
make: *** [dbdimp.o] Error 1
CAPTTOFU/DBD-mysql-4.005.tar.gz
/usr/bin/make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Any suggestion? I removed password for the user root in mysql [server vs. 5.0.45]
Thanks..
Ok, somehow the configuration for your cpan is trying to compile your 64 bit code with a i686 cpu and the compiler is telling you the cpu doesn't know how to create the instructions. I'm guessing the part of the compiler command "-mcpu=i686" needs to be changed to "-mcpu=x86-64, but I know this is automatically generated. The info is either coming from Perl, CPAN, or MySQL configuration files. From a quick search on the internet, it seems that it is MySQL. This link seems to suggest that upgrading MySQL will fix it:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.