> On Nov 14, 2016, at 06:35, Yu, Ying <yu.1...@buckeyemail.osu.edu> wrote: > > Hi all, > > I run into the errors, "clang: error: linker command failed with exit code 1 > " and "Failed: phase compiling: blt-2.4z-162 failed", when I run "fink > install kdebase4-mac". I think I have the appropriate Xcode and command line > tool version. I don't know how to fix this problem and get KDE installed. Can > anybody help me? A detailed report can be seen below. > > Thanks, > > Ying > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: > file: libBLT.a(bltVecCmd.o) has no symbols > ranlib libBLT.a > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: > file: libBLT.a(bltVecCmd.o) has no symbols > rm -f bltwish > gcc -Wall -O3 -fno-common -Wall -fno-strict-aliasing > -I/sw/include/tcltk-private/tk8.6/generic > -I/sw/include/tcltk-private/tk8.6/unix -I. -I. -I/sw/include > -I/usr/X11/include -o bltwish \ > -DTCLLIBPATH=\"/sw/lib/tcl8.6\" \ > ./bltUnixMain.c libBLT.a -L/sw/lib -ltk8.6 -ltcl8.6 -lX11 -ljpeg -lm > ld: library not found for -lX11 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[1]: *** [bltwish] Error 1 > make: *** [all] Error 2 > ### execution of /tmp/fink.bDGCX failed, exit code 2 > ### execution of /tmp/fink.69mJ_ failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-blt-2.4z-162 > (Reading database ... 171043 files and directories currently installed.) > Removing fink-buildlock-blt-2.4z-162 ... > Failed: phase compiling: blt-2.4z-162 failed > > Before reporting any errors, please run "fink selfupdate" and try again. > > If you continue to have issues, please check to see if the FAQ on Fink's > website solves the problem. If not, ask on one (not both, please) of > these mailing lists: > > The Fink Users List <fink-users@lists.sourceforge.net> > The Fink Beginners List <fink-beginn...@lists.sourceforge.net>, > > with a carbon copy to the maintainer: > > William Scott <wgsc...@users.sourceforge.net> > > Note that this is preferable to emailing just the maintainer directly, > since most fink package maintainers do not have access to all possible > hardware and software configurations. > > Please try to include the complete error message in your report. This > generally consists of a compiler line starting with e.g. "gcc" or "g++" > followed by the actual error output from the compiler. > > Also include the following system information: > Package manager version: 0.41.0 > Distribution version: selfupdate-rsync Fri Nov 11 12:00:29 2016, 10.10, x86_64 > Trees: local/main stable/main > Xcode.app: 6.4 > Xcode command-line tools: 7.2.0.0.1.1447826929 > blt-2.4z-162 is set to build with only one job. > > —
Actually, the error is "ld: library not found for -lX11”. The other items are symptoms of that. What do you get from “ls -d /usr” ? We’re trying to have our packages not assume the existence of the /usr/X11 and /usr/X11R6 convenience symlinks, but blt might not have been updated to do that yet. -- Alexander Hansen, Ph.D. Fink User Liaison ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users