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" <[EMAIL PROTECTED]>
Date: 07 October 2007 02:03:20
To: nodje <[EMAIL PROTECTED]>
Cc: [email protected]
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 <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]



_______________________________________________
macports-users mailing list
[email protected]
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
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

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






Randall Wood
[EMAIL PROTECTED]
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
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to