[...] [5220]% port list py-gobject\* py-gobject @2.12.3 python/py-gobject [5221]% sudo port install py-gobject ---> Installing py-gobject 2.12.3_1 Error: Target org.macports.install returned: Registry error: py-gobject @2.12.3_1 already registered as installed. Please uninstall it first. Error: Status 1 encountered during processing. zsh: exit 1 sudo port install py-gobject [5222]% sudo port uninstall py-gobject ---> Unable to uninstall py-gobject 2.12.3_1, the following ports depend on it: ---> py-gtk2 Error: port uninstall failed: Please uninstall the ports that depend on py-gobject first. [5223]% sudo port contents py-gobject Port py-gobject does not contain any file or is not active. [5241]% sudo time port -f install gnucash-devel ---> Building py25-gtk with target all [...] gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/python2.5 -I/opt/local/include/pygtk-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I./gtk -I/opt/local/include -DXTHREADS -I/opt/local/include/gtk-unix-print-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/lib/gtk-2.0/include -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/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -O2 -Wall -fno-strict-aliasing -std=c9x -MT gtkunixprint_la-gtkunixprintmodule.lo -MD -MP -MF .deps/gtkunixprint_la-gtkunixprintmodule.Tpo -c gtkunixprintmodule.c -fno-common -DPIC -o .libs/gtkunixprint_la-gtkunixprintmodule.o gtkunixprintmodule.c:35:22: error: pycairo.h: No such file or directory gtkunixprintmodule.c:36: error: parse error before '*' token gtkunixprintmodule.c:36: warning: type defaults to 'int' in declaration of 'Pycairo_CAPI' gtkunixprintmodule.c:36: warning: data definition has no type or storage class gtkunixprintmodule.c: In function 'initgtkunixprint': gtkunixprintmodule.c:51: error: 'Pycairo_IMPORT' undeclared (first use in this function) gtkunixprintmodule.c:51: error: (Each undeclared identifier is reported only once gtkunixprintmodule.c:51: error: for each function it appears in.) make[2]: *** [gtkunixprint_la-gtkunixprintmodule.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: The following dependencies failed to build: evince avahi py25-gtk esound gconf intltool p5-xml-parser orbit2 libidl gnome-doc-utils docbook-xml docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 iso-codes py25-hashlib py25-libxml2 scrollkeeper gnome-icon-theme icon-naming-utils p5-getopt-long p5-xml-simple p5-test-simple p5-test-harness p5-xml-namespacesupport p5-xml-sax gnome-keyring gnome-vfs gnome-mime-data howl libart_lgpl libgnome libbonobo libgnomecanvas libgnomeui libbonoboui m4 nautilus eel gnome-desktop fribidi startup-notification gnome-menus libexif librsvg libcroco libgsf shared-mime-info poppler poppler-data gnucash-docs yelp firefox-x11 zip libgtkhtml goffice03 libgnomeprintui libgnomeprint bison libgnomecups guile16 libgtkhtml3 p5-finance-quote p5-crypt-ssleay p5-libwww-perl p5-compress-zlib p5-compress-raw-zlib p5-io-compress-base p5-scalar-list-utils p5-io-compress-zlib p5-html-parser p5-html-tagset p5-uri p5-datemanip p5-html-tableextract slib slib-guile16 Error: Status 1 encountered during processing. 113.89 real 101.07 user 11.29 sys [5242]% port contents py25-cairo Port py25-cairo contains: /opt/local/include/pycairo/pycairo.h [...] [5242]% sudo time port -f install py25-gtk [...] Warning: File /opt/local/share/pygtk/2.0/defs/pango-types.defs already exists. Moving to: /opt/local/share/pygtk/2.0/defs/pango-types.defs.mp_1198488129. Warning: File /opt/local/share/pygtk/2.0/defs/pango.defs already exists. Moving to: /opt/local/share/pygtk/2.0/defs/pango.defs.mp_1198488129. Warning: File /opt/local/share/pygtk/2.0/defs/pangocairo.defs already exists. Moving to: /opt/local/share/pygtk/2.0/defs/pangocairo.defs.mp_1198488129. Warning: File /opt/local/share/pygtk/2.0/defs/pangocairo.override already exists. Moving to: /opt/local/share/pygtk/2.0/defs/pangocairo.override.mp_1198488129. ---> Cleaning py25-gtk 133.74 real 79.20 user 39.57 sys [5242]% sudo time port -f install gnucash-devel [...] checking for GNOME_TEST... configure: error: Package requirements ( gdk-pixbuf-2.0 >= 2.11.5) were not met: Requested 'gdk-pixbuf-2.0 >= 2.11.5' but version of GdkPixbuf is 2.10.14 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GNOME_TEST_CFLAGS and GNOME_TEST_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Error: The following dependencies failed to build: evince libgnomeui m4 nautilus eel gnome-desktop fribidi startup-notification gnome-menus libexif librsvg libcroco libgsf shared-mime-info poppler poppler-data gnucash-docs yelp firefox-x11 zip libgtkhtml goffice03 libgnomeprintui libgnomeprint bison libgnomecups guile16 libgtkhtml3 p5-finance-quote p5-crypt-ssleay p5-libwww-perl p5-compress-zlib p5-compress-raw-zlib p5-io-compress-base p5-scalar-list-utils p5-io-compress-zlib p5-html-parser p5-html-tagset p5-uri p5-datemanip p5-html-tableextract slib slib-guile16 Error: Status 1 encountered during processing. 2103.17 real 783.34 user 994.40 sys [5274]% sudo time port list \*pixbuf\* gdk-pixbuf @0.22.0 graphics/gdk-pixbuf # Don't be fooled, this is a red herring! "2.10.14" -> gtk2 [5275]% sudo time port list gtk2 gtk2 @2.12.2 x11/gtk2 [5278]% sudo time port upgrade gtk2 ---> Activating gtk2 2.12.2_0+x11 Error: Activating gtk2 2.12.2_0 failed: Image error: Another version of this port (gtk2 @2.10.14_0) is already active. [5279]% sudo time port deactivate gtk2 [5282]% sudo time port upgrade gtk2 ---> Activating gtk2 2.12.2_0+x11 ---> Fetching libiconv [...] ---> Cleaning pango 1766.82 real 706.78 user 729.84 sys [5283]% sudo time port -f install gnucash-devel [...] ---> Fetching firefox-x11 ---> Attempting to fetch firefox-2.0.0.7-source.tar.bz2 from http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.7/source/ ---> Verifying checksum(s) for firefox-x11 ---> Extracting firefox-x11 ---> Applying patches to firefox-x11 ---> Configuring firefox-x11 ---> Building firefox-x11 with target all [...] ---> Fetching goffice03 ---> Attempting to fetch goffice-0.3.8.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/goffice/0.3/ ---> Verifying checksum(s) for goffice03 ---> Extracting goffice03 ---> Applying patches to goffice03 ---> Configuring goffice03 ---> Building goffice03 with target all [...] ---> Fetching libgtkhtml ---> Verifying checksum(s) for libgtkhtml ---> Extracting libgtkhtml ---> Configuring libgtkhtml ---> Building libgtkhtml with target all ---> Staging libgtkhtml into destroot ---> Installing libgtkhtml 2.11.1_0 ---> Activating libgtkhtml 2.11.1_0 ---> Cleaning libgtkhtml [...] ---> Fetching libgtkhtml3 ---> Attempting to fetch gtkhtml-3.16.0.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gtkhtml/3.16/ ---> Verifying checksum(s) for libgtkhtml3 ---> Extracting libgtkhtml3 ---> Configuring libgtkhtml3 ---> Building libgtkhtml3 with target all [...] ---> Configuring gnucash-devel Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnucash-devel/work/trunk" && ./configure --prefix=/opt/local --disable-glibtest --disable-debug --disable-profile --disable-dependency-tracking --enable-hbci --enable-ofx " returned error 1 Command output: checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.11.1 dyld [...] checking for swig... no configure: error: cannot find 'swig' program. You should look at http://www.swig.org [5285]% sudo time port -f install swig [...] ---> Activating swig 1.3.33_0+darwin_8 ---> Cleaning swig 90.78 real 37.34 user 25.04 sys [5286]% sudo time port install gnucash-devel [...] configure: WARNING: Can not find Guile on this system checking for guile... no checking for guile - 1.6.0 <= version < 99.99.99... no: configure: WARNING: guile version check failed configure: error: guile does not appear to be installed correctly, or is not in the correct version range. Perhaps you have not installed the guile development packages? Gnucash requires at least version 1.6 to build. [5287]% which guile16 /opt/local/bin/guile16 [5292]% sudo ln -s guile16 /opt/local/bin/guile [5306]% sudo ln -s guile16-config /opt/local/bin/guile-config [5337]% sudo ln -s libguile16.h /opt/local/include/libguile.h [5345]% sudo ln -s libguile16 /opt/local/include/libguile [5346]% sudo ln -s guile16 /opt/local/include/guile [5370]% sudo ln -s libguile16.dylib /opt/local/lib/libguile.dylib [5371]% sudo time port install gnucash-devel [...] /usr/bin/ld: Undefined symbols: _scm_boot_guile _scm_c_eval_string _scm_c_resolve_module _scm_c_use_module _scm_call_2 _scm_set_current_module collect2: ld returned 1 exit status make[4]: *** [gnucash-bin] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 # giving up, let's try gnucash (non-devel) instead... [5371]% sudo time port install gnucash +guile16 [...] ---> Building gnucash with target all ---> Staging gnucash into destroot ---> Installing gnucash 2.2.1_2+guile16 ---> Activating gnucash 2.2.1_2+guile16 Error: Target org.macports.activate returned: Image error: /opt/local/bin/gnc-fq-check already exists and does not belong to a registered port. Unable to activate port gnucash. [5372]% sudo time port uninstall gnucash +guile16 [5373]% sudo time port -f install gnucash +guile16 [...] ---> Cleaning gnucash 23.93 real 5.77 user 9.86 sys # Hooray... :-/