Problem installing Firefox-X11 with Gnucash

View: New views
17 Messages — Rating Filter:   Alert me  

Problem installing Firefox-X11 with Gnucash

by David Rowe-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

David Rowe
 
_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by nodje :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

+1
exact same problem

-nodje

David Rowe-2 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?

David Rowe
 
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by David Rowe-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

nodje wrote:

> +1
> exact same problem
>
> -nodje
>
>
> David Rowe-2 wrote:
>  
>> . . .
>>    
    Doing a clean install of gnucash

>> sudo port install gnucash.
>>
>> However, the install process crashes during the install of firefox-x11
>>    
  . . .


Peter McLain provided workarounds for this in his messages:
'parse error before 'GdkPixbuf' when installing goffice 0.3.8' on
20/9/07 17:15
'parse error before 'GdkPixbuf' when installing goffice 0.3.8' on
20/9/07 18:43

see also the minor correction from Michael Hart on 21/9/07 01:27

These corrections worked for me and I am using the resulting
installation of Gnucash. Many thanks to all concerned for the fix.
I don't think the corrections have been applied to the main distribution
of Macports Gnucash yet - you have to apply Peter McLain's corrections
manually

BTW:  Gnucash Help/Yelp still doesn't work. I have had no replies to my
message of 21/9/07

Regards

David Rowe
_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by nodje :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Weird, it doesn't seems to work for me.
I executed this line:

sudo sed -i .bak '/GTK_DISABLE_DEPRECATED/d' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/configure

which as understand is exactly what they've done for goffice.

but I still get the error. I must admit I don't really understand what's going on here, but I can't execute that on the gnucash port itself since at this stage of the build process the ...gnucash.../work/.../configure doesn't exist yet.

thanks for the help

David Rowe-2 wrote:
nodje wrote:
> +1
> exact same problem
>
> -nodje
>
>
> David Rowe-2 wrote:
>  
>> . . .
>>    
    Doing a clean install of gnucash

>> sudo port install gnucash.
>>
>> However, the install process crashes during the install of firefox-x11
>>    
  . . .


Peter McLain provided workarounds for this in his messages:
'parse error before 'GdkPixbuf' when installing goffice 0.3.8' on
20/9/07 17:15
'parse error before 'GdkPixbuf' when installing goffice 0.3.8' on
20/9/07 18:43

see also the minor correction from Michael Hart on 21/9/07 01:27

These corrections worked for me and I am using the resulting
installation of Gnucash. Many thanks to all concerned for the fix.
I don't think the corrections have been applied to the main distribution
of Macports Gnucash yet - you have to apply Peter McLain's corrections
manually

BTW:  Gnucash Help/Yelp still doesn't work. I have had no replies to my
message of 21/9/07

Regards

David Rowe
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by Peter McLain :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sep 27, 2007, at 8:08 PM, nodje wrote:

>
> Weird, it doesn't seems to work for me.
> I executed this line:
>
> sudo sed -i .bak '/GTK_DISABLE_DEPRECATED/d'
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_f
> irefox-x11/work/mozilla/configure
>

   Did you do the first two steps?  From your other comments, it  
sounds like you didn't have the port installed, so the first to port  
commands below should change that.  If that's not the problem,  
perhaps you've installed ports in a non-default location?

       # First, clean out the old build.  Next, we do everything
       # up to, but not including, the configure stage:
       $ sudo port clean goffice
       $ sudo port patch goffice

       # It seems that GtkTooltips is deprecated, but many
       # files in goffice use it.  So, we'll re-enable the
       # deprecated GTK features in the build by removing a
       # line in the configure script:

       $ sudo sed -i .bak /GTK_DISABLE_DEPRECATED/d \
             /opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_g
office/work/goffice-0.3.8/configure

       # Now, we pick up with the configure, build and install of
       # goffice:

       $ sudo port install goffice


> which as understand is exactly what they've done for goffice.
>
> but I still get the error. I must admit I don't really understand  
> what's
> going on here, but I can't execute that on the gnucash port itself  
> since at
> this stage of the build process the ...gnucash.../work/.../
> configure doesn't
> exist yet.
>
> thanks for the help
>
--  
Peter McLain
peter.mclain@...



_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by nodje :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hum, thanks for the pragmatic answer, but I till can't get it to work.

here's what I did:
$ sudo port clean gnucash
$ sudo port patch gnucash

$ sudo sed -i .bak '/GTK_DISABLE_DEPRECATED/d' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/configure

$ sudo port install gnucash

and as a result I still get:

--->  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: gmake[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/widget/src/gtkxtbin'
gmake[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/widget/src'
gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/widget'
gmake[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content'
gmake[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base'
gmake[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/public'
/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
gmake[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/public'
gmake[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/src'
/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
gmake[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/src'
gmake[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base'
gmake[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas'
gmake[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/public'
gmake[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/public'
gmake[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/src'
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
gmake[4]: *** [nsCanvasRenderingContext2D.o] Error 1
gmake[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla'
make: *** [all] Error 2

Error: The following dependencies failed to build: gnucash-docs yelp firefox-x11 libgtkhtml goffice libgnomeprintui libgnomeprint libgnomecups cups-headers pcre 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.

btw, I have the exact same problem when trying to install epiphany

/nodje


Peter McLain wrote:
On Sep 27, 2007, at 8:08 PM, nodje wrote:

>
> Weird, it doesn't seems to work for me.
> I executed this line:
>
> sudo sed -i .bak '/GTK_DISABLE_DEPRECATED/d'
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_f
> irefox-x11/work/mozilla/configure
>

   Did you do the first two steps?  From your other comments, it  
sounds like you didn't have the port installed, so the first to port  
commands below should change that.  If that's not the problem,  
perhaps you've installed ports in a non-default location?

       # First, clean out the old build.  Next, we do everything
       # up to, but not including, the configure stage:
       $ sudo port clean goffice
       $ sudo port patch goffice

       # It seems that GtkTooltips is deprecated, but many
       # files in goffice use it.  So, we'll re-enable the
       # deprecated GTK features in the build by removing a
       # line in the configure script:

       $ sudo sed -i .bak /GTK_DISABLE_DEPRECATED/d \
             /opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_g
office/work/goffice-0.3.8/configure

       # Now, we pick up with the configure, build and install of
       # goffice:

       $ sudo port install goffice


> which as understand is exactly what they've done for goffice.
>
> but I still get the error. I must admit I don't really understand  
> what's
> going on here, but I can't execute that on the gnucash port itself  
> since at
> this stage of the build process the ...gnucash.../work/.../
> configure doesn't
> exist yet.
>
> thanks for the help
>
--  
Peter McLain
peter.mclain@gmail.com



_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by James Schofield :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I ran into the same problem today. This worked for me:

$ sudo port clean --work firefox-x11
$ sudo port patch firefox-x11

Edit the firefox-x11 Portfile
(/opt/local/var/macports/sources/rsync.macports.org/release/ports/www/firefox-x11/Portfile).
Add "--enable-system-cairo" to the configure.args section.

$ sudo port install firefox-x11

-James

On 10/4/07, nodje <nodje.co@...> wrote:

>
> hum, thanks for the pragmatic answer, but I till can't get it to work.
>
> here's what I did:
> $ sudo port clean gnucash
> $ sudo port patch gnucash
>
> $ sudo sed -i .bak '/GTK_DISABLE_DEPRECATED/d'
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/configure
>
> $ sudo port install gnucash
>
> and as a result I still get:
>
> --->  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: gmake[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/widget/src/gtkxtbin'
> gmake[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/widget/src'
> gmake[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/widget'
> gmake[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content'
> gmake[3]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base'
> gmake[4]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/public'
> /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
> gmake[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/public'
> gmake[4]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/src'
> /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
> gmake[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/src'
> gmake[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base'
> gmake[3]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas'
> gmake[4]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/public'
> gmake[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/public'
> gmake[4]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/src'
> 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
> gmake[4]: *** [nsCanvasRenderingContext2D.o] Error 1
> gmake[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/src'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas'
> gmake[2]: *** [libs] Error 2
> gmake[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content'
> gmake[1]: *** [tier_9] Error 2
> gmake[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla'
> make: *** [all] Error 2
>
> Error: The following dependencies failed to build: gnucash-docs yelp
> firefox-x11 libgtkhtml goffice libgnomeprintui libgnomeprint libgnomecups
> cups-headers pcre 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.
>
> btw, I have the exact same problem when trying to install epiphany
>
> /nodje
>
>
>
> Peter McLain wrote:
> >
> >
> > On Sep 27, 2007, at 8:08 PM, nodje wrote:
> >
> >>
> >> Weird, it doesn't seems to work for me.
> >> I executed this line:
> >>
> >> sudo sed -i .bak '/GTK_DISABLE_DEPRECATED/d'
> >> /opt/local/var/macports/build/
> >> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_f
> >> irefox-x11/work/mozilla/configure
> >>
> >
> >    Did you do the first two steps?  From your other comments, it
> > sounds like you didn't have the port installed, so the first to port
> > commands below should change that.  If that's not the problem,
> > perhaps you've installed ports in a non-default location?
> >
> >        # First, clean out the old build.  Next, we do everything
> >        # up to, but not including, the configure stage:
> >        $ sudo port clean goffice
> >        $ sudo port patch goffice
> >
> >        # It seems that GtkTooltips is deprecated, but many
> >        # files in goffice use it.  So, we'll re-enable the
> >        # deprecated GTK features in the build by removing a
> >        # line in the configure script:
> >
> >        $ sudo sed -i .bak /GTK_DISABLE_DEPRECATED/d \
> >              /opt/local/var/macports/build/
> > _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_g
> > office/work/goffice-0.3.8/configure
> >
> >        # Now, we pick up with the configure, build and install of
> >        # goffice:
> >
> >        $ sudo port install goffice
> >
> >
> >> which as understand is exactly what they've done for goffice.
> >>
> >> but I still get the error. I must admit I don't really understand
> >> what's
> >> going on here, but I can't execute that on the gnucash port itself
> >> since at
> >> this stage of the build process the ...gnucash.../work/.../
> >> configure doesn't
> >> exist yet.
> >>
> >> thanks for the help
> >>
> > --
> > Peter McLain
> > peter.mclain@...
> >
> >
> >
> > _______________________________________________
> > macports-users mailing list
> > macports-users@...
> > http://lists.macosforge.org/mailman/listinfo/macports-users
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Problem-installing-Firefox-X11-with-Gnucash-tf4472748.html#a13041593
> Sent from the MacPorts - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> macports-users mailing list
> macports-users@...
> http://lists.macosforge.org/mailman/listinfo/macports-users
>
_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Parent Message unknown Re: Problem installing Firefox-X11 with Gnucash

by Randall Wood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The fixed portfile was commited to SVN in changeset:29716 (https://
svn.macosforge.org/projects/macports/changeset/29716)

On 7 Oct 2007, at 23:01, Boey Maun Suang wrote:

> Hi Randall,
>
> In case you haven't seen this on macports-users, I'm forwarding  
> this apparent bug and solution discussion regarding firefox-x11.  
> As it hasn't yet been archived into lists.macosforge.org, you may  
> find it easier to look at the message below on Nabble [1].
>
> Kind regards,
>
>
> Maun Suang
>
> [1] http://www.nabble.com/Re%3A-Problem-installing-Firefox-X11-with- 
> Gnucash-p13075068.html
>
>
>
> Begin forwarded message:
>
>> From: "James Schofield" <schofield.james@...>
>> Date: 07 October 2007 02:03:20
>> To: nodje <nodje.co@...>
>> Cc: macports-users@...
>> Subject: Re: Problem installing Firefox-X11 with Gnucash
>>
>> I ran into the same problem today. This worked for me:
>>
>> $ sudo port clean --work firefox-x11
>> $ sudo port patch firefox-x11
>>
>> Edit the firefox-x11 Portfile
>> (/opt/local/var/macports/sources/rsync.macports.org/release/ports/
>> www/firefox-x11/Portfile).
>> Add "--enable-system-cairo" to the configure.args section.
>>
>> $ sudo port install firefox-x11
>>
>> -James
>>
>> On 10/4/07, nodje <nodje.co@...> wrote:
>>>
>>> hum, thanks for the pragmatic answer, but I till can't get it to  
>>> work.
>>>
>>> here's what I did:
>>> $ sudo port clean gnucash
>>> $ sudo port patch gnucash
>>>
>>> $ sudo sed -i .bak '/GTK_DISABLE_DEPRECATED/d'
>>> /opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/configure
>>>
>>> $ sudo port install gnucash
>>>
>>> and as a result I still get:
>>>
>>> --->  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: gmake[4]: Leaving directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/widget/src/gtkxtbin'
>>> gmake[3]: Leaving directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/widget/src'
>>> gmake[2]: Leaving directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/widget'
>>> gmake[2]: Entering directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content'
>>> gmake[3]: Entering directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/base'
>>> gmake[4]: Entering directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/base/public'
>>> /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
>>> gmake[4]: Leaving directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/base/public'
>>> gmake[4]: Entering directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/base/src'
>>> /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
>>> gmake[4]: Leaving directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/base/src'
>>> gmake[3]: Leaving directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/base'
>>> gmake[3]: Entering directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/canvas'
>>> gmake[4]: Entering directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/canvas/public'
>>> gmake[4]: Leaving directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/canvas/public'
>>> gmake[4]: Entering directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/canvas/src'
>>> 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
>>> gmake[4]: *** [nsCanvasRenderingContext2D.o] Error 1
>>> gmake[4]: Leaving directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/canvas/src'
>>> gmake[3]: *** [libs] Error 2
>>> gmake[3]: Leaving directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content/canvas'
>>> gmake[2]: *** [libs] Error 2
>>> gmake[2]: Leaving directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla/content'
>>> gmake[1]: *** [tier_9] Error 2
>>> gmake[1]: Leaving directory
>>> `/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _firefox-x11/work/mozilla'
>>> make: *** [all] Error 2
>>>
>>> Error: The following dependencies failed to build: gnucash-docs yelp
>>> firefox-x11 libgtkhtml goffice libgnomeprintui libgnomeprint  
>>> libgnomecups
>>> cups-headers pcre 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.
>>>
>>> btw, I have the exact same problem when trying to install epiphany
>>>
>>> /nodje
>>>
>>>
>>>
>>> Peter McLain wrote:
>>>>
>>>>
>>>> On Sep 27, 2007, at 8:08 PM, nodje wrote:
>>>>
>>>>>
>>>>> Weird, it doesn't seems to work for me.
>>>>> I executed this line:
>>>>>
>>>>> sudo sed -i .bak '/GTK_DISABLE_DEPRECATED/d'
>>>>> /opt/local/var/macports/build/
>>>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_w
>>>>> ww_f
>>>>> irefox-x11/work/mozilla/configure
>>>>>
>>>>
>>>>    Did you do the first two steps?  From your other comments, it
>>>> sounds like you didn't have the port installed, so the first to  
>>>> port
>>>> commands below should change that.  If that's not the problem,
>>>> perhaps you've installed ports in a non-default location?
>>>>
>>>>        # First, clean out the old build.  Next, we do everything
>>>>        # up to, but not including, the configure stage:
>>>>        $ sudo port clean goffice
>>>>        $ sudo port patch goffice
>>>>
>>>>        # It seems that GtkTooltips is deprecated, but many
>>>>        # files in goffice use it.  So, we'll re-enable the
>>>>        # deprecated GTK features in the build by removing a
>>>>        # line in the configure script:
>>>>
>>>>        $ sudo sed -i .bak /GTK_DISABLE_DEPRECATED/d \
>>>>              /opt/local/var/macports/build/
>>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_gn
>>>> ome_g
>>>> office/work/goffice-0.3.8/configure
>>>>
>>>>        # Now, we pick up with the configure, build and install of
>>>>        # goffice:
>>>>
>>>>        $ sudo port install goffice
>>>>
>>>>
>>>>> which as understand is exactly what they've done for goffice.
>>>>>
>>>>> but I still get the error. I must admit I don't really understand
>>>>> what's
>>>>> going on here, but I can't execute that on the gnucash port itself
>>>>> since at
>>>>> this stage of the build process the ...gnucash.../work/.../
>>>>> configure doesn't
>>>>> exist yet.
>>>>>
>>>>> thanks for the help
>>>>>
>>>> --
>>>> Peter McLain
>>>> peter.mclain@...
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> macports-users mailing list
>>>> macports-users@...
>>>> http://lists.macosforge.org/mailman/listinfo/macports-users
>>>>
>>>>
>>>
>>> --
>>> View this message in context: http://www.nabble.com/Problem- 
>>> installing-Firefox-X11-with-Gnucash-tf4472748.html#a13041593
>>> Sent from the MacPorts - Users mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> macports-users mailing list
>>> macports-users@...
>>> http://lists.macosforge.org/mailman/listinfo/macports-users
>>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users@...
>> http://lists.macosforge.org/mailman/listinfo/macports-users
>
> --
> Boey Maun Suang (Boey is my surname)
> Email: boeyms at macports dot org
>
>
>



Randall Wood
rhwood@...
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."


_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by nodje :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

cheers James, it worked for me.
I successfully compiled gnucash.

but it won't start though, I get this:

gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

Is it something I should modify at configuration? or is it my system that lacks something?

/nodje

James Schofield wrote:
I ran into the same problem today. This worked for me:

$ sudo port clean --work firefox-x11
$ sudo port patch firefox-x11

Edit the firefox-x11 Portfile
(/opt/local/var/macports/sources/rsync.macports.org/release/ports/www/firefox-x11/Portfile).
Add "--enable-system-cairo" to the configure.args section.

$ sudo port install firefox-x11

-James

On 10/4/07, nodje <nodje.co@gmail.com> wrote:
>
> hum, thanks for the pragmatic answer, but I till can't get it to work.
>
> here's what I did:
> $ sudo port clean gnucash
> $ sudo port patch gnucash
>
> $ sudo sed -i .bak '/GTK_DISABLE_DEPRECATED/d'
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/configure
>
> $ sudo port install gnucash
>
> and as a result I still get:
>
> --->  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: gmake[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/widget/src/gtkxtbin'
> gmake[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/widget/src'
> gmake[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/widget'
> gmake[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content'
> gmake[3]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base'
> gmake[4]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/public'
> /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
> gmake[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/public'
> gmake[4]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/src'
> /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
> gmake[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base/src'
> gmake[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/base'
> gmake[3]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas'
> gmake[4]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/public'
> gmake[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/public'
> gmake[4]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/src'
> 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
> gmake[4]: *** [nsCanvasRenderingContext2D.o] Error 1
> gmake[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas/src'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content/canvas'
> gmake[2]: *** [libs] Error 2
> gmake[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla/content'
> gmake[1]: *** [tier_9] Error 2
> gmake[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_firefox-x11/work/mozilla'
> make: *** [all] Error 2
>
> Error: The following dependencies failed to build: gnucash-docs yelp
> firefox-x11 libgtkhtml goffice libgnomeprintui libgnomeprint libgnomecups
> cups-headers pcre 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.
>
> btw, I have the exact same problem when trying to install epiphany
>
> /nodje
>
>
>
> Peter McLain wrote:
> >
> >
> > On Sep 27, 2007, at 8:08 PM, nodje wrote:
> >
> >>
> >> Weird, it doesn't seems to work for me.
> >> I executed this line:
> >>
> >> sudo sed -i .bak '/GTK_DISABLE_DEPRECATED/d'
> >> /opt/local/var/macports/build/
> >> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_f
> >> irefox-x11/work/mozilla/configure
> >>
> >
> >    Did you do the first two steps?  From your other comments, it
> > sounds like you didn't have the port installed, so the first to port
> > commands below should change that.  If that's not the problem,
> > perhaps you've installed ports in a non-default location?
> >
> >        # First, clean out the old build.  Next, we do everything
> >        # up to, but not including, the configure stage:
> >        $ sudo port clean goffice
> >        $ sudo port patch goffice
> >
> >        # It seems that GtkTooltips is deprecated, but many
> >        # files in goffice use it.  So, we'll re-enable the
> >        # deprecated GTK features in the build by removing a
> >        # line in the configure script:
> >
> >        $ sudo sed -i .bak /GTK_DISABLE_DEPRECATED/d \
> >              /opt/local/var/macports/build/
> > _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_g
> > office/work/goffice-0.3.8/configure
> >
> >        # Now, we pick up with the configure, build and install of
> >        # goffice:
> >
> >        $ sudo port install goffice
> >
> >
> >> which as understand is exactly what they've done for goffice.
> >>
> >> but I still get the error. I must admit I don't really understand
> >> what's
> >> going on here, but I can't execute that on the gnucash port itself
> >> since at
> >> this stage of the build process the ...gnucash.../work/.../
> >> configure doesn't
> >> exist yet.
> >>
> >> thanks for the help
> >>
> > --
> > Peter McLain
> > peter.mclain@gmail.com
> >
> >
> >
> > _______________________________________________
> > macports-users mailing list
> > macports-users@lists.macosforge.org
> > http://lists.macosforge.org/mailman/listinfo/macports-users
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Problem-installing-Firefox-X11-with-Gnucash-tf4472748.html#a13041593
> Sent from the MacPorts - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> macports-users mailing list
> macports-users@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
>
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by James Schofield :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10/8/07, nodje <nodje.co@...> wrote:

>
> cheers James, it worked for me.
> I successfully compiled gnucash.
>
> but it won't start though, I get this:
>
> gnc.bin-Message: main: binreloc relocation support was disabled at configure
> time.
>
> Is it something I should modify at configuration? or is it my system that
> lacks something?

That message seems harmless (Google the message, it's come up before
on this list).

gnucash is working fine for me now. Are you running X11?

James
_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by nodje :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

all right, it works fine when I start it from XDarwin.
sorry for the post but I thought X11 would be kind of kicked on demand.

cheers

James Schofield wrote:
On 10/8/07, nodje <nodje.co@gmail.com> wrote:
>
> cheers James, it worked for me.
> I successfully compiled gnucash.
>
> but it won't start though, I get this:
>
> gnc.bin-Message: main: binreloc relocation support was disabled at configure
> time.
>
> Is it something I should modify at configuration? or is it my system that
> lacks something?

That message seems harmless (Google the message, it's come up before
on this list).

gnucash is working fine for me now. Are you running X11?

James
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by Boey Maun Suang-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

> sorry for the post but I thought X11 would be kind of kicked on  
> demand.

Unfortunately not.  Almost all programs written for X11 are written  
with the expectation that X11 is the windowing system being used (by  
contrast with, say, Aqua on Mac OS X or the Windows GUI), and so  
don't know anything about other windowing systems.  Some projects  
provide a wrapper to automatically launch X11 if it isn't already  
running so that the main program will then work, but the only one  
that I know of that does this is the binary release of  
OpenOffice.org.  It might be possible to add some code to MacPorts to  
provide a wrapper script for all X11 software to make launching  
easier in this way, but I don't really know how to do that.

Kind regards,


Maun Suang

--
Boey Maun Suang (Boey is my surname)
Email: boeyms at macports dot org



_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by Emmanuel Hainry-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Citando Boey Maun Suang :

>  Hi there,
>
> > sorry for the post but I thought X11 would be kind of kicked on demand.
>
>  Unfortunately not.  Almost all programs written for X11 are written with the
>  expectation that X11 is the windowing system being used (by contrast with,
>  say, Aqua on Mac OS X or the Windows GUI), and so don't know anything about
>  other windowing systems.  Some projects provide a wrapper to automatically
>  launch X11 if it isn't already running so that the main program will then
>  work, but the only one that I know of that does this is the binary release
>  of OpenOffice.org.  It might be possible to add some code to MacPorts to
>  provide a wrapper script for all X11 software to make launching easier in
>  this way, but I don't really know how to do that.
>
The simplest way would be to use the 'open-x11' command.
        open-x11 oclock
should launch x11 if necessary, then oclock.


Emmanuel


_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

attachment0 (193 bytes) Download Attachment

Re: Problem installing Firefox-X11 with Gnucash

by Boey Maun Suang-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 11/10/2007, at 23:36, Emmanuel Hainry wrote:

> The simplest way would be to use the 'open-x11' command.
> open-x11 oclock
> should launch x11 if necessary, then oclock.

Now _that's_ something we should add to the new documentation!  
Thanks, Emmanuel!

Kind regards,


Maun Suang

--
Boey Maun Suang (Boey is my surname)
Email: boeyms at macports dot org



_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

Re: Problem installing Firefox-X11 with Gnucash

by nodje :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thanks Maun Suang,

both posts very helful!

-Jean

Boey Maun Suang wrote:

> Hi there,
>
>> sorry for the post but I thought X11 would be kind of kicked on demand.
>
> Unfortunately not.  Almost all programs written for X11 are written
> with the expectation that X11 is the windowing system being used (by
> contrast with, say, Aqua on Mac OS X or the Windows GUI), and so don't
> know anything about other windowing systems.  Some projects provide a
> wrapper to automatically launch X11 if it isn't already running so
> that the main program will then work, but the only one that I know of
> that does this is the binary release of OpenOffice.org.  It might be
> possible to add some code to MacPorts to provide a wrapper script for
> all X11 software to make launching easier in this way, but I don't
> really know how to do that.
>
> Kind regards,
>
>
> Maun Suang
>


_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users

smime.p7s (4K) Download Attachment

Re: Problem installing Firefox-X11 with Gnucash

by Alwyn Schoeman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone,

I'm having the same problem with gnucash.  

However, I don't want to install firefox-x11 using macports as I already use the dmg from the Mozilla foundation.

How can I specify that it should not use firefox-x11 when I build gnucash?

Thanks
Alwyn

Re: Problem installing Firefox-X11 with Gnucash

by Randall Wood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 3 Nov 2007, at 03:29, Alwyn Schoeman wrote:

>
> Hi everyone,
>
> I'm having the same problem with gnucash.
>
> However, I don't want to install firefox-x11 using macports as I  
> already use
> the dmg from the Mozilla foundation.

The Mozilla supplied Firefox can not be used to build X11-based  
applications against.

> How can I specify that it should not use firefox-x11 when I build  
> gnucash?

sudo port install gnucash +without_docs should not attempt to install  
yelp (which depends on firefox-x11) or the gnucash documentation.

> Thanks
> Alwyn
> --
> View this message in context: http://www.nabble.com/Problem- 
> installing-Firefox-X11-with-Gnucash-tf4472748.html#a13486573
> Sent from the MacPorts - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> macports-users mailing list
> macports-users@...
> http://lists.macosforge.org/mailman/listinfo/macports-users



Randall Wood
rhwood@...
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."


_______________________________________________
macports-users mailing list
macports-users@...
http://lists.macosforge.org/mailman/listinfo/macports-users