So my question is how do I tell autoconf that there are include and libs in /sw/include and /sw/lib?



You need to install pcre-bin, the pcre-config script is within it.

Even with pcre-bin installed it will still return a no on the libs. Any other ideas what might cause that?

I'd look into info file, especially pcrs0, which adds a new m4 macro to detect pcre, unless you have in the configure something like with-pcre, or whatever flag which allows you to specify where pcre libs are installed.
I looked at the pcrs0 info file, and concluded that it uses AC_CHECK_LIB( pcre, pcre_fullinfo, [pcre=yes], [pcre=no] ) instread of AC_CHECK_LIB( pcre++, pcre_fullinfo, [pcre=yes], [pcre=no] ); So I changed that, and at least it will find the lib. The weird part is that when I display the namelist (unix nm) on pcre.dylib it returns "U _pcre_fullinfo" and "00001d8c T _pcre_fullinfo" meaning a undefined symbol and a text selection symbol. while pcre+ +.dylib only returns "U _pcre_fullinfo". Could this be the problem?

So far I got db4 working (at least linking correctly) :)

Erick


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to