[MacPorts] #21233: fontconfig-2.7.2 Configure error (depends on libxml2)

MacPorts noreply at macports.org
Wed Sep 9 01:06:45 PDT 2009


#21233: fontconfig-2.7.2 Configure error (depends on libxml2)
--------------------------------+-------------------------------------------
 Reporter:  m4k0t0y@…           |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.0                                
 Keywords:  fontconfig libxml2  |        Port:  fontconfig                           
--------------------------------+-------------------------------------------
 fontconfig requires libxml2, but its portfile lacks dependency to that.

 {{{
 $ sudo port install fontconfig
 --->  Computing dependencies for fontconfig
 --->  Configuring fontconfig
 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_graphics_fontconfig/work/fontconfig-2.7.2"
 && ./configure --prefix=/opt/local --with-
 docdir=/opt/local/share/doc/fontconfig-2.7.2 --with-add-
 fonts=/usr/X11R6/lib/X11/fonts,/Library/Fonts,/Network/Library/Fonts,/System/Library/Fonts,/opt/local/share/fonts
 " returned error 1
 Command output: checking for rand... yes

 brahbrahbrah...

 checking expat.h usability... yes
 checking expat.h presence... yes
 checking for expat.h... yes
 checking for XML_SetDoctypeDeclHandler... no
 configure: WARNING: Cannot find usable expat library. Trying to use
 libxml2 as fallback.
 checking for pkg-config... /opt/local/bin/pkg-config
 checking pkg-config is at least version 0.9.0... yes
 checking for LIBXML2... configure: error: Package requirements (libxml-2.0
 >= 2.6) were not met:

 No package 'libxml-2.0' 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 LIBXML2_CFLAGS
 and LIBXML2_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.


 Error: Status 1 encountered during processing.
 }}}

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


More information about the macports-tickets mailing list