On Thu, 24 Aug 2006, Mike Horwath wrote:
On Thu, Aug 24, 2006 at 11:08:26AM -0300, Jeronimo Zucco wrote:
Create a link to files in /usr/include
Don't do that.
And create links for files below:
pcrecpp.h pcre.h pcreposix.h pcre_scanner.h pcre_stringpiece.h
Don't do this either.
I didn't like the idea of doing it, but I tried it anyway...same result as
when I created the one link for just pcre.h. The configure script
finished, but make still broke on:
Compiling testmaildirfilter.c
Linking testmaildirfilter
/usr/bin/ld: cannot find -lpcre
*** Error code 1
Stop in /usr/local/src/maildrop-2.0.2/maildir.
*** Error code 1
Stop in /usr/local/src/maildrop-2.0.2/maildir.
*** Error code 1
Stop in /usr/local/src/maildrop-2.0.2.
executables in PATH: pcre-config pcregrep pcretest
Make sure /usr/local/bin is in your path.
It is:
su-2.05b# echo $PATH
/usr/local/lib:/usr/lib:/usr/local/include:/var/qmail/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
There should be no reason why things aren't working.
Did you edit 'root's environment at all?
Yes, I always do...usually exported from my wheel user's bash_profile when
I sudo su to root. I don't see why that would be a problem unless
something else is missing from my path...those lib and include paths were
added to try and fix this problem (no help, though).
Try:
% su - root
and start fresh, unless you edited root's environment, things should
just work.
Don't fall into a trap of forcing things - figure out what you did to
break it, then undo it.
I agree...either FreeBSD 6.1-Stable's ports version of PCRE looks broken,
or maildrop...