[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] building on Redhat ES3



Closer:

Checking for PCRE ...
test-pcre.c:1:18: pcre.h: No such file or directory
test-pcre.c: In function `main':
test-pcre.c:5: `pcre' undeclared (first use in this function)
test-pcre.c:5: (Each undeclared identifier is reported only once
test-pcre.c:5: for each function it appears in.)
test-pcre.c:5: `result' undeclared (first use in this function)
test-pcre.c:8: warning: implicit declaration of function `pcre_compile'
test-pcre.c:8: `PCRE_CASELESS' undeclared (first use in this function)
test-pcre.c:8: `NULL' undeclared (first use in this function)
make: *** [test-compile] Error 1
ERROR: PCRE include files found in /usr/include, but compile fails.

Below is the output from rpm -ql of both pcre and pcre-devel:

root (at) room101>rpm -ql pcre
/lib/libpcre.so.0
/lib/libpcre.so.0.0.1
/usr/bin/pcregrep
/usr/bin/pcretest
/usr/lib/libpcreposix.so.0
/usr/lib/libpcreposix.so.0.0.0
/usr/share/man/man1/pcregrep.1.gz
/usr/share/man/man1/pcretest.1.gz

root (at) room101>rpm -ql pcre-devel
/usr/bin/pcre-config
/usr/include/pcre
/usr/include/pcre/pcre.h
/usr/include/pcre/pcreposix.h
/usr/lib/libpcre.a
/usr/lib/libpcre.so
/usr/lib/libpcreposix.a
/usr/lib/libpcreposix.so
/usr/share/man/man3/pcre.3.gz
/usr/share/man/man3/pcreposix.3.gz

--
Bruce Z. Lysik  <blysik (at) shutterfly.com>
Operations Engineer


> -----Original Message-----
> From: Henrik Stoerner [mailto:henrik (at) hswn.dk]
> Sent: Monday, January 10, 2005 2:52 PM
> To: hobbit (at) hswn.dk
> Subject: Re: [hobbit] building on Redhat ES3
> 
> 
> On Mon, Jan 10, 2005 at 02:35:36PM -0800, Bruce Lysik wrote:
> > 
> > Aha.  I installed pcre-devel, but still no go.  I think it's because
> > build/pcre.sh doesn't like where RedHat puts things in its RPMS:
> > 
> > bash>rpm -ql pcre-devel
> > /usr/bin/pcre-config
> > /usr/include/pcre
> > /usr/include/pcre/pcre.h
> 
> Someone else reported this. Does the attached build/pcre.sh work
> better ?
> 
> 
> Henrik
>