[MacPorts] #13350: gimp2 fails to build
#13350: gimp2 fails to build ----------------------------------+----------------------------------------- Reporter: jwhowse4@comcast.net | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: | ----------------------------------+----------------------------------------- Running on an Intel based Mac with Tiger 10.4.11 the package gimp2 fails to build with the following error. gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DVERSION=\"1.20.1\" -DXTHREADS -I/opt/macports/include/atk-1.0 -I/opt/macports/include/glib-2.0 -I/opt/macports/lib/glib-2.0/include -I/opt/macports/include -I/opt/macports/include/gtk-2.0 -I/opt/macports/lib/gtk-2.0/include -I/opt/macports/include/cairo -I/opt/macports/include/pango-1.0 -I/opt/macports/include/freetype2 -I/opt/macports/include/libpng12 -I/usr/X11R6/include -I/usr/X11R6/include -I/opt/macports/include -L/opt/macports/lib -O2 -Wall -MT gailtreeview.lo -MD -MP -MF .deps/gailtreeview.Tpo -c gailtreeview.c -fno-common -DPIC -o .libs/gailtreeview.o gailtreeview.c:22:22: error: gdk/gdkx.h: No such file or directory gailtreeview.c: In function 'gail_tree_view_grab_cell_focus': gailtreeview.c:2231: warning: implicit declaration of function 'gdk_x11_get_server_time' make[2]: *** [gailtreeview.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for gail): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: libgnomeui libbonoboui libgnomecanvas gail libgtkhtml librsvg libcroco libgsf libwmf poppler poppler-data py25-gtk py25-cairo py25-numeric py25-gobject Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350> MacPorts </projects/macports> Ports system for Mac OS
#13350: gimp2 fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Changes (by nox@macports.org): * cc: nomaintainer@macports.org (removed) * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13350: gail fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Changes (by yves@macports.org): * cc: yves@macports.org (removed) * summary: gimp2 fails to build => gail fails to build Comment: This is gail failing to build, not gimp2 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13350: gail fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by yves@macports.org): Since you want gimp2, you can workaround gail with install gimp +without_gnome That is if you won't miss svg support -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13350: gail fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: rhwood@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Changes (by nox@macports.org): * owner: macports-dev@lists.macosforge.org => rhwood@macports.org -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13350: gail fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: rhwood@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by jwhowse4@comcast.net): Replying to [comment:3 yves@macports.org]:
Since you want gimp2, you can workaround gail with
install gimp +without_gnome
That is if you won't miss svg support
I tried your suggestion of building gimp without gnome. The build still fails, this time while trying to compile the package poppler. Just as with gail the compiler complains about a missing header file gdk/gdkx.h g++ -Wall -Wno-unused -O2 -o .libs/gtk-splash-test gtk-splash-test.o -Wl,-bind_at_load -L/opt/macports/lib ../poppler/.libs/libpoppler.dylib -L/usr/X11R6/lib /opt/macports/lib/libglade-2.0.dylib /opt/macports/lib /libgtk-quartz-2.0.dylib /opt/macports/lib/libxml2.dylib -lpthread /opt/macports/lib/libgdk-quartz-2.0.dylib /opt/macports/lib/libatk-1.0.dylib /opt/macports/lib/libgdk_pixbuf-2.0.dylib /opt/macports/lib/libtiff.dylib /opt/macports/lib/libjpeg.dylib /opt/macports/lib/libpangocairo-1.0.dylib /opt/macports/lib/libpangoft2-1.0.dylib /opt/macports/lib/libpango-1.0.dylib -lm /opt/macports/lib/libcairo.dylib -lSM -lICE /opt/macports/lib/libgobject-2.0.dylib /opt/macports/lib/libgmodule-2.0.dylib /opt/macports/lib/libglib-2.0.dylib /opt/macports/lib/libintl.dylib -lc /opt/macports/lib/libfontconfig.dylib /opt/macports/lib/libiconv.dylib /opt/macports/lib/libfreetype.dylib /opt/macports/lib/libexpat.dylib /opt/macports/lib/libpng12.dylib /opt/macports/lib/libXrender.dylib -lX11 -lz /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning prebinding disabled because dependent library: /opt/macports/lib/libpoppler.2.dylib is not prebound creating gtk-splash-test if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../poppler -I.. -I../poppler -I../glib -I../glib -DXTHREADS -I/opt/macports/include/cairo -I/opt/macports/include/freetype2 -I/opt/macports/include -I/opt/macports/include/libpng12 -I/usr/X11R6/include -I/opt/macports/include/freetype2 -I/opt/macports/include -DXTHREADS -I/opt/macports/include/gtk-2.0 -I/opt/macports/lib/gtk-2.0/include -I/opt/macports/include/atk-1.0 -I/opt/macports/include/cairo -I/opt/macports/include/pango-1.0 -I/opt/macports/include/glib-2.0 -I/opt/macports/lib/glib-2.0/include -I/opt/macports/include -I/opt/macports/include/freetype2 -I/opt/macports/include/libpng12 -I/usr/X11R6/include -I/opt/macports/include/libglade-2.0 -I/opt/macports/include/libxml2 -I/opt/macports/include -I/opt/macports/include -Wall -Wno-unused -O2 -MT gtk-cairo-test.o -MD -MP -MF ".deps/gtk-cairo-test.Tpo" -c -o gtk-cairo-test.o gtk-cairo- test.cc; \ then mv -f ".deps/gtk-cairo-test.Tpo" ".deps/gtk-cairo-test.Po"; else rm -f ".deps/gtk-cairo-test.Tpo"; exit 1; fi gtk-cairo-test.cc:18:22: error: gdk/gdkx.h: No such file or directory make[2]: *** [gtk-cairo-test.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for poppler): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: poppler py25-gtk py25-cairo py25-numeric py25-gobject Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13350: gail fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: rhwood@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Changes (by rhwood@macports.org): * status: new => assigned Comment: Try building gimp with gnome, but first try: sudo port install gail +quartz sudo port install poppler +quartz Or see also: [http://shyramblings.blogspot.com/2007/11/gimp-on-mac- os-x-without-x11-from.html Gimp without X11] -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13350: gail fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: rhwood@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by jwhowse4@comcast.net): Replying to [comment:6 rhwood@macports.org]:
Try building gimp with gnome, but first try:
sudo port install gail +quartz sudo port install poppler +quartz
Or see also: [http://shyramblings.blogspot.com/2007/11/gimp-on-mac- os-x-without-x11-from.html Gimp without X11]
Both the gail and poppler builds crash in exactly the same ways as before. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#13350: gail fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: rhwood@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by rhwood@macports.org): I'm sorry, I should have had you try: sudo port clean --all gail sudo port install gail +quartz -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#13350: gail fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: rhwood@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by jwhowse4@comcast.net): Replying to [comment:8 rhwood@macports.org]:
I'm sorry, I should have had you try:
sudo port clean --all gail sudo port install gail +quartz
Now I get the following very cryptic error messages Error: Variant with_quartz conflicts with without_quartz Error: Unable to execute port: Error evaluating variants -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#13350: gail fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: rhwood@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by jwhowse4@comcast.net): Replying to [comment:8 rhwood@macports.org]:
I'm sorry, I should have had you try:
sudo port clean --all gail sudo port install gail +quartz
I tried the following approach. I uninstalled and then cleaned every package that both 'gail' and 'poppler' depend upon. I also cleaned 'gail' and 'poppler'. I then installed 'gtk2' explicitly using the variants '+with_x11 +without_quartz'. After all this 'gail' installs properly. Apparently, using these variants with 'gtk2' installs the header file 'gdkx.h' while using the '+with_quartz' option does not install this file. However 'poppler' still fails, but with a different error message. Any suggestions? Making all in tests /bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -Wno-unused -O2 -L/opt/macports/lib -o test-poppler-qt4 test-poppler-qt4.o ../../poppler/libpoppler.la ../../qt4/src/libpoppler-qt4.la -L/opt/macports/lib -lfontconfig -lexpat -framework ApplicationServices -framework Carbon -framework AppKit -L/opt/macports/lib -L/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work /qt-mac-opensource-src-4.3.2/lib -lQtGui -lpng -lQtXml -lQtTest -lQtCore -lz -lm -liconv -lz libtool: link: cannot find the library `' or unhandled argument `Carbon' make[3]: *** [test-poppler-qt4] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for poppler): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350#comment:10> MacPorts </projects/macports> Ports system for Mac OS
#13350: gail fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: rhwood@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by ryandesign@macports.org): Has duplicate #13429. -- Ticket URL: <https://trac.macports.org/projects/macports/ticket/13350#comment:11> MacPorts </projects/macports> Ports system for Mac OS
#13350: gail fails to build -----------------------------------+---------------------------------------- Reporter: jwhowse4@comcast.net | Owner: rhwood@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: worksforme | Keywords: -----------------------------------+---------------------------------------- Changes (by rhwood@macports.org): * status: assigned => closed * resolution: => worksforme Comment: I think that this ticket is OBE, and I can not replicate it. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13350#comment:12> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts