I too was having problems trying to install gnucash. I did the following: 1. Edited the portfile and added --enable-system-cairo to the configure.args 2. Re-issued: sudo port install firefox-x11. Since the portfile changed, it re built the whole app. To find the portfile, do "port file firefox-x11" at the shell prompt. The modified portion of the file now looks like: configure.args --enable-application=browser \ --enable-official-branding \ --disable-static \ --enable-shared \ --enable-default-toolkit=gtk2 \ --enable-xft \ --disable-freetype2 \ --enable-xinerama \ --with-pthreads \ --enable-gnomevfs \ --enable-postscript \ --disable-prebinding \ --disable-debug \ --enable-strip \ --enable-optimize='-O2' \ --disable-tests \ --with-default-mozilla-five-home=${prefix}/lib/firefox \ --with-system-jpeg=${prefix} \ --with-system-zlib=${prefix} \ --enable-system-cairo \ --with-system-png=${prefix} (Make sure there are no spaces after the '\', and I used tabs, not spaces, to indent the line). Now I'm on to fixing problems with goffice, -DGDK_DISABLE_DEPRECATED and GtkTooltips problems... -- Peter McLain peter.mclain@gmail.com
On Sep 20, 2007, at 11:15, Peter McLain wrote:
On Sep 18, 2007, at 03:55, David Rowe wrote:
I have been having various problems, particularly with help under Gnucash & Gramps. On reading about the issues to do with the recent gettext upgrade (see http://trac.macosforge.org/projects/macports/wiki/ProblemHotlist ) I decided to go for a clean re-install - i.e.: sudo mv /opt/local /opt/local.old then reinstall macports and then: sudo port install gnucash.
However, the install process crashes during the install of firefox- x11 (the following log comes from repeating 'sudo port install gnucash' so the install is picking up at the firefox-x11 stage):
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ---> Building firefox-x11 with target all Error: Target org.macports.build returned: shell command " cd "/ opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla" && make all " returned error 2 Command output: /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/dom/public/idl/ls -m 644 _xpidlgen/ dom_loadsave.xpt ../../../../dist/bin/components /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/dom/public/idl/xul -m 644 _xpidlgen/ dom_xul.xpt ../../../../dist/bin/components /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/dom/public/idl/storage -m 644 _xpidlgen/ dom_storage.xpt ../../../../dist/bin/components /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/dom/public -m 644 _xpidlgen/dom.xpt ../../ dist/bin/components /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/dom/src/base -m 644 libjsdombase_s.a ../../../dist/lib /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/dom/src/jsurl -m 644 libjsurl_s.a ../../../dist/lib /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/dom/src/events -m 644 libjsdomevents_s.a ../../../dist/lib /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/dom/src/storage -m 644 libjsdomstorage_s.a ../../../dist/lib /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/dom/src ./res/hiddenWindow.html ../../ dist/bin/res +++ making chrome /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/dom/locales => ../../dist/bin/chrome/en- US.jar /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/view/src -m 644 libgkview_s.a ../../dist/lib /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/widget/public -m 644 _xpidlgen/ widget.xpt ../../dist/bin/components /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/widget/src/xpwidgets -m 644 libxpwidgets_s.a ../../../dist/lib /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/widget/src/support -m 644 libwidgetsupport_s.a ../../../dist/lib /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/widget/src/gtk2 -m 755 libwidget_gtk2.dylib ../../../dist/bin/components : ../../../dist/bin/components/libwidget_gtk2.dylib /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/widget/src/gtkxtbin -m 755 libgtkxtbin.dylib ../../../dist/lib /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/widget/src/gtkxtbin -m 755 libgtkxtbin.dylib ../../../dist/bin /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/content/base/public -m 644 _xpidlgen/ content_base.xpt ../../../dist/bin/components /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/config/nsinstall -L /opt/local/var/ macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_ firefox-x11/work/mozilla/content/base/src -m 644 libgkconbase_s.a ../../../dist/lib nsCanvasRenderingContext2D.cpp c++ -o nsCanvasRenderingContext2D.o -c -DMOZILLA_INTERNAL_API - DOSTYPE=\"Darwin8.10.1\" -DOSARCH=\"Darwin\" -DBUILD_ID=0000000000 -D_IMPL_NS_LAYOUT -I../../../dist/include/xpcom -I../../../dist/ include/string -I../../../dist/include/gfx -I../../../dist/include/ layout -I../../../dist/include/widget -I../../../dist/include/dom - I../../../dist/include/js -I../../../dist/include/locale - I../../../dist/include/unicharutil -I../../../dist/include/ webshell -I../../../dist/include/uriloader -I../../../dist/include/ htmlparser -I../../../dist/include/necko -I../../../dist/include/ view -I../../../dist/include/pref -I../../../dist/include/docshell -I../../../dist/include/xpconnect -I../../../dist/include/xuldoc - I../../../dist/include/caps -I../../../dist/include/editor - I../../../dist/include/imglib2 -I../../../dist/include/mimetype - I../../../dist/include/exthandler -I../../../dist/include/uconv - I../../../dist/include/intl -I../../../dist/include/plugin - I../../../dist/include/cairo -I../../../dist/include/libpixman - I../../../dist/include/content -I../../../dist/include -I../../../ dist/include/nspr -I/opt/local/include -I/opt/local/include -I/opt/ local/include -I../../../dist/sdk/include -I/usr/X11R6/include - fPIC -I/opt/local/include -I/usr/X11R6/include -fno-rtti -fno- exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align - Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non- virtual-dtor -Wno-long-long -O2 -fpascal-strings -no-cpp-precomp - fno-common -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O2 -I../../../ dist/include/cairo -DXTHREADS -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/freetype2 -I/opt/local/include/ libpng12 -I/usr/X11R6/include -I/opt/local/include -I/usr/ X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h - Wp,-MD,.deps/nsCanvasRenderingContext2D.pp nsCanvasRenderingContext2D.cpp /opt/local/include/pango-1.0/pango/pangocairo.h:71: error: 'cairo_font_type_t' was not declared in this scope /opt/local/include/pango-1.0/pango/pangocairo.h:73: error: 'cairo_font_type_t' does not name a type nsCanvasRenderingContext2D.cpp:198: warning: 'PRBool FloatValidate (double, double, double)' defined but not used make[4]: *** [nsCanvasRenderingContext2D.o] Error 1 make[3]: *** [libs] Error 2 make[2]: *** [libs] Error 2 make[1]: *** [tier_9] Error 2 make: *** [all] Error 2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>
Any suggestions about how to fix this problem?
I too was having problems trying to install gnucash. I did the following:
1. Edited the portfile and added --enable-system-cairo to the configure.args 2. Re-issued: sudo port install firefox-x11. Since the portfile changed, it re built the whole app.
[snip] Randall, can you look into whether the firefox-x11 port needs to be changed in this way? Thanks.
participants (2)
-
Peter McLain
-
Ryan Schmidt