On 04 Sep 2008, at 13:18, Joachim Beckers wrote:
Hi,
I'm having lots of problems when compiling various packages with macports, and they all come down to one issue: the X11 development headers seem to be missing.
I'm running 10.5.4 (upgraded from 10.5.2) with first Apple's X11 installed, then later upgraded to Xquartz 2.3.1rc1. I also have Xcode 3.1 installed (upgraded from 3.0). This should be enough for everything to work, right?
How can I check wether the headers are really missing, i.e. where should I look for them?
regards,
Joachim
This is an example logfile of what goes wrong: [Users/jbeckers] > install gst-plugins-base ---> Building gst-plugins-base 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_gnome_gst-plugins-base/work/gst-plugins- base-0.10.19" && make all " returned error 2 Command output: Making all in tcp make all-am make[4]: Nothing to be done for `all-am'. Making all in typefind make[3]: Nothing to be done for `all'. Making all in videotestsrc make[3]: Nothing to be done for `all'. Making all in videorate make[3]: Nothing to be done for `all'. Making all in videoscale make[3]: Nothing to be done for `all'. Making all in volume make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in sys Making all in ximage /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -L/ opt/local/lib -o libgstximagesink.la -rpath /opt/local/lib/ gstreamer-0.10 -module -avoid-version -export-symbols-regex '^_*gst_plugin_desc$' -no-undefined libgstximagesink_la-ximagesink.lo libgstximagesink_la-ximage.lo ../../gst-libs/gst/interfaces/ libgstinterfaces-0.10.la ../../gst-libs/gst/video/libgstvideo-0.10.la - L/opt/local/lib -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 - lgmodule-2.0 -lgthread-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 -lintl - liconv -lX11 rm -fr .libs/libgstximagesink.exp generating symbol list for `libgstximagesink.la' /usr/bin/nm -p .libs/libgstximagesink_la-ximagesink.o .libs/ libgstximagesink_la-ximage.o | sed -n -e 's/^.*[ ]\([BCDEGRST] [BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/ bin/sed 's/.* //' | sort | uniq > .libs/libgstximagesink.exp /usr/bin/grep -E -e "^_*gst_plugin_desc$" ".libs/libgstximagesink.exp"
".libs/libgstximagesink.expT" mv -f ".libs/libgstximagesink.expT" ".libs/libgstximagesink.exp" sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < .libs/ libgstximagesink.exp > .libs/libgstximagesink-symbols.expsym /usr/bin/gcc-4.0 -o .libs/libgstximagesink.so -bundle .libs/ libgstximagesink_la-ximagesink.o .libs/libgstximagesink_la-ximage.o - L/opt/local/lib ../../gst-libs/gst/interfaces/.libs/ libgstinterfaces-0.10.dylib /opt/local/lib/libz.dylib ../../gst-libs/ gst/video/.libs/libgstvideo-0.10.dylib /opt/local/lib/ libgstbase-0.10.dylib /opt/local/lib/libgstreamer-0.10.dylib /opt/ local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib / opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libxml2.dylib - lpthread -lz -lm /opt/local/lib/libglib-2.0.dylib /opt/local/lib/ libintl.dylib /opt/local/lib/libiconv.dylib -lX11 ld: library not found for -lX11 collect2: ld returned 1 exit status make[3]: *** [libgstximagesink.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: Status 1 encountered during processing. The problem is still there with XQuartz 2.3.1rc3 installed BTW. Joachim