On Sun, Dec 12, 1999 at 11:49:01PM -0500, Ken R wrote:
> I've been trying to install gnucash 1.2.5 on a freebsd machine.
>
> the configure file chokes on nana.h I've installed nana from the ports
> collection and nana.h resides in /usr/local/include/. trying to use the
> --includedir=/usr/local/include didn't help matters any.
I had this same problem around the 1.2.3 release, and even with 1.2.5.
It turned out that /usr/local/include, isn't specified by default for the
CFLAGS for configure. What you could do, is one of the following:
1) examine config.log. It should say somewhere, around line 2514 of
configure, it starts to look for nana. Then look at configure. around line
2519, you have the following:
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
I changed this (it's probably not the right way to do it, but it
works), to be:
ac_try="$ac_cpp conftest.$ac_ext -I/usr/local/include >/dev/null 2>conftest.out"
removed config.log and config.cache, and ran configure again. It found
everything after that. It's a very roundabout, and probably wrong way to do
it, but it works.
2) if using bash, try:
CFLAGS=-I/usr/local/include LDFLAGS=" " ./configure [options]
And see what that gets you. The first one works. Try the second first,
and see if that does. Good luck.
BL.
--
Brad Littlejohn | Email: [EMAIL PROTECTED]
Unix Systems Administrator, | [EMAIL PROTECTED]
WebMaster, NewsMaster.. Smeghead! :) | http://www.omnilinx.net/~tyketto
PGP: 1024/E9DF4D85 67 6B 33 D0 B9 95 F4 37 4B D1 CE BD 48 B0 06 93
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]