[MacPorts] #21464: Unable to install Python port on Snow Leopard
MacPorts
noreply at macports.org
Thu Sep 17 14:51:57 PDT 2009
#21464: Unable to install Python port on Snow Leopard
-------------------------------------+--------------------------------------
Reporter: chuck@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: Xft2
-------------------------------------+--------------------------------------
Changes (by blb@…):
* port: => Xft2
Old description:
> % 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?
New description:
{{{
% 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?
--
Comment:
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?
{{{
$ lipo -info /opt/local/lib/libX11.dylib
}}}
--
Ticket URL: <http://trac.macports.org/ticket/21464#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list