Fwd: MacPorts - Problem installing gtk2
Randall Wood
rhwood at mac.com
Mon Sep 3 15:12:40 PDT 2007
Begin forwarded message:
> From: Stefanie Sutter <koalabears at mac.com>
> Date: 31 August 2007 07:41:54 EDT
> To: rhwood at macports.org
> Subject: MacPorts - Problem installing gtk2
>
> Hello,
>
> I hope you can help me...
> I'm trying to install the gtk2 and I get the below-mentioned error
> message.
> I also tried to install the gtk28 --> same error message
>
> (Powerbook, 1,67 GHz PPC G4, 1.5 GB Memory, Mac OS X 10.4.10,
> latest version of the XCode-Tools and MacPorts)
>
> Is there something I have to do to get this to work?
>
> Thanks.
>
> Steffi
>
>
>
> Error message:
>
> Building gtk2 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_x11_g
> tk2/work/gtk+-2.10.14" && make all CFLAGS+="-I/usr/X11R6/include" "
> returned error 2
> Command output: gcc ${wl}-flat_namespace ${wl}-undefined ${wl}
> suppress -o .libs/libprintbackend-lpr.so -bundle .libs/
> gtkprintbackendlpr.o -L/opt/local/lib -L/usr/X11R6/lib /opt/local/
> lib/libpangocairo-1.0.dylib /usr/X11R6/lib/libSM.dylib /usr/X11R6/
> lib/libICE.dylib /usr/X11R6/lib/libX11.dylib /opt/local/lib/
> libpangoft2-1.0.dylib /opt/local/lib/libz.dylib /opt/local/lib/
> libpango-1.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/
> libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/
> lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/
> libiconv.dylib /opt/local/lib/libcairo.dylib -lSM -lICE /opt/local/
> lib/libfreetype.dylib -lz /opt/local/lib/libfontconfig.dylib /opt/
> local/lib/libexpat.dylib /opt/local/lib/libXrender.dylib -lX11 /opt/
> local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/
> libpng12.dylib -lm ../../../gtk/.libs/libgtk-x11-2.0.dylib /opt/
> local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_g
> tk2/work/gtk+-2.10.14/gdk/.libs/libgdk-x11-2.0.dylib /usr/X11R6/lib/
> libXrandr.dylib /usr/X11R6/lib/libXinerama.dylib /usr/X11R6/lib/
> libXext.dylib /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_g
> tk2/work/gtk+-2.10.14/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib
> /usr/bin/ld: warning -prebind has no effect with -bundle
> creating libprintbackend-lpr.la
> (cd .libs && rm -f libprintbackend-lpr.la && ln -s ../
> libprintbackend-lpr.la libprintbackend-lpr.la)
> Making all in cups
> if /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -
> I. -I../../.. -I../../.. -I../../../gtk -I../../../gtk -I../../../
> gdk -I../../../gdk -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -
> D_REENTRANT -DXTHREADS -I/opt/local/include/glib-2.0 -I/opt/local/
> lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/
> pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2
> -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/
> include/atk-1.0 -DG_DISABLE_CAST_CHECKS -I/opt/local/include -
> no-cpp-precomp -DX_LOCALE -I/usr/X11R6/include -I/usr/X11R6/
> include -MT gtkprintbackendcups.lo -MD -MP -MF ".deps/
> gtkprintbackendcups.Tpo" \
> -c -o gtkprintbackendcups.lo `test -f 'gtkprintbackendcups.c' ||
> echo './'`gtkprintbackendcups.c; \
> then mv -f ".deps/gtkprintbackendcups.Tpo" ".deps/
> gtkprintbackendcups.Plo"; \
> else rm -f ".deps/gtkprintbackendcups.Tpo"; exit 1; \
> fi
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../gtk -
> I../../../gtk -I../../../gdk -I../../../gdk -
> DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -D_REENTRANT -DXTHREADS -I/
> opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/
> local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/
> cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -
> I/usr/X11R6/include -I/opt/local/include/atk-1.0 -
> DG_DISABLE_CAST_CHECKS -I/opt/local/include -no-cpp-precomp -
> DX_LOCALE -I/usr/X11R6/include -I/usr/X11R6/include -MT
> gtkprintbackendcups.lo -MD -MP -MF .deps/gtkprintbackendcups.Tpo -c
> gtkprintbackendcups.c -fno-common -DPIC -o .libs/
> gtkprintbackendcups.o
> gtkprintbackendcups.c: In function 'create_pickone_option':
> gtkprintbackendcups.c:1937: error: 'ppd_coption_t' undeclared
> (first use in this function)
> gtkprintbackendcups.c:1937: error: (Each undeclared identifier is
> reported only once
> gtkprintbackendcups.c:1937: error: for each function it appears in.)
> gtkprintbackendcups.c:1937: error: 'coption' undeclared (first use
> in this function)
> gtkprintbackendcups.c:1959: error: 'ppd_cparam_t' undeclared (first
> use in this function)
> gtkprintbackendcups.c:1959: error: 'cparam' undeclared (first use
> in this function)
> gtkprintbackendcups.c:1963: warning: comparison between pointer and
> integer
> gtkprintbackendcups.c:1967: error: 'PPD_CUSTOM_INT' undeclared
> (first use in this function)
> gtkprintbackendcups.c:1971: error: 'PPD_CUSTOM_PASSCODE' undeclared
> (first use in this function)
> gtkprintbackendcups.c:1975: error: 'PPD_CUSTOM_PASSWORD' undeclared
> (first use in this function)
> gtkprintbackendcups.c:1979: error: 'PPD_CUSTOM_REAL' undeclared
> (first use in this function)
> gtkprintbackendcups.c:1983: error: 'PPD_CUSTOM_STRING' undeclared
> (first use in this function)
> make[4]: *** [gtkprintbackendcups.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: The following dependencies failed to build: gtk2
> Error: Status 1 encountered during processing.
Randall Wood
rhwood at mac.com
http://shyramblings.blogspot.com
"The rules are simple: The ball is round. The game lasts 90 minutes.
All the
rest is just philosophy."
More information about the macports-users
mailing list