Unable to obtain a clean build...

Derek Atkins warlord at MIT.EDU
Thu Mar 20 23:23:28 CST 2003

Indeed, this is the cause..  I'm surprised nobody ever noticed this
before....  I'll fix this in CVS.  You probably should remove
the -I${includedir} from the macro.

Another thing that might be an issue is if you have another
version of gnucash installed and you're finding the wrong
header files.


Jason Boerner <JasonB at computer.org> writes:

> 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
> >
> >

       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list