在UBUNTU上完成Noob,但是..
我从backspace得到了一台UBUNTU服务器,并且安装了Ruby2.0
所以ruby -V提供了2.0版
我现在正在尝试使用以下命令安装Helios
get install helios 我得到了通常的结果:
ERROR: Error installing helios:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /usr/bin/pg_config
You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header这个文件是libpq-fe.h,它找不到它,但是在搜索之后,它说这个文件来自Postgres,我遵循postgres的ubuntu安装,我已经安装了客户端和服务器。
所以我完全迷失了。
发布于 2015-07-29 21:32:06
尝试安装libpq-dev PostGre库:
sudo apt-get install libpq-dev帮我修好了。
https://stackoverflow.com/questions/26889933
复制相似问题