10 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] PCRE
FromSent OnAttachments
up...@3.amAug 24, 2006 6:57 am 
Jeronimo ZuccoAug 24, 2006 7:00 am 
Jeronimo ZuccoAug 24, 2006 7:08 am 
Mike HorwathAug 24, 2006 7:23 am 
up...@3.amAug 24, 2006 7:38 am 
Mike HorwathAug 24, 2006 7:45 am 
up...@3.amAug 24, 2006 8:01 am 
up...@3.amAug 24, 2006 8:29 am 
Devin RubiaAug 24, 2006 8:50 am 
Mike HorwathAug 24, 2006 10:29 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] PCREActions...
From:up...@3.am (up@3.am)
Date:Aug 24, 2006 7:38:49 am
List:net.sourceforge.lists.courier-maildrop

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...