64-bit RedHat5.5 compile MySQL

Source: Internet
Author: User
/Usr/bin/install-c-m644 'libmystrings. a''/usr/local/mysql/lib/mysql/libmystrings. a 'ranlib '/usr/local/mysql/lib/mysql/libmystrings. a' make [2]: Nothingtobedonefor 'Install-data-am '. make [2]: Lea/usr/bin/install-c-m 644 'libmystrings. a''/usr/local/mysql/lib/mysql/libmystrings. a'
Ranlib '/usr/local/mysql/lib/mysql/libmystrings.'
Make [2]: Nothing to be done for 'Install-data-am '.
Make [2]: Leaving directory '/home/liming/soft/mysql-5.5.3-m3/strings'
Make [1]: Leaving directory '/home/liming/soft/mysql-5.5.3-m3/strings'
Making install in mysys
Make [1]: Entering directory '/home/liming/soft/mysql-5.5.3-m3/mysys'
Source = 'my _ new. CC' object = 'my _ new. o' libtool = no \
DEPDIR =. deps depmode = none/bin/sh ../depcomp \
G ++-DDEFAULT_BASEDIR = \ "/usr/local/mysql \"-DMYSQL_DATADIR = "\"/usr/local/mysql/var \ ""-DDEFAULT_CHARSET_HOME = "\"/ usr/local/mysql \ ""-d1_dir = "\"/usr/local/mysql/share/mysql \ ""-DDEFAULT_HOME_ENV = MYSQL_HOME-packages = MYSQL_GROUP_SUFFIX-DDEFAULT_SYSCONFDIR = "\ "/usr/local/mysql/etc \" "-DHAVE_CONFIG_H-I. -I .. /include-I .. /zlib-I .. /include-I .. /include-I. -O-fno-implicit-templates-fno-tions-fno-rtti-c-o my_new.o my_new.cc
../Depcomp: line 571: exec: g ++: not found
Make [1]: *** [my_new.o] Error 127
Make [1]: Leaving directory '/home/liming/soft/mysql-5.5.3-m3/mysys'
Make: *** [install-recursive] Error 1

A problem occurred during compilation today because it was used
/Configure -- with-named-curses-libs =/usr/lib/libncursesw. so.5 solution:
Yum install gcc-c ++ *-y

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.