On Tue, Oct 12, 1999 at 08:16:12AM -0400, Mehul N. Sanghvi wrote:
> 'allo,
> 
>     Yes checking for config.cache and removing (or renaming it) might
>     help.  Also the other thing to check is the config.log file to see
>     what the actual errors where and what options where being used by
>     used by the C compiler.  

        This actually worked. After going through the log, and configure, The 
error turned out to be:

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 
a path to include files. For those who compile nana on their own, and accept 
the defaults for its configure ($PREFIX=/usr/local), this will always fail. I 
have a patch for this for configure, but since I'm not that well versed in 
autoconf yet, I'm not sure on where to apply the patch to (configure or 
configure.in). So, I'll just post it here. Thanks for the help!

                                                        BL.
-- 
Brad Littlejohn                         | Email:        [EMAIL PROTECTED] 
Unix Systems Administrator,             |             [EMAIL PROTECTED]
Web + NewsMaster, BOFH.. 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
--- configure.vanilla   Tue Oct 12 19:41:56 1999
+++ configure   Tue Oct 12 19:42:23 1999
@@ -2514,7 +2514,7 @@
 #include "confdefs.h"
 #include <nana.h>
 EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+ac_try="$ac_cpp conftest.$ac_ext -I/usr/local/include >/dev/null
2>conftest.out"
 { (eval echo configure:2519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then

PGP signature

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

Reply via email to