简体   繁体   English

DBD-mysql错误:您选择的CPU不支持x86-64指令集

[英]DBD-mysql error: CPU you selected does not support x86-64 instruction set

I am installing DBD-mysql-4.020 perl module on 5.14.2. 我在5.14.2上安装DBD-mysql-4.020 perl模块。

when running make, I encounter the below error: 运行make时,遇到以下错误:

cc -c -I/u01/app/appadmin/product/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux/auto/DBI -I/usr/local/mysql-standard-4.1.14-pc-linux-gnu-i686/include -mtune=pentiumpro -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\\"4.020\\" -DXS_VERSION=\\"4.020\\" -fPIC "-I/u01/app/appadmin/product/perl-5.14.2/lib/5.14.2/x86_64-linux/CORE" dbdimp.c dbdimp.c:1: error: CPU you selected does not support x86-64 instruction set make: * [dbdimp.o] Error 1 cc -c -I / u01 / app / appadmin / product / perl-5.14.2 / lib / site_perl / 5.14.2 / x86_64-linux / auto / DBI -I / usr / local / mysql-standard-4.1.14- pc-linux-gnu-i686 / include -mtune = pentiumpro -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -fstack-protector -I / usr / local / include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS = 64 -O2 -DVERSION = \\“ 4.020 \\“ -DXS_VERSION = \\” 4.020 \\“ -fPIC” -I / u01 / app / appadmin / product / perl-5.14.2 / lib / 5.14.2 / x86_64-linux / CORE“ dbdimp.c dbdimp.c: 1:错误:您选择的CPU不支持x86-64指令集make: * [dbdimp.o]错误1

upgraded compiler to gcc4.4 and did put a lot of effort to overcome this. 将编译器升级到gcc4.4,并为此付出了很多努力。 Your inputs in resolving this and installing the perl Module are greatly appreciated. 非常感谢您在解决此问题和安装perl模块方面的投入。

error: CPU you selected does not support x86-64 instruction set make: 错误:您选择的CPU不支持x86-64指令集make:

Does this machine have a 64-bit CPU? 这台机器是否有64位CPU?

If so, have you checked to see if you have 64 bit versions of perl and mysql? 如果是这样,是否检查过Perl和mysql的64位版本? Or you can you the 'lazy' route and just try installing a 32 bit version of DBD-mysql and see what happens. 或者,您也可以采用“惰性”路线,然后尝试安装32位版本的DBD-mysql,然后看看会发生什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 LoadError:无法加载此类文件— dbd-mysql - LoadError: cannot load such file — dbd-mysql 使用Perl DBD-mysql连接到远程MySQL服务器时访问被拒绝错误 - Access denied error when connecting to remote MySQL server using Perl DBD-mysql 无法在Win8.1中安装DBD-mysql - Can not install DBD-mysql in Win8.1 百胜安装mysql-devel.x86_64错误Centos5 - yum install mysql-devel.x86_64 error Centos5 在Windows 7 x64上安装mysql2错误无法正常工作 - Error installing mysql2 with windows 7 x64 does not work 缺少plesk-mysql-server.x86_64 - missing plesk-mysql-server.x86_64 运行中的perl脚本现在显示.DBD :: mysql :: db失败:您的SQL语法有错误; - working perl ascript now says .DBD::mysql::db do failed: You have an error in your SQL syntax; pip安装MySQL-python在ubuntu 14.04上失败,错误:命令'x86_64-linux-gnu-gcc'失败,退出状态为1 - pip install MySQL-python fails on ubuntu 14.04, error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 从mysql 5.5 x86升级到mysql 5.5 x64会出现什么问题? - What problems arise from upgrading mysql 5.5 x86 to mysql 5.5 x64? 在使用DBD :: mysql时需要Perl错误帮助 - Need help with perl error in using DBD::mysql
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM