configure unable to find libpcre include directory on Solaris Nevada

Bug #372367 reported by Tim Cook on 2009-05-05
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Medium
Eric Day

Bug Description

[revno 1001]

My environment is snv_113 (a build of Solaris Nevada, dated 20 April 2009). This includes libpcre, located in /usr/lib[/64] and /usr/include/pcre.

Drizzle's configure/make process is able to find the 64-bit library (probably because it is in a default location), but it can not find <pcre.h>. configure leaves the following in config.h:

/* Location of pcre header */
/* #undef PCRE_HEADER */

This is in spite of using a few variations of --with-libpcre-prefix.

Workaround
=========

If CFLAGS is set to include "-I/usr/include/pcre", we get a useful configure/make.

Suggested Fix
===========

Either:

- Fix configure to search for includes more intelligently
- Break --with-libpcre-prefix into separate options for libraries and includes

Related branches

Tim Cook (tim-cook) on 2009-05-05
description: updated
Lee Bieber (kalebral) on 2009-05-05
Changed in drizzle:
assignee: nobody → Monty Taylor (mordred)
importance: Undecided → Medium
milestone: none → aloha
status: New → Confirmed
Eric Day (eday) on 2009-05-09
Changed in drizzle:
assignee: Monty Taylor (mordred) → Eric Day (eday)
status: Confirmed → Fix Committed
Lee Bieber (kalebral) on 2009-05-17
Changed in drizzle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers