/usr/bin/install -c -m 644 'libmystrings.a' '/usr/local/mysql/lib/mysql/libmystrings.a'
ranlib '/usr/local/mysql/lib/mysql/libmystrings.a'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/liming/soft/soft/mysql-5.5.3-m3/strings'-
make[1]: Leaving directory `/home/liming/soft/soft/mysql-5.5.3-m3/strings'
Making install in mysys
make[1]: Entering directory `/home/liming/soft/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\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=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-exceptions -fno-rtti -c -o my_new.o my_new.cc
../depcomp: line 571: exec: g++: not found
make[1]: *** [my_new.o] 錯誤 127
make[1]: Leaving directory `/home/liming/soft/soft/mysql-5.5.3-m3/mysys'
make: *** [install-recursive] 錯誤 1
今天編譯的時(shí)候出現(xiàn)問題,原因是使用了
/configure --with-named-curses-libs=/usr/lib/libncursesw.so.5
解決辦法:
yum install gcc-c++ * -y
本文出自:億恩科技【1tcdy.com】
服務(wù)器租用/服務(wù)器托管中國五強(qiáng)!虛擬主機(jī)域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]
|