[MacPorts] #17558: connection errors when macports libs are used with Tiger X11 headers

MacPorts noreply at macports.org
Tue Jan 20 15:17:14 PST 2009


#17558: connection errors when macports libs are used with Tiger X11 headers
----------------------------------+-----------------------------------------
  Reporter:  vinc17@…             |       Owner:  jeremyhu@…           
      Type:  defect               |      Status:  closed               
  Priority:  High                 |   Milestone:  Port Bugs            
 Component:  ports                |     Version:  1.6.0                
Resolution:  fixed                |    Keywords:  crash                
      Port:  xorg                 |  
----------------------------------+-----------------------------------------

Comment(by david@…):

 Replying to [comment:52 jeremyhu@…]:
 > r45603 should finally solve this

 I did another build completely from scratch with r45711 to test the
 changes. I configured as usual:

 {{{
 ./configure --prefix=/opt/local-universal-10.4 --with-
 tclpackage=/Library/Tcl/macports-universal-10.4 --with-applications-
 dir=/opt/local-universal-10.4/Applications --with-universal-target=10.4
 --with-universal-sysroot=/Developer/SDKs/MacOSX10.4u.sdk
 --with-x11-prefix=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6
 }}}

 I added

 {{{
 +universal
 +system_x11
 }}}

 to {{{variants.conf}}}. Then

 {{{
 /opt/local-universal-10.4/bin/port -d install py25-gtk py25-py2app-devel
 py25-sqlite3 py25-zlib
 }}}

 The build hit an error in xorg-libXfixes:

 {{{
 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.


 Warning: the following items did not execute (for xorg-libXfixes):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Error: The following dependencies failed to build: gtk2 xorg-libXcomposite
 xorg-libXfixes xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi
 xorg-libXinerama xorg-libXrandr libglade2 py25-cairo py25-numpy fftw-3
 py25-nose py25-setuptools py25-zlib py25-gobject
 }}}

 The problem was caused by [45603/trunk/dports/x11/gtk2/Portfile], which
 added libXcomposite, libXdamage, and libXfixes to the dependencies of
 gtk2, none of which are in the 10.4u SDK. When I removed those
 dependencies the rest of the build went fine. Here's the patch I used:

 {{{
 svn cat --username guest --password "" -r 11767
 svn://svn.insecure.org/zenmap/install_scripts/macosx/macports-1.8.0-universal.diff
 }}}

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


More information about the macports-tickets mailing list