#18835 closed defect (worksforme)
Failure to install -- problem with Xproto or xorg-libX11
Reported by: | gwyan.rhabyt@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | xorg-libX11 |
Description (last modified by mf2k (Frank Schima))
MacBook Pro with OS 10.5.6, Xcode 3.1.2 reinstalled this morning. Ran macports self update. Added IDLE from python.org tried sudo port install py-game key error seems to be:
Requested 'xproto >= 7.0.13' but version of Xproto is 7.0.11
session transcript:
(snip) ---> Configuring xorg-libX11 Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libX11/work/libX11-1.2" && ./configure --prefix=/opt/local --without-xcb " returned error 1 Command output: checking if /usr/bin/g++-4.0 static flag -static works... no checking if /usr/bin/g++-4.0 supports -c -o file.o... yes checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.6.0 dyld (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for bash... /bin/bash checking if dolt supports this host... yes, replacing libtool checking for gcc... (cached) /usr/bin/gcc-4.0 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.0... (cached) gcc3 checking for cpp... /usr/bin/cpp checking if /usr/bin/cpp requires -undef... no checking if /usr/bin/cpp requires -traditional... no checking whether to use XCB... (cached) no checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XPROTO... configure: error: Package requirements (xproto >= 7.0.13) were not met: Requested 'xproto >= 7.0.13' but version of Xproto is 7.0.11 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XPROTO_CFLAGS and XPROTO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Error: The following dependencies failed to build: libsdl xorg-libXext xorg-libX11 xorg-libXrandr xorg-randrproto xorg-renderproto libsdl_image tiff libsdl_mixer libogg libvorbis smpeg libsdl_ttf py-numeric python24 py-pyobjc2 py-elementtree py-setuptools py-py2app-devel py-altgraph py-bdist_mpkg py-macholib py-modulegraph-devel py-pyobjc2-cocoa Error: Status 1 encountered during processing.
Change History (5)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Port: | xorg-libX11 added |
comment:3 Changed 16 years ago by blb@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing, lack of response.
comment:4 Changed 15 years ago by simX_other@…
I encountered this problem as well. To fix it, I simply did:
sudo port deactivate xorg-xproto sudo port install xorg-xproto
... since I already had an outdated version of xorg-xproto installed. FWIW, a very similar error came up for xorg-macros, and I solved it by doing the same thing:
sudo port deactivate xorg-util-macros sudo port install xorg-util-macros
These were the only two packages that gave me this problem.
comment:5 Changed 15 years ago by blb@…
Note that 'port upgrade' is better and simpler than 'port deactivate; port install'.
Note: See
TracTickets for help on using
tickets.
Try the following: