From: Alexander K. H. <ak...@fi...> - 2007-07-24 19:07:24
|
Noah wrote: > Is there an easy way to fix this situation? > > Let's check a few things: ls -l /usr/X11R6/bin/xmkmf ls -l /usr/X11R6/include/X11 ls -l /usr/X11R6/lib/libX11.6.dylib Also, did you do anything special involving X11 prior to getting these errors? > > Alexander K. Hansen wrote: >> Noah wrote: >>> Macintosh-2:/tmp root# cd /tmp >>> Macintosh-2:/tmp root# printf "test:\n" >Imakefile >>> Macintosh-2:/tmp root# printf "\t%s '%s'\n" @echo >>> 'incroot="${INCROOT}"' >>Imakefile >>> Macintosh-2:/tmp root# printf "\t%s '%s'\n" @echo >>> 'usrlibdir="${USRLIBDIR}"' >>Imakefile >>> Macintosh-2:/tmp root# printf "\t%s '%s'\n" @echo >>> 'libdir="${LIBDIR}"' >>Imakefile >>> Macintosh-2:/tmp root# xmkmf >>> su: xmkmf: command not found >>> Macintosh-2:/tmp root# make test >>> make: *** No rule to make target `test'. Stop. >>> Macintosh-2:/tmp root# >>> >>> >>> >>> >>> >>> >> xmkmf is supposed installed as part of the X11User package. >> >> Something's very strange with your X11 setup: >> >> checking for X... libraries /usr/X11R6/lib, headers checking for >> tclConfig.sh... /sw/lib/tclConfig.sh >> checking for tkConfig.sh... /sw/lib/tkConfig.sh >> checking for XExtendedMaxRequestSize... yes >> checking BLT_MAJOR_VERSION... 2 >> checking BLT_MINOR_VERSION... 4 >> checking TCL_VERSION in tcl.h... 8.4 >> checking TK_VERSION in tk.h... 8.4 >> >> Configuration results: >> >> tcl.h found in /sw/include >> tk.h found in /sw/include >> X11/Xlib.h found in libtcl8.4 found in /sw/lib >> libtk8.4 found in /sw/lib >> libX11 found in /usr/X11R6/lib >> >> >> >> i.e. the headers aren't being detected, apparently. >> >> ... >> >> gcc -Wall -O3 -fno-common -I. -I. -I/sw/include -o bltwish \ >> -DTCLLIBPATH=\"/sw/lib/tcl8.4\" \ >> ./bltUnixMain.c libBLT.a -L/sw/lib -ltk8.4 -ltcl8.4 >> -L/usr/X11R6/lib -lX11 -lm /usr/bin/ld: warning can't open dynamic >> library: /usr/X11R6/lib/libX11.6.dylib referenced from: >> /sw/lib/libtk8.4.dylib (checking for undefined symbols may be >> affected) (No such file or directory, errno = 2) >> /usr/bin/ld: Undefined symbols: >> _XFillPolygon referenced from libtk8 expected to be defined in >> /usr/X11R6/lib/libX11.6.dylib >> >> >> And /usr/X11R6/lib/libX11.6.dylib is from X11User, too. >> >> ----- >>> >>> >>> >>> >>> >>> >>> Martin Costabel wrote: >>> >>>> Noah wrote: >>>> >>>>> Alexander Hansen wrote: >>>>> >>>> [] >>>> >>>>>> You seem to be missing libXt.dylib, which should have been installed >>>>>> as part of the X11 SDK. The installer seems to like to leave out >>>>>> files randomly. >>>>>> >>>>>> >>>>> HI, >>>>> >>>>> so how do I fix this issue? >>>>> >>>> I suspect something more sinister. >>>> >>>> If Alexander's diagnosis is correct, it might be sufficient to >>>> [re]install the X11SDK.pkg from the Xcode directory of your OSX disk. >>>> >>>> If it works, fine. If not, you can try the following. >>>> >>>> Run the 7 commands at the command line (cut and paste from the >>>> message) >>>> >>>> cd /tmp >>>> printf "test:\n" >Imakefile >>>> printf "\t%s '%s'\n" @echo 'incroot="${INCROOT}"' >>Imakefile >>>> printf "\t%s '%s'\n" @echo 'usrlibdir="${USRLIBDIR}"' >>Imakefile >>>> printf "\t%s '%s'\n" @echo 'libdir="${LIBDIR}"' >>Imakefile >>>> xmkmf >>>> make test >>>> >>>> and show what happens. >>>> >>>> >> >> -- Alexander K. Hansen Fink User Liaison/Documenter akh AT finkproject DOT org |