Unable to obtain a clean build...

Jason Boerner JasonB at Computer.Org
Thu Mar 20 17:52:43 CST 2003


Well in src/engine/Makefile the only reference to local is 
prefix=/usr/local but that's probably because I run configure with 
enable-opt-style-install (so that my development version would not 
clobber my "working" version).

Judging by where the include is located in the command line (before 
glib-1.2), I think that it's being sucked in on line 126 of the Makefile 
with:
GNUCASH_ENGINE_CFLAGS =  -I${includedir} -I/usr/include/glib-1.2 ...

Does this help?


On 3/19/2003 1:38 PM, Derek Atkins wrote:

>Jason Boerner <JasonB at Computer.Org> writes:
>
>  
>
>>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/libc
>>-I../../src/gnc-module -I/usr/local/include -I/usr/include/glib-1.2
>>-I/usr/lib/glib/include -I /usr/include/g-wrap -g -O2 -Wall -Wunused
>>-Werror -c gw-engine.c       -fPIC -o .libs/gw-engine.o
>>cc1: changing search order for system directory "/usr/local/include"
>>cc1:   as it has already been specified as a non-system directory
>>    
>>
>
>Uhh, it shouldn't be doing this, unless there is something ELSE that's
>broken.  Can you search through src/engine/Makefile and figure out
>which macros add "-I/usr/local/include"?
>
>That should give us a clue about where the problem lies.
>
>-derek
>
>  
>



More information about the gnucash-devel mailing list