Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#16743 closed defect (fixed)

Can't build xinit: No package 'x11' found

Reported by: pgijnxn02@… Owned by: bbyer@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: jmroot (Joshua Root)
Port: xinit

Description

$ sudo port install -cuv xorg-server
--->  Fetching xinit
--->  Attempting to fetch xinit-1.0.8.tar.bz2 from http://distfiles.macports.org/xinit
--->  Verifying checksum(s) for xinit
--->  Extracting xinit
--->  Configuring xinit
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_x11_xinit/work/xinit-1.0.8" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man " returned error 1
Command output: checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for killpg... yes
checking for launchd... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XINIT... configure: error: Package requirements (x11) were not met:

No package 'x11' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XINIT_CFLAGS
and XINIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Attachments (1)

xinit-pkgconfig.diff (431 bytes) - added by jmroot (Joshua Root) 15 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Do you have X11 installed? If not, get it from here.

comment:2 Changed 15 years ago by skymoo (Adam Mercer)

Is this Leopard by any chance?

Make sure you've install the X11 SDK from Xcode if you're using the unofficial Xquartz releases.

comment:3 Changed 15 years ago by pgijnxn02@…

This is on Tiger (10.4.11). I have X11, Xcode, and the X11SDK, and I have some working X11 applications from macports.

My hope was that this package would upgrade my version of X11 so I could install gnome-desktop (https://trac.macports.org/ticket/16720). I looked at Xquartz, which looked like it would also be a solution, but I see that's only for Leopard. Hmm. Is there any way to upgrade X11 on Tiger to support Xrandr 1.2?

Thanks for your help.

Changed 15 years ago by jmroot (Joshua Root)

Attachment: xinit-pkgconfig.diff added

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to bbyer@…

Attached patch uses the x11prefix variable to set PKG_CONFIG_PATH instead of hardcoding /usr/X11.

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Resolution: fixed
Status: newclosed

Applied in r42389 (maintainer timeout).

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.