Erick van Rijk <[EMAIL PROTECTED]> said:
> On 17-jun-2005, at 20:25, Michèle Garoche wrote:
>> Le 17 juin 2005 à 15:13, Erick van Rijk a écrit :
>>>
>>> I'm having a bit of trouble getting a app to compile using  
>>> autoconf and ./configure.
>>> I've set my paths according to the FAQ by setting the enviroment  
>>> variables like so:
>>>
>>> echo $PATH | grep -q -s "/usr/local/bin"
>>> if [ $? -eq 1 ] ; then
>>>     PATH=$PATH:/usr/local/bin:/usr/local/sbin:usr/local/lib:.
>>>     export PATH
>>> fi
>>> test -r /sw/bin/init.sh && . /sw/bin/init.sh
>>> export CFLAGS=-I/sw/include
>>> export LDFLAGS=-L/sw/lib
>>> export CXXFLAGS=$CFLAGS
>>> export CPPFLAGS=$CXXFLAGS
>>> export ACLOCAL_FLAGS="-I /sw/share/aclocal"
>>> export PKG_CONFIG_PATH="/sw/lib/pkgconfig"
>>>
>>> for some reason autoconf ignores /sw/include/db4 path because I  
>>> get a false on the following autoconf statement:
>>> AC_CHECK_HEADERS(db_cxx.h)
>>> also when I check for pcre++ I will always get a no returned.
>>> AC_CHECK_LIB( pcre++, pcre_fullinfo, [pcre=yes], [pcre=no] )
>>>
>>> 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 did a nm /sw/lib/libspcre++.dylib and pcre_fullinfo is specified as  
> _pcre_fullinfo.

Look at the config.log (created by ./configure, in its same
directory). That file contains technial details about exactly what the
test was trying and exactly what happened, rather than just
the plain-english summary "checking for [something]...[yes/no]".

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks




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