On Sun, 2005-08-07 at 20:05 -0500, Brian Lloyd wrote:
> On Sun, 2005-08-07 at 19:14 -0400, David Hampton wrote:
> > 
> > What exact problems are you having?
> 
> I get the same problem using gcc 4.0 or gcc 3.2 (using the commands
> above).  Could you help me with my problem as well?

Sure.

> gcc32 -DHAVE_CONFIG_H -I. -I. -I../.. -I /usr/local/include/g-wrap
> -pthread -I/u sr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DORBIT2=1
> -pthread -I/usr/inclu de/gconf/2 -I/usr/include/orbit-2.0
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/ include -DXTHREADS
> -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/
> lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
> -I/usr/include/p ango-1.0 -I/usr/include/freetype2
> -I/usr/include/freetype2/config -I/usr/include /glib-2.0
> -I/usr/lib/glib-2.0/include -g -O2 -Wall -Wunused -Wmissing-prototypes
> -Wmissing-declarations -Werror -MT gw-core-utils.lo -MD -MP
> -MF .deps/gw-core-u tils.Tpo -c gw-core-utils.c  -fPIC
> -o .libs/gw-core-utils.o
> In file included from core-utils.h:25,
>                  from gw-core-utils.c:12:
> ../../config.h:209:1: "PACKAGE_BUGREPORT" redefined
> In file included from /usr/local/include/libguile/__scm.h:127,
>                  from /usr/local/include/libguile.h:50,
>                  from /usr/local/include/guile/gh.h:52,
>                  from gw-core-utils.c:3:
> /usr/local/include/libguile/scmconfig.h:427:1: this is the location of
> the previ ous definition
> In file included from core-utils.h:25,
>                  from gw-core-utils.c:12:
> ../../config.h:212:1: "PACKAGE_NAME" redefined

Check your guile-devel package.  What version is it and why is it
installed in /usr/local?  The guile-devel package that ships with FC4 is
1.6.7 and should be installed in /usr.  I checked my copy of scmconfig.h
(from /usr/include/libguile) and it has the defines for PACKAGE_XXX
commented out with a note that says "do not publish".  Yours doesn't for
some reason.  Thats what's causing your compile to fail.  Fix that and
your compile should finish.  Or at least get further before
failing.  :-)

David


_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to