centos5下 还是出现问题,make waf出现错误,求解决!!!
发布于 3年前 作者 shideqin 1389 次浏览

centos5下 还是出现问题,make waf出现错误如下:

[root[[[[[[[[[[@mysql-libmysqlclient](/user/mysql-libmysqlclient)](/user/mysql-libmysqlclient)](/user/mysql-libmysqlclient)](/user/mysql-libmysqlclient)](/user/mysql-libmysqlclient)](/user/mysql-libmysqlclient)](/user/mysql-libmysqlclient)](/user/mysql-libmysqlclient)](/user/mysql-libmysqlclient)](/user/mysql-libmysqlclient)]# make waf touch waf-stamp node-waf configure build Checking for program g++ or c++ : /usr/bin/g++ Checking for program cpp : /usr/bin/cpp Checking for program ar : /usr/bin/ar Checking for program ranlib : /usr/bin/ranlib Checking for g++ : ok
Checking for node path : not found Checking for node prefix : ok /usr/local Checking for header mysql.h : yes Checking for library mysqlclient_r : not found /home/sdq/node_modules/mysql-libmysqlclient/wscript:43: error: Missing thread-safe libmysqlclient_r library from libmysqlclient-devel or mysql-devel package make: *** [waf-stamp] 错误 1

2 回复

看提示是没安装 mysql-devel ,试试先 yum install mysql-devel ,再安装

yum install mysql-devel 之后提示这个,求解答!!!

[root@mysql-libmysqlclient]# yum install mysql-devel Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Parsing package install arguments Package mysql-devel-5.0.95-1.el5_7.1.i386 already installed and latest version Nothing to do

回到顶部