Opened 15 years ago
Closed 15 years ago
#21464 closed defect (worksforme)
Xft2: /usr/X11/lib/libX11.la: No such file or directory
Reported by: | chuck@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | snowleopard | Cc: | |
Port: | Xft2 |
Description (last modified by blb@…)
% sudo port install bzr Password: ---> Computing dependencies for bzr ---> Building Xft2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_Xft2/work/libXft-2.1.13" && /usr/bin/make -j1 all " returned error 2 Command output: /usr/bin/make all-recursive Making all in man make[2]: Nothing to be done for `all'. Making all in src /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -DXTHREADS -I/opt/local/include -I/usr/X11/include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations-Wnested-externs -fno-strict-aliasing -I../include/X11/Xft -O2 -arch x86_64 -version-number 2:1:13 -no-undefined -L/opt/local/lib -o libXft.la -rpath /opt/local/lib xftcolor.lo xftcore.lo xftdbg.lo xftdpy.lo xftdraw.lo xftextent.lo xftfont.lo xftfreetype.lo xftglyphs.lo xftinit.lo xftlist.lo xftname.lo xftrender.lo xftstr.lo xftswap.lo xftxlfd.lo -L/opt/local/lib -lfontconfig -lexpat -lfreetype -lz -liconv -L/opt/local/lib -lfreetype -lz -L/opt/local/lib -L/usr/X11/lib -lXrender -lX11 grep: /usr/X11/lib/libX11.la: No such file or directory sed: /usr/X11/lib/libX11.la: No such file or directory libtool: link: `/usr/X11/lib/libX11.la' is not a valid libtool archive make[2]: *** [libXft.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: The following dependencies failed to build: py26-crypto python26 tk Xft2 xorg-libXScrnSaver xorg-libXext xorg-libX11 xorg-scrnsaverproto py26-curl py26-docutils py26-paramiko py26-pyrex Error: Status 1 encountered during processing.
The static X11 libraries are not in /usr/X11, only dynamic libraries. I've reinstalled Xcode with no luck at getting the static libraries from that process. I'm assuming they may have been on my system at one time, since I've built ports that depended on X11 before, but now they're not there.
Any tips?
Change History (6)
comment:1 Changed 15 years ago by blb@…
Description: | modified (diff) |
---|---|
Port: | Xft2 added |
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
No MacPorts port should be looking in /usr/X11 for anything...
comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | Unable to install Python port on Snow Leopard → Xft2: /usr/X11/lib/libX11.la: No such file or directory |
---|
comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | snowleopard added |
---|
comment:5 Changed 15 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to jeremyhu@… |
---|
comment:6 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Please do:
sudo port -v upgrade outdated cd /opt/local/lib for f in *dylib; do otool -L $f | grep -q /usr/X11 && echo $f; done for f in *.la; do grep -q /usr/X11 $f && echo $f; done cd /opt/local/bin for f in *; do otool -L $f | grep -q /usr/X11 && echo $f; done
then reinstall the ports that own the reported files.
Make sure you do 'sudo port -v upgrade outdated' often.
Note: See
TracTickets for help on using
tickets.
You are on 10.6 I'm guessing? Is the xorg-libX11 port installed (
port installed xorg-libX11
)? If so, what does the following say?