> 
> configure:2509: checking for nana.h
> configure:2519: gcc -E  conftest.c >/dev/null 2>conftest.out
> configure:2515: nana.h: No such file or directory
> configure: failed program was:
> #line 2514 "configure"
> #include "confdefs.h"
> #include <nana.h>
> 
>         when compiling conftest.c, gcc is not including /usr/local/include =
> for=20
> a path to include files. For those who compile nana on their own, and accep=
> t=20
> the defaults for its configure ($PREFIX=3D/usr/local), this will always fai=
> l. I=20
> have a patch for this for configure, but since I'm not that well versed in=
> =20
> autoconf yet, I'm not sure on where to apply the patch to (configure or=20
> configure.in). So, I'll just post it here. Thanks for the help!
> 


One thing you might want to do is see if you have the conftest.c and
confdefs.h files existing in your GnuCash directory after teh
confgiure fails.  If they do exist then try doing the following:


   gcc -v conftest.c


This should give you an output that shows what are teh directories
that gcc is looking for include files in by default.

I just did this on my machine and the only reason I have it working is
because I have a symbolic link from /usr/local to /opt which is where
i keep things.  

la8r,

     mehul

p.s. actually come to think of it, it is not necessary to use
conftest.c,  you can use the simple hello.c program, just make sure
you use 'gcc -v' to do the compile.



-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi
     stolen from Ben Laurie on the FSB list.

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]

Reply via email to