tech-pkg archive

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

pcre/privoxy issue on MacOS 10.6?



When I'm installing www/privoxy on a Mac running 10.6.4, the resulting binary 
fails like this:

imac:privoxy schwarz$ work/privoxy-3.0.16-stable/privoxy --no-daemon 
/Users/schwarz/pkg/etc/privoxy/config
Nov 07 21:56:55.739 00000358 Info: Privoxy version 3.0.16
Nov 07 21:56:55.740 00000358 Info: Program name: 
work/privoxy-3.0.16-stable/privoxy
Nov 07 21:56:55.741 00000358 Fatal error: can't load actions file 
'/Users/schwarz/pkg/etc/privoxy/default.action': line 625: cannot create URL 
pattern from: /.*\.(gif|jpe?g|png|bmp|ico)($|\?)


However, when I uncomment the line

.include "../../devel/pcre/buildlink3.mk"

in Makefile before building, privoxy will use its own copy of pcre


checking for pcre_compile in -lpcre... yes
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking for regcomp in -lpcreposix... yes
checking pcreposix.h usability... no
checking pcreposix.h presence... no
checking for pcreposix.h... no
checking pcre/pcreposix.h usability... no
checking pcre/pcreposix.h presence... no
checking for pcre/pcreposix.h... no
checking for zlibVersion in -lz... yes
configure: WARNING: You are using the static PCRE code which is scheduled for 
removal, for details see:
    
https://sourceforge.net/mailarchive/message.php?msg_id=20080511195555.2dc6cfdc%40fabiankeil.de

but then things work with exactly the same config files:

imac:privoxy schwarz$ work/privoxy-3.0.16-stable/privoxy --no-daemon 
/Users/schwarz/pkg/etc/privoxy/config
Nov 07 22:01:35.645 00000358 Info: Privoxy version 3.0.16
Nov 07 22:01:35.646 00000358 Info: Program name: 
work/privoxy-3.0.16-stable/privoxy

Does pcre maybe not work properly on MacOS. It is pcre-8.10 which is installed 
through pkgsrc.
Can anyone reproduce that issue?
What should I do in order to pinpoint the root cause?



-- 
Georg Schwarz  http://home.pages.de/~schwarz/
georg.schwarz%freenet.de@localhost +49 170 8768585







Home | Main Index | Thread Index | Old Index