old ports install problem

Ryan Schmidt ryandesign at macports.org
Fri May 15 11:50:08 PDT 2015


On May 15, 2015, at 06:11, mysiar wrote:
> 
> I have a piece of software that requires tcl, tcl and tk at the same version.
> I tried with latest tcl & tk from macports but it is not working.

What piece of software? How is it not working?

> I managed to compile tcl from source code no problem but tk fails with the error message
> 
> d: library not found for -lX11
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> Makefile:406: recipe for target 'libtk8.4.dylib' failed
> gmake: *** [libtk8.4.dylib] Error 1
> 
> configure for tk
> 	./configure --prefix=/Users/usr --with-x --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib

Does libX11.dylib exist in /opt/X11/lib? The error message suggests it does not. 

"--prefix=/Users/usr" is also unusual. Do you really have an OS X user account named "usr"? Is that the user you're logged in with now? If not, does the user you're logged in with have permission to modify user usr's home directory? Or are you just creating a directory /Users/usr to use as a prefix for software installation, without having a corresponding "usr" user? If so, that's also unusual. 


More information about the macports-users mailing list