Build issue "editline headers not found"

Hi,
I build the version of release_14_1_branch, the error message “checking for editline… configure: error: editline headers not found.” was displayed when I execute the ./configure. I’m so confused about this, can anyone give me some help? Thanks

Regards
Xu

Hi Xu,
You need to install pre-requisites packages to compile the pbspro source. Not sure if you have already installed all of them. You can use below steps to install these packages.

To Install the prerequisite packages for building PBS Pro.

For CentOS systems you should run the following command as root:

yum install -y gcc make rpm-build libtool hwloc-devel \
  libX11-devel libXt-devel libedit-devel libical-devel \
  ncurses-devel perl postgresql-devel python-devel tcl-devel \
  tk-devel swig expat-devel openssl-devel libXext libXft

For openSUSE systems you should run the following command as root:

zypper install gcc make rpm-build libtool hwloc-devel \
  libX11-devel libXt-devel libedit-devel libical-devel \
  ncurses-devel perl postgresql-devel python-devel tcl-devel \
  tk-devel swig libexpat-devel libopenssl-devel libXext-devel \
  libXft-devel fontconfig

For Debian systems you should run the following command as root:

sudo apt-get install gcc make libtool libhwloc-dev libX11-dev \
  libXt-dev libedit-dev libical-dev ncurses-dev perl \
  postgresql-server-dev-all python-dev tcl-dev tk-dev swig \
  libexpat-dev libssl-dev libxext-dev libxft-dev

Also you can use this document for installing pbs from source.

Regards
Dilip

Hi Dilip,
Thanks for your help.
I check my CentOS system and find no package libedit-devel available after I execute the command “yum install -y gcc…”, I think that is the problem.

Thanks and Regards.

Xu

It would help if you mentioned what version of CentOS you’re running.

But I find the exact RPM both for CentOS 6.x and 7.x:

http://centos-packages.com/6/package/libedit-devel/
http://centos-packages.com/7/package/libedit-devel/

Thank you for your help.
My system is CentOS 6 and I have already solved this problem after install the libedit-devel.

Thanks and Regards

Xu