[MacPorts] #18232: freetype 2.3.8 fails mac os x 10.5 intel
MacPorts
noreply at macports.org
Sun Mar 29 00:42:53 PDT 2009
#18232: freetype 2.3.8 fails mac os x 10.5 intel
---------------------------------+------------------------------------------
Reporter: fantunes@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: freetype
---------------------------------+------------------------------------------
Comment(by atomist@…):
Replying to [comment:16 ryandesign@…]:
> I have an idea. Do you have a previous version of freetype installed
with MacPorts? If so, which version? The new version of freetype may be
trying to include files from the old active version and getting confused.
Try deactivating it before installing the new one.
>
> {{{
> sudo port deactivate freetype
> sudo port clean freetype
> sudo port install freetype
> }}}
>
> Please let me know your result.
Yeah tried that too.
Just grabbed the previous successfull installed version of freetype
(2.3.5) and it now fails to install too.
So it has to be something that got installed after the fact of me putting
macports on there and installing freetype the first time.
Exact same error
[root at fatbook:~]# sudo port deactivate freetype
(03-29 03:18)
Error: port deactivate failed: Registry error: freetype not registered as
installed & active.
sudo port clean freetype
sudo port install freetype
[root at fatbook:~]# sudo port clean freetype
(03-29 03:18)
---> Cleaning freetype
[root at fatbook:~]# sudo port install freetype
(03-29 03:18)
---> Fetching freetype
---> Verifying checksum(s) for freetype
---> Extracting freetype
---> Applying patches to freetype
---> Configuring freetype
---> 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
2.3.5 manual install (with applied env) (short version)
atom at fatbook:src/freetype-2.3.5]$ make
(03-29 03:24)
./builds/unix/libtool --mode=compile /usr/bin/gcc-4.0
-I/opt/local/include -I/usr/src/freetype-2.3.5/objs -I./builds/unix
-I/usr/src/freetype-2.3.5/include -c -O2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB
-DDARWIN_NO_CARBON -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY
-DFT_CONFIG_MODULES_H="<ftmodule.h>" -o
/usr/src/freetype-2.3.5/objs/ftsystem.lo builds/unix/ftsystem.c
mkdir /usr/src/freetype-2.3.5/objs/.libs
/usr/bin/gcc-4.0 -I/opt/local/include -I/usr/src/freetype-2.3.5/objs
-I./builds/unix -I/usr/src/freetype-2.3.5/include -c -O2
-DFT_CONFIG_OPTION_SYSTEM_ZLIB -DDARWIN_NO_CARBON
"-DFT_CONFIG_CONFIG_H=<ftconfig.h>" -DFT2_BUILD_LIBRARY
"-DFT_CONFIG_MODULES_H=<ftmodule.h>" builds/unix/ftsystem.c -fno-common
-DPIC -o /usr/src/freetype-2.3.5/objs/.libs/ftsystem.o
In file included from
/usr/src/freetype-2.3.5/include/freetype/freetype.h:43,
from
/usr/src/freetype-2.3.5/include/freetype/internal/ftdebug.h:30,
from builds/unix/ftsystem.c:22:
/usr/src/freetype-2.3.5/include/freetype/fttypes.h:168: error: syntax
error before 'FT_Tag'
/usr/src/freetype-2.3.5/include/freetype/fttypes.h:168: warning: data
definition has no type or storage class
/usr/src/freetype-2.3.5/include/freetype/fttypes.h:329: error: syntax
error before 'FT_PtrDist'
/usr/src/freetype-2.3.5/include/freetype/fttypes.h:329: warning: data
definition has no type or storage class
In file included from
/usr/src/freetype-2.3.5/include/freetype/internal/ftdebug.h:30,
from builds/unix/ftsystem.c:22:
<<<SNIP>>>
/usr/src/freetype-2.3.5/include/freetype/internal/ftstream.h:488: error:
syntax error before 'FT_Stream_ReadFields'
/usr/src/freetype-2.3.5/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: *** [/usr/src/freetype-2.3.5/objs/ftsystem.lo] Error 1
--
Ticket URL: <http://trac.macports.org/ticket/18232#comment:17>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list