Missing libpcre during installation ./config EG 2.10.1

Bug #1563531 reported by Václav Jansa on 2016-03-29
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

There is one missing library during ./config process of Evergreen 2.10.1

Freshly installed Debian-Jessie 8, installed from netinstall image, only standard system tools and ssh server enabled.
Installed and tested OpenSRF 2.4.1

During config process is not found libpcre

Install command:

PATH=/openils/bin:$PATH ./configure --prefix=/openils --sysconfdir=/openils/conf

checking pkg-config is at least version 0.9.0... yes
checking for pcre... no
configure: error: Package requirements (libpcre >= 3.0.0) were not met:

No package 'libpcre' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables pcre_CFLAGS
and pcre_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

manual install of libpcre
apt-get install libpcre3-dev

Expected FIX:

add libpcre3-dev to Makefile.install job.

Ben Shum (bshum) wrote :

I saw something similar when I was working on bug 1551084 for Ubuntu 16.04 with package libpcre3-dev needing to be added. Must be something changed in the packaging for newer distributions.

tags: added: installation makefile
Changed in evergreen:
status: New → Triaged
Ben Shum (bshum) wrote :

Adding initial review targets all the way back to release 2.8 series since Jessie's been around since before then even.

Changed in evergreen:
importance: Undecided → Medium
milestone: none → 2.next
Galen Charlton (gmc) wrote :

In Wheezy, libpcre3 and libpcre3-dev came by virtual of being dependencies of libaprutil1-dev, which in turn is a dependency of apache2-prefork-dev. As of Jessie, libaprutil1-dev no longer requires PCRE.

I note that Evergreen's direct dependency on PCRE is new as of 2.10 (see bug 1468422), so I will remove the 2.8 and 2.9 review targets.

no longer affects: evergreen/2.8
no longer affects: evergreen/2.9
Galen Charlton (gmc) wrote :

I've started a collab branch in the working repository that currently contains a patch updating Jessie's install dependencies: collab/gmcharlt/lp1563531_add_libpcre_dep

Fedora users may need the pcre and pcre-devel packages; I'll leave it to somebody else to check.

Mike Rylander (mrylander) wrote :

Picked into master and 2.10 for modern happiness.

Changed in evergreen:
status: Triaged → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
Changed in evergreen:
milestone: 2.next → 2.11-alpha
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers