Having recently upgraded my G4 tower from Panther to Leopard, I'm  
trying to reinstall gnucash, which I had obtained as binaries under  
Panther.  I completely tossed the /sw folder and started over,  
installing the latest X11 from the Fink site, then getting the latest  
version of Fink, installing it, and performing the self-update.

I tried to install gnucash from the stable tree (1.8.12) and  
repeatedly got compile errors, even after repeating the self-update  
process.  I then (again) started over and tried a different package  
(gnuplot).  That also failed at first, but with a little patch help  
from this list's archives I got it installed.  After backing up /sw, I  
retried gnucash and again got a compile error.  What appear to be the  
relevant messages are below.

I then found a success story on this list, reporting installation of  
gnucash2 from the unstable tree on an Intel machine upgraded from  
Tiger to Leopard, using a clean /sw as I had done.  So I decided to  
try gnucash2.  I tossed /sw again, restored from my backup (which has  
gnuplot in it), tried another self-update to Fink, reconfigured for  
the unstable tree, and tried to install gnucash2.  I got what appears  
to be the same error (the second set of messages below).

In both cases, I accepted all defaults where there were choices of  
which prerequisite packages to install.

Can anyone offer help or advice?

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/sw/include -I../../src/gnc- 
module -I../../src/engine -I../../src/network-utils -I../../src/app- 
utils -I../../src -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/ 
lib/glib/include -I/usr/X11/include -I/sw/include/gnome-1.0 -I/sw/ 
include/gnome-1.0/libguppitank -DNEED_GNOMESUPPORT_H -I/sw/lib/gnome- 
libs/include -I/sw/include/orbit-1.0 -I/sw/include/gnome-xml -I/sw/ 
include/libglade-1.0 -I/usr/X11/include/freetype2 -I/sw/include/gdk- 
pixbuf-1.0 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/sw/include/ 
gnome-xml -I/sw/include/libglade-1.0 -I/sw/include/gtk-1.2 -I/sw/ 
include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11/include -I/sw/ 
include/gnome-1.0 -I/usr/X11/include/freetype2 -I/usr/X11/include - 
DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include -I/sw/include/ 
gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/sw/include/ 
gdk-pixbuf-1.0 -I/sw/include/gnome-xml -I/sw/include/gtk-1.2 -I/sw/ 
include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11/include -I/sw/ 
include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/sw/lib/gnome-libs/include - 
I/sw/include/orbit-1.0 -DNEED_GNOMESUPPORT_H -DGTKHTML_HAVE_GCONF -I/ 
sw/include/gtkhtml-1.1 -I/sw/include/gdk-pixbuf-1.0 -I/sw/include/ 
gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11/ 
include -I/sw/include/gnome-1.0 -I/usr/X11/include/freetype2 -I/sw/lib/ 
gnome-libs/include -I/sw/include/gnome-xml -I/sw/include/libglade-1.0 - 
I/sw/include/gconf/1 -I/sw/include/orbit-1.0 -I /sw/include/g-wrap -g - 
O2 -MT dialog-utils.lo -MD -MP -MF .deps/dialog-utils.Tpo -c dialog- 
utils.c  -fno-common -o .libs/dialog-utils.o
dialog-utils.c: In function 'gnc_glade_autoconnect_full_func':
dialog-utils.c:1129: error: 'RTLD_DEFAULT' undeclared (first use in  
this function)
dialog-utils.c:1129: error: (Each undeclared identifier is reported  
only once
dialog-utils.c:1129: error: for each function it appears in.)
make[5]: *** [dialog-utils.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.16.S4KgKk failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gnucash-1.8.12-11
(Reading database ... 43180 files and directories currently installed.)
Removing fink-buildlock-gnucash-1.8.12-11 ...
Updating the list of locally available binary packages.
[snip]
Failed: phase compiling: gnucash-1.8.12-11 failed


  gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"gnc.gui\" -I/usr/ 
X11R6/include -I/sw/lib/system-openssl/include -I/sw/include -I../../ 
src/core-utils -I../../src/gnc-module -I../../src/engine -I../../src/ 
backend/file -I../../src/app-utils -I../../src -I../../src -I../../lib/ 
libc -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/ 
glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11/ 
include -I/usr/X11/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/ 
include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libxml2 -I/sw/ 
include -I/sw/include/libglade-2.0 -I/sw/include/glib-2.0 -I/sw/lib/ 
glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11/include -I/usr/X11/ 
include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/ 
lib/gtk-2.0/include -DORBIT2=1 -I/sw/include/glib-2.0 -I/sw/lib/ 
glib-2.0/include -I/sw/include/orbit-2.0 -I/sw/include/bonobo- 
activation-2.0 -I/sw/include/gconf/2 -I/sw/include/libbonobo-2.0 -I/sw/ 
include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs-2.0/include -I/sw/include/ 
pango-1.0 -I/usr/X11/include -I/usr/X11/include/freetype2 -I/sw/ 
include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/ 
include/libart-2.0 -I/sw/include/libgnome-2.0 -I/sw/include/ 
libgnomecanvas-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/include/ 
gnome-keyring-1 -I/sw/include/libbonoboui-2.0 -I/sw/include/ 
libgnomeui-2.0 -DORBIT2=1 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ 
include -I/sw/include/pango-1.0 -I/usr/X11/include -I/usr/X11/include/ 
freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/ 
gtk-2.0/include -I/sw/include/libxml2 -I/sw/include/libart-2.0 -I/sw/ 
include/libgnomecanvas-2.0 -I/sw/include/libgnomeprint-2.2 -I/sw/ 
include/orbit-2.0 -I/sw/include/bonobo-activation-2.0 -I/sw/include/ 
gconf/2 -I/sw/include/libbonobo-2.0 -I/sw/include/gnome-vfs-2.0 -I/sw/ 
lib/gnome-vfs-2.0/include -I/sw/include/libgnome-2.0 -I/sw/include/ 
gnome-keyring-1 -I/sw/include/libbonoboui-2.0 -I/sw/include/ 
libglade-2.0 -I/sw/include/libgnomeprintui-2.2 -I/sw/include/ 
libgnomeui-2.0 -I/sw/include/libgtkhtml-3.8 -I/sw/include -I../../lib/ 
libqof/qof -I../../lib/libqof/qof -I/sw/include/glib-2.0 -I/sw/lib/ 
glib-2.0/include -I/sw/include/pango-1.0 -I/sw/include/libxml2 -I/sw/ 
include -I/sw/include/libart-2.0 -I/usr/X11/include -I/usr/X11/include/ 
freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/ 
gtk-2.0/include -I/sw/include/libgnomeprint-2.2 -I/sw/include/ 
libglade-2.0 -I/sw/include/libgsf-1 -I/sw/include/libgoffice-1 -I/sw/ 
include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/ 
usr/X11/include -I/usr/X11/include/freetype2 -I/sw/include/gtk-2.0 -I/ 
sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libart-2.0 - 
I/sw/include/libxml2 -I/sw/include -I/sw/include/libgnomecanvas-2.0 -I/ 
sw/include/libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -Werror  
-Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g  
-O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno- 
unused -c dialog-utils.c  -fno-common -DPIC -o .libs/dialog-utils.o
dialog-utils.c: In function 'gnc_glade_autoconnect_full_func':
dialog-utils.c:881: error: 'RTLD_DEFAULT' undeclared (first use in  
this function)
dialog-utils.c:881: error: (Each undeclared identifier is reported  
only once
dialog-utils.c:881: error: for each function it appears in.)
make[5]: *** [dialog-utils.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of guile16-build failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gnucash2-2.2.3-101
(Reading database ... 51004 files and directories currently installed.)
Removing fink-buildlock-gnucash2-2.2.3-101 ...
Updating the list of locally available binary packages.
[snip]
Failed: phase compiling: gnucash2-2.2.3-101 failed


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to