Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12736 closed defect (fixed)

gnucash compile fails

Reported by: nick@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: gnucash Cc:
Port:

Description

Macbook Pro 2.2Ghz, Latest Stable X-Code for 10.4, Port sync and selfupdate current.

Command issued: sudo port -d install gnucash

--snip-- /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

Warning: the following items did not execute (for firefox-x11): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: gnucash-docs yelp firefox-x11 libgtkhtml goffice libgnomeprintui libgnomeprint libgnomecups cups-headers guile16 readline libgtkhtml3 p5-finance-quote p5-crypt-ssleay p5-libwww-perl p5-compress-zlib p5-compress-raw-zlib p5-io-compress-base p5-scalar-list-utils p5-io-compress-zlib p5-html-parser p5-html-tagset p5-uri p5-datemanip p5-html-tableextract slib slib-guile16 Error: Status 1 encountered during processing.

--/snip--

Change History (7)

comment:1 Changed 17 years ago by macforge@…

I can confirm this bug on PPC too (ibook G4). I could get most of the dependencies to build, except for those listed after the warning below.

--snip--

c++ -o nsCanvasRenderingContext2D.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"Darwin8.10.0\" -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

Warning: the following items did not execute (for firefox-x11): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: gnucash-docs yelp firefox-x11 goffice Error: Status 1 encountered during processing.

--/snip--

comment:2 Changed 17 years ago by mas@…

Please note that firefox-x11 is only required for displaying documentation using yelp, the gnome help viewer. If you're happy with reading the online version of the docs, you can build gnucash without installing documentation packages:

sudo port install gnucash +without_docs

comment:3 Changed 17 years ago by macforge@…

thanks for the tip. this got fixed for me with a recent ports update though. (thanks to whomever for that too!)

comment:4 Changed 17 years ago by cssdev

Milestone: Port Bugs
Owner: changed from macports-dev@… to mas@…
Summary: GNUCash cash compile failsgnucash compile fails

Assigning this to the maintainer, but it looks like the original issue has been resolved.

comment:5 Changed 17 years ago by mas@…

Owner: changed from mas@… to macports-tickets@…

comment:6 Changed 17 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Marking fixed based on comment:3.

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.