freetype +universal fails to install
Bengt Nilsson
bengt.nilsson11 at spray.se
Mon Aug 6 06:31:24 PDT 2007
6 aug 2007 kl. 14.55 skrev Bengt Nilsson:
> Is it at all possible to build universal-binary products using
> MacPorts on a ppc machine?
> Maybe this is the source of my problems...
I was able to build zlib +universal successfully, so that can't be it.
I tried this since freetype depends on zlib, and after this I got
some othrer error messages that may clarify:
mc2-p039:/Users/bnilsson root# port install freetype +universal
---> Fetching 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_f
reetype/work/freetype-2.3.5" && make all " returned error 2
Command output: _mmap
_munmap
_open
_read
_realloc
_longjmp
_memcpy
_memmove
_memset
_strcat
_strcmp
_strncpy
_strrchr
_strstr
_qsort
_strncmp
_atol
_sprintf
_memchr
_setjmp
_memcpy referenced from libz expected to be defined in /usr/lib/
libSystem.B.dylib
_free referenced from libz expected to be defined in /usr/lib/
libSystem.B.dylib
_malloc referenced from libz expected to be defined in /usr/lib/
libSystem.B.dylib
_memset referenced from libz expected to be defined in /usr/lib/
libSystem.B.dylib
ld: warning prebinding not disabled because (__TEXT segment (address
= 0x0 size = 0x6c000) of /var/tmp//cc4g3v1H.out overlaps with __TEXT
segment (address = 0x0 size = 0x11000) of /opt/local/lib/libz.1.dylib
ld: warning prebinding not disabled because (__TEXT segment (address
= 0x0 size = 0x6c000) of /var/tmp//cc4g3v1H.out overlaps with __DATA
segment (address = 0x11000 size = 0x1000) of /opt/local/lib/libz.1.dylib
ld: warning prebinding not disabled because (__TEXT segment (address
= 0x0 size = 0x6c000) of /var/tmp//cc4g3v1H.out overlaps with
__LINKEDIT segment (address = 0x12000 size = 0x2000) of /opt/local/
lib/libz.1.dylib
/usr/bin/libtool: internal link edit command failed
lipo: can't figure out the architecture type of: /var/tmp//ccFoopYY.out
make: *** [/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_f
reetype/work/freetype-2.3.5/objs/libfreetype.la] Error 1
Error: Status 1 encountered during processing.
It seems it tries to link to /usr/lib/libSystem.B.dylib, while I
suspect it should link to /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/
libSystem.B.dylib.
Am I right? If so, how should the portfile me changed to achieve this?
Can anyone comment on this?
>
> bnilsson
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
More information about the macports-users
mailing list