[Buildroot] Lighttpd and PCRE

Peter Korsgaard jacmet at uclibc.org
Wed Sep 17 21:35:58 UTC 2008


>>>>> "Nick" == Nick Peirson <nick at netcentral.co.uk> writes:

 Nick> Hi,

 Nick> I'm fairly new to buildroot and cross compiling in general and
 Nick> I've encountered some problems getting PCRE support enabled in
 Nick> lighttpd.

 Nick> Initially PCRE was failing to compile complaining of an unknown
 Nick> option -N, which I tracked down to the the line in the PCRE
 Nick> Makefile:

 Nick> STRIP = true -Not_stripping

Hmm, do you have BR2_STRIP_none set?

 Nick> Commenting this out allow PCRE to compile, however lighttpd
 Nick> failed to compile with an error regarding libc.so.6 conflicting
 Nick> with with libc.so.0. A quick find through my buildroot
 Nick> environment showed no instances of libc.so.6, however it was
 Nick> present on my host system. In an attempt to fix it I changed
 Nick> the line:

Yeah, that's caused by pcre-config returning /usr/lib instead of
$(STAGING_DIR)/usr/lib - I've fixed that now.

With those fixes pcre/lighttpd builds for me (arm9) - Does it still
not work for you?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list