freetype 2.3.7 fails to install

Adam White shapey at mac.com
Mon Nov 17 13:44:00 PST 2008


Hi,

Any pointers appreciated.

Thanks,
Adam

---
adwhite at lola ~ # sw_vers
ProductName:	Mac OS X
ProductVersion:	10.5.5
BuildVersion:	9F33
adwhite at lola ~ # uname -a
Darwin lola 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep  3 11:29:43 PDT  
2008; root:xnu-1228.7.58~1/RELEASE_I386 i386
adwhite at lola ~ #

Xcode 3.11

No /sw directory exists.
/usr/local has: clamXav/ include/ lib/

zlib 1.2.3_1 installed.

adwhite at lola ~ # sudo port clean --all freetype
--->  Cleaning freetype
adwhite at lola ~ # sudo port install -dv freetype
--->  Fetching freetype
--->  Attempting to fetch freetype-2.3.7.tar.bz2 from http://download.savannah.gnu.org/releases/freetype/
--->  Verifying checksum(s) for freetype
--->  Extracting freetype
--->  Applying patches to freetype
--->  Configuring freetype
--->  Building freetype with target all
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_print_freetype/work/freetype-2.3.7" &&  
make all " returned error 2
Command output: /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_print_freetype/work/freetype-2.3.7/include/ 
freetype/internal/ftstream.h:488: error: syntax error before  
'FT_Stream_ReadFields'
/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_print_freetype/work/freetype-2.3.7/include/ 
freetype/internal/ftstream.h:490: warning: data definition has no type  
or storage class
builds/unix/ftsystem.c:97: error: syntax error before 'ft_alloc'
builds/unix/ftsystem.c: In function 'ft_alloc':
builds/unix/ftsystem.c:102: warning: return makes integer from pointer  
without a cast
builds/unix/ftsystem.c: At top level:
builds/unix/ftsystem.c:127: error: syntax error before 'ft_realloc'
builds/unix/ftsystem.c: In function 'ft_realloc':
builds/unix/ftsystem.c:135: warning: return makes integer from pointer  
without a cast
builds/unix/ftsystem.c: At top level:
builds/unix/ftsystem.c:153: error: syntax error before 'ft_free'
builds/unix/ftsystem.c:195: error: syntax error before  
'ft_close_stream_by_munmap'
builds/unix/ftsystem.c:217: error: syntax error before  
'ft_close_stream_by_free'
builds/unix/ftsystem.c:230: error: syntax error before 'FT_Stream_Open'
builds/unix/ftsystem.c: In function 'FT_Stream_Open':
builds/unix/ftsystem.c:278: error: 'LONG_MAX' undeclared (first use in  
this function)
builds/unix/ftsystem.c:278: error: (Each undeclared identifier is  
reported only once
builds/unix/ftsystem.c:278: error: for each function it appears in.)
builds/unix/ftsystem.c:296: warning: assignment from incompatible  
pointer type
builds/unix/ftsystem.c:337: warning: assignment from incompatible  
pointer type
builds/unix/ftsystem.c: At top level:
builds/unix/ftsystem.c:381: error: syntax error before 'FT_New_Memory'
builds/unix/ftsystem.c: In function 'FT_New_Memory':
builds/unix/ftsystem.c:390: warning: assignment from incompatible  
pointer type
builds/unix/ftsystem.c:391: warning: assignment from incompatible  
pointer type
builds/unix/ftsystem.c:392: warning: assignment from incompatible  
pointer type
builds/unix/ftsystem.c:398: warning: return makes integer from pointer  
without a cast
builds/unix/ftsystem.c: At top level:
builds/unix/ftsystem.c:405: error: syntax error before 'FT_Done_Memory'
make: *** [/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_print_freetype/work/freetype-2.3.7/objs/ 
ftsystem.lo] Error 1

Error: Status 1 encountered during processing.

adwhite at lola ~ # sudo port installed | grep freetype
adwhite at lola ~ #




More information about the macports-users mailing list