Opened 19 years ago

Closed 19 years ago

Last modified 14 years ago

#2264 closed defect (fixed)

cannot find expat library

Reported by: d723@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: fontconfig

Description (last modified by jmroot (Joshua Root))

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

Change History (2)

comment:1 Changed 19 years ago by blb@…

Resolution: fixed
Status: newclosed

fontconfig has been updated to require a DP-installed expat, since it appears some systems have the expat library through X11 but not the header.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Component: baseports
Description: modified (diff)
Port: fontconfig added
Note: See TracTickets for help on using tickets.