# Build issue "editline headers not found"

**URL:** <https://community.openpbs.org/t/build-issue-editline-headers-not-found/173>\
**Category:** Users/Site Administrators\
**Created:** [July 20, 2016, 3:32am UTC](https://community.openpbs.org/t/build-issue-editline-headers-not-found/173 "2016-07-20T03:32:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehxl2007](https://avatars.discourse-cdn.com/v4/letter/e/f07891/32.png) [@ehxl2007](https://community.openpbs.org/u/ehxl2007)\
**Post date:** [July 20, 2016, 3:32am UTC](https://community.openpbs.org/t/build-issue-editline-headers-not-found/173/1 "2016-07-20T03:32:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dilip-krishnan](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/dilip-krishnan/32/75_2.png) [@dilip-krishnan](https://community.openpbs.org/u/dilip-krishnan)\
**Post date:** [July 20, 2016, 6:35am UTC](https://community.openpbs.org/t/build-issue-editline-headers-not-found/173/2 "2016-07-20T06:35:34Z")

</div>

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.

> <https://github.com/PBSPro/pbspro/blob/master/INSTALL>

Regards  
Dilip

---

<div class="post-metadata">

**Author:** ![ehxl2007](https://avatars.discourse-cdn.com/v4/letter/e/f07891/32.png) [@ehxl2007](https://community.openpbs.org/u/ehxl2007)\
**Post date:** [July 20, 2016, 7:04am UTC](https://community.openpbs.org/t/build-issue-editline-headers-not-found/173/3 "2016-07-20T07:04:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![alexis.cousein](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/alexis.cousein/32/265_2.png) [@alexis.cousein](https://community.openpbs.org/u/alexis.cousein)\
**Post date:** [July 25, 2016, 9:35am UTC](https://community.openpbs.org/t/build-issue-editline-headers-not-found/173/4 "2016-07-25T09:35:25Z")

</div>

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/6/package/libedit-devel/)  
[http://centos-packages.com/7/package/libedit-devel/](http://centos-packages.com/7/package/libedit-devel/)

---

<div class="post-metadata">

**Author:** ![ehxl2007](https://avatars.discourse-cdn.com/v4/letter/e/f07891/32.png) [@ehxl2007](https://community.openpbs.org/u/ehxl2007)\
**Post date:** [July 26, 2016, 6:14am UTC](https://community.openpbs.org/t/build-issue-editline-headers-not-found/173/5 "2016-07-26T06:14:20Z")

</div>

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
