Hi,
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:
##
# DELUXE-USR-LOCAL-BIN-INSERT
# (do not remove this comment)
##
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?
I also tried autoconf -B/sw/include but that didn't seem to help as
well.
Any ideas?
Thanks
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