[MacPorts] #2264: cannot find expat library

MacPorts noreply at macports.org
Mon Mar 22 04:44:29 PDT 2010


#2264: cannot find expat library
---------------------------------+------------------------------------------
  Reporter:  d723@…              |       Owner:  macports-tickets@…                   
      Type:  defect              |      Status:  closed                               
  Priority:  High                |   Milestone:                                       
 Component:  ports               |     Version:  1.0                                  
Resolution:  fixed               |    Keywords:                                       
      Port:  fontconfig          |  
---------------------------------+------------------------------------------
Changes (by jmr@…):

  * component:  base => ports
  * port:  => fontconfig


Old description:

> I recieved the following error when trying to install bluefish.
>
> ############################################################################
>
> firefly:~ derek$ sudo port install bluefish
> Password:
> --->  Configuring fontconfig
> Error: Target com.apple.configure returned: configure failure: shell
> command "cd "/Users/derek/
> darwinports/dports/graphics/fontconfig/work/fontconfig-2.2.3" &&
> CPPFLAGS=-I/opt/local/include
> LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local
> --mandir=/opt/local/share/man" returned
> error 1
> Command output: checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for an ANSI C-conforming const... yes
> checking for pid_t... yes
> checking for vprintf... yes
> checking for _doprnt... no
> checking for geteuid... yes
> checking for getuid... yes
> checking for link... yes
> checking for memmove... yes
> checking for memset... yes
> checking for mkstemp... yes
> checking for strchr... yes
> checking for strrchr... yes
> checking for strtol... yes
> checking for getopt... yes
> checking for getopt_long... yes
> checking for freetype-config... /opt/local/bin/freetype-config
> checking for FT_Get_First_Char... yes
> checking for FT_Get_Next_Char... yes
> checking for FT_Get_BDF_Property... yes
> checking for FT_Bitmap_Size.y_ppem... yes
> checking expat.h usability... no
> checking expat.h presence... no
> checking for expat.h... no
> checking xmlparse.h usability... no
> checking xmlparse.h presence... no
> checking for xmlparse.h... no
> configure: error: cannot find expat library
>
> Error: The following dependencies failed to build: gtk2 pango Xft2
> fontconfig xrender render tiff jpeg
> pcre
> firefly:~ derek$ sudo port install expat
> --->  Fetching expat
> --->  Attempting to fetch expat-1.95.8.tar.gz from
> http://voxel.dl.sourceforge.net/expat
> --->  Verifying checksum(s) for expat
> --->  Extracting expat
> --->  Configuring expat
> --->  Building expat with target all
> --->  Staging expat into destroot
> --->  Installing expat 1.95.8_0
> --->  Activating expat 1.95.8_0
> firefly:~ derek$ sudo port install bluefish
> --->  Configuring fontconfig
> --->  Building fontconfig with target all
> --->  Staging fontconfig into destroot
> --->  Installing fontconfig 2.2.3_0
> --->  Activating fontconfig 2.2.3_0
> --->  Fetching render
> --->  Attempting to fetch renderext-0.8.tar.bz2 from
> http://x2.freedesktop.org/~xlibs/release/
> --->  Verifying checksum(s) for render
> --->  Extracting render
> --->  Configuring render
> --->  Building render with target all
> --->  Staging render into destroot
> --->  Installing render 0.8_1
> --->  Activating render 0.8_1

New description:

 I recieved the following error when trying to install bluefish.
 {{{
 ############################################################################

 firefly:~ derek$ sudo port install bluefish
 Password:
 --->  Configuring fontconfig
 Error: Target com.apple.configure returned: configure failure: shell
 command "cd "/Users/derek/
 darwinports/dports/graphics/fontconfig/work/fontconfig-2.2.3" &&
 CPPFLAGS=-I/opt/local/include
 LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local
 --mandir=/opt/local/share/man" returned
 error 1
 Command output: checking for stdlib.h... (cached) yes
 checking for string.h... (cached) yes
 checking for unistd.h... (cached) yes
 checking for an ANSI C-conforming const... yes
 checking for pid_t... yes
 checking for vprintf... yes
 checking for _doprnt... no
 checking for geteuid... yes
 checking for getuid... yes
 checking for link... yes
 checking for memmove... yes
 checking for memset... yes
 checking for mkstemp... yes
 checking for strchr... yes
 checking for strrchr... yes
 checking for strtol... yes
 checking for getopt... yes
 checking for getopt_long... yes
 checking for freetype-config... /opt/local/bin/freetype-config
 checking for FT_Get_First_Char... yes
 checking for FT_Get_Next_Char... yes
 checking for FT_Get_BDF_Property... yes
 checking for FT_Bitmap_Size.y_ppem... yes
 checking expat.h usability... no
 checking expat.h presence... no
 checking for expat.h... no
 checking xmlparse.h usability... no
 checking xmlparse.h presence... no
 checking for xmlparse.h... no
 configure: error: cannot find expat library

 Error: The following dependencies failed to build: gtk2 pango Xft2
 fontconfig xrender render tiff jpeg
 pcre
 firefly:~ derek$ sudo port install expat
 --->  Fetching expat
 --->  Attempting to fetch expat-1.95.8.tar.gz from
 http://voxel.dl.sourceforge.net/expat
 --->  Verifying checksum(s) for expat
 --->  Extracting expat
 --->  Configuring expat
 --->  Building expat with target all
 --->  Staging expat into destroot
 --->  Installing expat 1.95.8_0
 --->  Activating expat 1.95.8_0
 firefly:~ derek$ sudo port install bluefish
 --->  Configuring fontconfig
 --->  Building fontconfig with target all
 --->  Staging fontconfig into destroot
 --->  Installing fontconfig 2.2.3_0
 --->  Activating fontconfig 2.2.3_0
 --->  Fetching render
 --->  Attempting to fetch renderext-0.8.tar.bz2 from
 http://x2.freedesktop.org/~xlibs/release/
 --->  Verifying checksum(s) for render
 --->  Extracting render
 --->  Configuring render
 --->  Building render with target all
 --->  Staging render into destroot
 --->  Installing render 0.8_1
 --->  Activating render 0.8_1
 }}}

--

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


More information about the macports-tickets mailing list