Alexander K. Hansen wrote:
> 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?

Macintosh-2:~ noahgarrettwallach$ ls -l /usr/X11R6/bin/xmkmf
ls: /usr/X11R6/bin/xmkmf: No such file or directory
Macintosh-2:~ noahgarrettwallach$ ls -l /usr/X11R6/include/X11
total 1568
-r--r--r--    1 root  wheel   3639 Sep 12  2006 Composite.h
-r--r--r--    1 root  wheel   4752 Sep 12  2006 CompositeP.h
-r--r--r--    1 root  wheel   4107 Sep 12  2006 ConstrainP.h
-r--r--r--    1 root  wheel   2678 Sep 12  2006 Constraint.h
-r--r--r--    1 root  wheel   2708 Sep 12  2006 Core.h
-r--r--r--    1 root  wheel   8679 Sep 12  2006 CoreP.h
-r--r--r--    1 root  wheel   2886 Sep 12  2006 DECkeysym.h
-r--r--r--    1 root  wheel   6108 Sep 12  2006 HPkeysym.h
drwxr-xr-x    8 root  wheel    272 Sep 14  2006 ICE
-r--r--r--    1 root  wheel  62642 Sep 12  2006 Intrinsic.h
-r--r--r--    1 root  wheel   9294 Sep 12  2006 IntrinsicP.h
-r--r--r--    1 root  wheel   2664 Sep 12  2006 Object.h
-r--r--r--    1 root  wheel   6984 Sep 12  2006 ObjectP.h
drwxr-xr-x    4 root  wheel    136 Sep 14  2006 PM
-r--r--r--    1 root  wheel   2666 Sep 12  2006 RectObj.h
-r--r--r--    1 root  wheel   6511 Sep 12  2006 RectObjP.h
drwxr-xr-x    5 root  wheel    170 Sep 14  2006 SM
-r--r--r--    1 root  wheel  17576 Sep 12  2006 Shell.h
-r--r--r--    1 root  wheel  12725 Sep 12  2006 ShellP.h
-r--r--r--    1 root  wheel  30628 Sep 12  2006 StringDefs.h
-r--r--r--    1 root  wheel   4095 Sep 12  2006 Sunkeysym.h
-r--r--r--    1 root  wheel   2868 Sep 12  2006 Vendor.h
-r--r--r--    1 root  wheel   3652 Sep 12  2006 VendorP.h
-r--r--r--    1 root  wheel  20212 Sep 12  2006 X.h
-r--r--r--    1 root  wheel   3245 Sep 12  2006 X10.h
-r--r--r--    1 root  wheel   6156 Sep 12  2006 XF86keysym.h
-r--r--r--    1 root  wheel  31130 Sep 12  2006 XKBlib.h
-r--r--r--    1 root  wheel   4031 Sep 12  2006 XWDFile.h
-r--r--r--    1 root  wheel   5244 Sep 12  2006 Xalloca.h
-r--r--r--    1 root  wheel   3811 Sep 12  2006 Xarch.h
-r--r--r--    1 root  wheel   2518 Sep 12  2006 Xatom.h
-r--r--r--    1 root  wheel   3951 Sep 12  2006 Xauth.h
drwxr-xr-x   73 root  wheel   2482 Sep 14  2006 Xaw
-r--r--r--    1 root  wheel  21136 Sep 12  2006 Xcms.h
drwxr-xr-x    3 root  wheel    102 Sep 14  2006 Xcursor
-r--r--r--    1 root  wheel   2480 Sep 12  2006 Xdefs.h
-r--r--r--    1 root  wheel   6666 Sep 12  2006 Xdmcp.h
drwxr-xr-x    4 root  wheel    136 Sep 14  2006 Xft
-r--r--r--    1 root  wheel   2332 Sep 12  2006 Xfuncproto.h
-r--r--r--    1 root  wheel   3055 Sep 12  2006 Xfuncs.h
-r--r--r--    1 root  wheel  98287 Sep 12  2006 Xlib.h
-r--r--r--    1 root  wheel  36426 Sep 12  2006 Xlibint.h
-r--r--r--    1 root  wheel   1769 Sep 12  2006 Xlocale.h
-r--r--r--    1 root  wheel   6730 Sep 12  2006 Xmd.h
drwxr-xr-x   24 root  wheel    816 Sep 14  2006 Xmu
-r--r--r--    1 root  wheel   7034 Sep 12  2006 Xos.h
-r--r--r--    1 root  wheel  36486 Sep 12  2006 Xos_r.h
-r--r--r--    1 root  wheel   3390 Sep 12  2006 Xosdefs.h
-r--r--r--    1 root  wheel   7697 Sep 12  2006 Xpoll.h
-r--r--r--    1 root  wheel  55959 Sep 12  2006 Xproto.h
-r--r--r--    1 root  wheel   2870 Sep 12  2006 Xprotostr.h
-r--r--r--    1 root  wheel  10775 Sep 12  2006 Xresource.h
-r--r--r--    1 root  wheel  11772 Sep 12  2006 Xthreads.h
-r--r--r--    1 root  wheel  20927 Sep 12  2006 Xutil.h
-r--r--r--    1 root  wheel   2298 Sep 12  2006 ap_keysym.h
-r--r--r--    1 root  wheel   3096 Sep 12  2006 cursorfont.h
drwxr-xr-x   97 root  wheel   3298 Sep 14  2006 extensions
drwxr-xr-x    8 root  wheel    272 Sep 14  2006 fonts
-r--r--r--    1 root  wheel   2849 Sep 12  2006 keysym.h
-r--r--r--    1 root  wheel  82500 Sep 12  2006 keysymdef.h
-r--r--r--    1 root  wheel  16286 Sep 12  2006 xpm.h
Macintosh-2:~ noahgarrettwallach$ ls -l /usr/X11R6/lib/libX11.6.dylib
ls: /usr/X11R6/lib/libX11.6.dylib: No such file or directory
Macintosh-2:~ noahgarrettwallach$



>>
>> 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.
>>>>>
>>>>>     
>>>
>>>
> 
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to