Configure PCRE on FreeBSD

wattie

Verified User
Joined
May 31, 2008
Messages
1,234
Location
Bulgaria
On FreeBSD when installing GIT from ports I got an error which was related to PCRE - briefly there was no --enable-jit in PCRE configuration and that made GIT to fail to compile.

I looked in the build script and saw that it had:

Code:
./configure --enable-utf8 --enable-unicode-properties --enable-jit

I guess something is wrong on FreeBSD and it does not configure it like that. I fixed the issue by:

Code:
cd /usr/local/directadmin/custombuild
tar -zxvf pcre-8.41.tar.gz
cd pcre-8.41
./configure --enable-utf8 --enable-unicode-properties --enable-jit
make install

After this /usr/ports/devel/git compiles without any error.
 
Back
Top