can't build a native gnucash

Brian Dunn brian at newmedio.com
Thu Sep 17 08:16:50 PDT 2009


I've read and tried this:
http://wiki.gnucash.org/wiki/MacOSX/MacPortsDetail#Using_MacPorts_to_install_the_native_Quartz_version_of_GnuCash

But I'm still getting the following error.
Some googling on the '/opt/local/bin/gsed: can't read /opt/local/lib/ 
libgtk-x11-2.0.la: No such file or directory' bit turned up this ticket:
http://trac.macports.org/ticket/17009

So apparently somewhere in my dependencies is a port that was built  
against X11.
Does anyone know of a way to find out what port(s) that is so I can  
rebuild with the +no_x11?
I'm not interested in maintaining my MacPort's installation's ability  
to build against X11. I don't use any X11 apps, so it seems that  
having two MacPorts installs, like suggested in the ticket, would be  
the wrong approach.
Any ideas on how to ferret out the X11 culprit, or to enforce  
quartzyness in all my installed ports?


thanks!

$ sudo port install gnucash +without_hbci
Password:
Warning: Skipping upgrade since openssl 0.9.8k_0 >= openssl 0.9.8k_0,  
even though installed variants "" do not match "+darwin". Use 'upgrade  
--enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since tcl 8.5.6_0 >= tcl 8.5.6_0, even  
though installed variants "" do not match "+darwin". Use 'upgrade -- 
enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since tk 8.5.6_1 >= tk 8.5.6_1, even though  
installed variants "" do not match "+darwin". Use 'upgrade --enforce- 
variants' to switch to the requested variants.
Warning: Skipping upgrade since readline 6.0.000_1 >= readline  
6.0.000_1, even though installed variants "" do not match "+darwin".  
Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since bzip2 1.0.5_2 >= bzip2 1.0.5_2, even  
though installed variants "" do not match "+darwin". Use 'upgrade -- 
enforce-variants' to switch to the requested variants.
--->  Computing dependencies for gnucash
--->  Building gnucash
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_gnome_gnucash/work/gnucash-2.2.9" && /usr/ 
bin/make -j1 all " returned error 2
Command output: Making all in app-utils
Making all in .
make[4]: Nothing to be done for `all-am'.
Making all in test
ERROR: In procedure dynamic-link:
ERROR: file: "libguile-srfi-srfi-13-14-v-1", message: "dlopen(libguile- 
srfi-srfi-13-14-v-1.so, 9): image not found"
make[4]: Nothing to be done for `all'.
Making all in gnome-utils
if [ ! -f gnc-svninfo.h ]; then cp _gnc-svninfo.h gnc-svninfo.h; fi
cmp -s _gnc-svninfo.h gnc-svninfo.h || cp _gnc-svninfo.h gnc-svninfo.h
rm -f _gnc-svninfo.h
if [ ! -f gnc-version.h ]; then cp _gnc-version.h gnc-version.h; fi
cmp -s _gnc-version.h gnc-version.h || cp _gnc-version.h gnc-version.h
rm -f _gnc-version.h
/usr/bin/make  all-recursive
Making all in glade
make[5]: Nothing to be done for `all'.
Making all in schemas
make[5]: Nothing to be done for `all'.
Making all in .
/bin/sh ../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -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 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/ 
glib-2.0/include -I/opt/local/include   -I/opt/local/include/ 
libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2  
-I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/ 
local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/ 
include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 - 
I/opt/local/include/libpng12 -I/opt/local/include/gtk-2.0 -I/opt/local/ 
lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/ 
cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/ 
opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/ 
include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/ 
libpng12 -DORBIT2=1 -D_REENTRANT -I/opt/local/include/libgnomeui-2.0 - 
I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2 -I/opt/ 
local/include/gnome-keyring-1 -I/opt/local/include/libgnome-2.0 -I/opt/ 
local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 - 
I/opt/local/include/gtk-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/ 
local/lib/gnome-vfs-2.0/include -I/opt/local/include/orbit-2.0 -I/opt/ 
local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/ 
include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo- 
activation-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/ 
pango-1.0 -I/opt/local/include/gail-1.0 -I/opt/local/include/freetype2  
-I/opt/local/include/atk-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/ 
local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/ 
libpng12 -DORBIT2=1 -D_REENTRANT -I/opt/local/include/libgtkhtml-3.14 - 
I/opt/local/include/gtk-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/ 
local/include/libglade-2.0 -I/opt/local/include/enchant -I/opt/local/ 
include/gconf/2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/ 
atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/ 
opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/ 
local/include -I/opt/local/include/pixman-1 -I/opt/local/include/ 
freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/ 
libart-2.0 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/ 
libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/ 
libgnomecanvas-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/ 
gnome-vfs-2.0/include -I/opt/local/include/orbit-2.0 -I/opt/local/ 
include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/ 
include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/ 
opt/local/include/libxml2 -I/opt/local/include/gail-1.0 -I/opt/local/ 
include -I../../lib/libqof/qof -I../../lib/libqof/qof -I/opt/local/ 
include/libgoffice-0.6 -I/opt/local/include/glib-2.0 -I/opt/local/lib/ 
glib-2.0/include -I/opt/local/include -I/opt/local/include/libgsf-1 -I/ 
opt/local/include/libxml2 -I/opt/local/include/gtk-2.0 -I/opt/local/ 
include/libglade-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/ 
include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/lib/gtk-2.0/ 
include -I/opt/local/include/atk-1.0 -I/opt/local/include/pixman-1 -I/ 
opt/local/include/freetype2 -I/opt/local/include/libpng12  - 
Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -O2  
-arch i386 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations   
-Wno-unused -avoid-version -L/opt/local/lib -o libgncmod-gnome- 
utils.la -rpath /opt/local/lib/gnucash QuickFill.lo account- 
quickfill.lo cursors.lo dialog-account.lo dialog-book-close.lo dialog- 
commodity.lo dialog-options.lo dialog-preferences.lo dialog-query- 
list.lo dialog-reset-warnings.lo dialog-totd.lo dialog-transfer.lo  
dialog-utils.lo druid-utils.lo druid-gconf-setup.lo druid-gnc-xml- 
import.lo gnc-account-sel.lo gnc-amount-edit.lo gnc-autosave.lo gnc- 
commodity-edit.lo gnc-currency-edit.lo gnc-date-delta.lo gnc-date- 
edit.lo gnc-date-format.lo gnc-dense-cal.lo gnc-dense-cal-model.lo gnc- 
dense-cal-store.lo gnc-druid-gnome.lo gnc-druid-provider-edge-gnome.lo  
gnc-druid-provider-file-gnome.lo gnc-druid-provider-multifile-gnome.lo  
gnc-embedded-window.lo gnc-file.lo gnc-frequency.lo gnc-recurrence.lo  
gnc-general-select.lo gnc-gnome-utils.lo gnc-gui-query.lo gnc-html- 
graph-gog.lo gnc-html-history.lo gnc-html.lo gnc-icons.lo gnc-main- 
window.lo gnc-menu-extensions.lo gnc-plugin-file-history.lo gnc-plugin- 
manager.lo gnc-plugin-menu-additions.lo gnc-plugin-page.lo gnc- 
plugin.lo gnc-period-select.lo gnc-query-list.lo gnc-splash.lo gnc-sx- 
instance-dense-cal-adapter.lo gnc-sx-list-tree-model-adapter.lo gnc- 
tree-model.lo gnc-tree-model-account-types.lo gnc-tree-model- 
account.lo gnc-tree-model-budget.lo gnc-tree-model-commodity.lo gnc- 
tree-model-price.lo gnc-tree-view-account.lo gnc-tree-view- 
commodity.lo gnc-tree-view-price.lo gnc-tree-view-sx-list.lo gnc-tree- 
view.lo gnc-window.lo gncmod-gnome-utils.lo misc-gnome-utils.lo search- 
param.lo gnc-dialog.lo swig-gnome-utils.lo window-main- 
summarybar.lo  ../../src/core-utils/libgnc-core-utils.la ../../src/gnc- 
module/libgnc-module.la ../../src/engine/libgncmod-engine.la ../../src/ 
backend/file/libgnc-backend-file-utils.la ../../src/calculation/ 
libgncmod-calculation.la ../../src/app-utils/libgncmod-app- 
utils.la ../../lib/libc/libc-missing.la -Wl,-framework,CoreAudio - 
framework Cocoa -L/opt/local/lib -lgnomeui-2 -lSM -lICE -lgnome- 
keyring -lbonoboui-2 -lxml2 -lpthread -lgnomecanvas-2 -lgnome-2 -lpopt  
-lgnomevfs-2 -lesd -lbonobo-2 -laudiofile -lbonobo-activation - 
lgailutil -lart_lgpl_2 -lgtk-quartz-2.0 -lgdk-quartz-2.0 -latk-1.0 - 
lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lcairo -lpangoft2-1.0 - 
lpango-1.0 -lpixman-1 -lfontconfig -lexpat -lfreetype -lpng12 -lz - 
lgconf-2 -lORBit-2 -lm -ldbus-1 -lgmodule-2.0 -lgthread-2.0 - 
lgobject-2.0 -lglib-2.0 -lintl -liconv   -framework Cocoa -Wl,- 
framework,CoreAudio -L/opt/local/lib -lgtkhtml-3.14 -lgnomeui-2 -lSM - 
lICE -lglade-2.0 -lenchant -lgnome-keyring -lbonoboui-2 - 
lgnomecanvas-2 -lgnome-2 -lpopt -lgnomevfs-2 -lesd -lbonobo-2 - 
laudiofile -lbonobo-activation -lgailutil -lart_lgpl_2 -lgconf-2 -lgtk- 
quartz-2.0 -lxml2 -lpthread -lgdk-quartz-2.0 -latk-1.0 - 
lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lcairo -lpangoft2-1.0 - 
lpango-1.0 -lpixman-1 -lfontconfig -lexpat -lfreetype -lpng12 -lz - 
lORBit-2 -lm -ldbus-1 -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 - 
lglib-2.0 -lintl -liconv   -L/opt/local/lib -lguile16 -lguile-ltdl -L/ 
opt/local/lib -lm -L/opt/local/lib -lgdk_pixbuf-2.0 -lm -lgobject-2.0 - 
lgmodule-2.0 -lglib-2.0 -lintl -liconv   -framework Cocoa -L/opt/local/ 
lib -lglade-2.0 -lgtk-quartz-2.0 -lxml2 -lpthread -lgdk-quartz-2.0 - 
latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lcairo - 
lpangoft2-1.0 -lpango-1.0 -lm -lpixman-1 -lfontconfig -lexpat - 
lfreetype -lpng12 -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl - 
liconv   -L/opt/local/lib -lguile16 -lguile-ltdl -L/opt/local/lib -lm - 
L/opt/local/lib -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 - 
lintl -liconv    ../../lib/libqof/qof/libgnc-qof.la -framework Cocoa - 
L/opt/local/lib -lgoffice-0.6 -lgsf-1 -lglade-2.0 -lart_lgpl_2 -lgtk- 
quartz-2.0 -lxml2 -lpthread -lgdk-quartz-2.0 -latk-1.0 - 
lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lcairo -lpangoft2-1.0 - 
lpixman-1 -lpng12 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz - 
lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv    -L/opt/local/ 
lib -lxml2 -lpthread -lz -liconv -lm     -lpopt -lm  -lm
grep: /opt/local/lib/libgtk-x11-2.0.la: No such file or directory
/opt/local/bin/gsed: can't read /opt/local/lib/libgtk-x11-2.0.la: No  
such file or directory
libtool: link: `/opt/local/lib/libgtk-x11-2.0.la' is not a valid  
libtool archive
make[5]: *** [libgncmod-gnome-utils.la] 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

Error: Status 1 encountered during processing.



More information about the macports-users mailing list