[MacPorts] #17429: xrender 0.9.4 doesn't find X11 (x11.pc) on Tiger

MacPorts noreply at macports.org
Sat Nov 29 18:42:43 PST 2008


#17429: xrender 0.9.4 doesn't find X11 (x11.pc) on Tiger
--------------------------------------+-------------------------------------
 Reporter:  garribald@…               |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:  Port Bugs                            
Component:  ports                     |     Version:  1.6.0                                
 Keywords:  xrender Tiger             |        Port:  xrender                              
--------------------------------------+-------------------------------------
 The new xrender version gives following error on my OS X 10.4.11 and
 Apple's X11 installed:

 {{{
 book:~ me$ sudo port upgrade xrender
 --->  Fetching xrender
 --->  Attempting to fetch libXrender-0.9.4.tar.bz2 from
 http://www.x.org/pub/individual/lib/
 --->  Verifying checksum(s) for xrender
 --->  Extracting xrender
 --->  Configuring xrender
 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_xrender/work/libXrender-0.9.4"
 && ./configure --prefix=/opt/local --x-includes=/usr/X11R6/include
 --x-libraries=/usr/X11R6/lib " returned error 1
 Command output: checking whether stripping libraries is possible... yes
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 configure: creating libtool
 appending configuration tag "CXX" to libtool
 checking for ld used by /usr/bin/g++-4.0... /usr/libexec/gcc/powerpc-
 apple-darwin8/4.0.1/ld
 checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld)
 is GNU ld... no
 checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/powerpc-
 apple-darwin8/4.0.1/ld) supports shared libraries... yes
 checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common
 checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes
 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/powerpc-
 apple-darwin8/4.0.1/ld) supports shared libraries... yes
 checking dynamic linker characteristics... darwin8.11.0 dyld
 checking how to hardcode library paths into programs... immediate
 appending configuration tag "F77" to libtool
 checking for pkg-config... /opt/local/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
 checking for X... 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 X_CFLAGS
 and X_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.


 Error: Unable to upgrade port: 1
 }}}

 The, i hope, important part from the config.log is:

 {{{
 configure:19263: checking for pkg-config
 configure:19281: found /opt/local/bin/pkg-config
 configure:19293: result: /opt/local/bin/pkg-config
 configure:19322: checking pkg-config is at least version 0.9.0
 configure:19325: result: yes
 configure:19336: checking for X
 configure:19344: $PKG_CONFIG --exists --print-errors "x11"
 Package x11 was not found in the pkg-config search path.
 Perhaps you should add the directory containing `x11.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'x11' found
 configure:19347: $? = 1
 configure:19362: $PKG_CONFIG --exists --print-errors "x11"
 Package x11 was not found in the pkg-config search path.
 Perhaps you should add the directory containing `x11.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'x11' found
 configure:19365: $? = 1
 No package 'x11' found
 configure:19403: 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 X_CFLAGS
 and X_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 }}}

 There is no x11.pc anywhere on my disk, one tip was to install xorg to
 (hopefully) solve the issue.

 But maybe there can something different done (maybe new xrender would work
 well, but just needs a "nicer to Tiger" X11-check within configuration).

 So this is more a request for advice than a bugreport. But if there is
 basically nothing to be done it might be wise to make a Tiger check and
 point to installing xorg (if it is the solution) or whatever seems to be
 appropriate.

 If needed, i can test the xorg way on Monday.

-- 
Ticket URL: <http://trac.macports.org/ticket/17429>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list