freetype build failing
Jeremy Huddleston
jeremyhu at macports.org
Sat Mar 21 11:04:37 PDT 2009
On Mar 21, 2009, at 08:43, Noah wrote:
> Hi there,
>
> Any clues why freetype is failing to build. Help please. 6 apps
> including xorg-libXfont depend on it.
Can you try rebuilding with '-v' and report the errors above the
'Command outut:' line (including the last invocation of gcc that
caused the errors)?
> Thanks in advance,
>
> Noah
>
>
>
> ---> Building freetype
> 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.9" &&
> 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.9/
> 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.9/
> 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:301: warning: assignment from incompatible
> pointer type
> builds/unix/ftsystem.c:342: warning: assignment from incompatible
> pointer type
> builds/unix/ftsystem.c: At top level:
> builds/unix/ftsystem.c:386: error: syntax error before 'FT_New_Memory'
> builds/unix/ftsystem.c: In function 'FT_New_Memory':
> builds/unix/ftsystem.c:395: warning: assignment from incompatible
> pointer type
> builds/unix/ftsystem.c:396: warning: assignment from incompatible
> pointer type
> builds/unix/ftsystem.c:397: warning: assignment from incompatible
> pointer type
> builds/unix/ftsystem.c:403: warning: return makes integer from
> pointer without a cast
> builds/unix/ftsystem.c: At top level:
> builds/unix/ftsystem.c:410: 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.9/objs/
> ftsystem.lo] Error 1
>
> Error: Unable to upgrade port: 1
> ---> Verifying checksum(s) for libxml2
> Error: Checksum (md5) mismatch for libxml2-2.7.3.tar.gz
> Error: Checksum (sha1) mismatch for libxml2-2.7.3.tar.gz
> Error: Checksum (rmd160) mismatch for libxml2-2.7.3.tar.gz
> Error: Target org.macports.checksum returned: Unable to verify file
> checksums
> Error: Unable to upgrade port: 1
> ---> Extracting tiff
> On Mac OS X 10.5, tiff 3.8.2 requires Xcode 3.1 or later but you
> have Xcode 3.0.
> Error: Target org.macports.extract returned: incompatible Xcode
> version
> Error: Unable to upgrade port: 1
>
> sh-3.2# port uninstall freetype
> ---> Unable to uninstall freetype 2.3.7_3+macosx, the following
> ports depend on it:
> ---> fontconfig
> ---> gd2
> ---> cairo
> ---> Xft2
> ---> gtk2
> ---> xorg-libXfont
> Error: port uninstall failed: Please uninstall the ports that depend
> on freetype first.
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
More information about the macports-users
mailing list