[MacPorts] #18841: zlib does not build universal / Tiger-ppc
MacPorts
noreply at macports.org
Mon May 4 13:52:38 PDT 2009
#18841: zlib does not build universal / Tiger-ppc
----------------------------------+-----------------------------------------
Reporter: jeremyhu@… | Owner: ryandesign@…
Type: defect | Status: closed
Priority: Normal | Component: ports
Version: 1.7.0 | Resolution: fixed
Keywords: muniversal universal | Port: zlib
----------------------------------+-----------------------------------------
Comment(by Chris.Barker@…):
This doesn't appear to have done it for me:
(but I don't have permission to re-open)
OS-X 10.4.11 PPC
macports from SVN today: Revision: 50573
{{{
$ sudo port install zlib +universal
Password:
---> Fetching zlib
---> Verifying checksum(s) for zlib
---> Extracting zlib
---> Applying patches to zlib
---> Configuring zlib
---> Configuring zlib for architecture ppc
---> Configuring zlib for architecture i386
---> Building zlib
---> Building zlib for architecture ppc
---> Building zlib for architecture i386
---> Staging zlib into destroot
---> Staging zlib into destroot for architecture ppc
---> Staging zlib into destroot for architecture i386
---> Installing zlib @1.2.3_2+universal
---> Activating zlib @1.2.3_2+universal
---> Cleaning zlib
}}}
which all looks right, but:
{{{
$ file /opt/local/lib/libz.1.2.3.dylib
/opt/local/lib/libz.1.2.3.dylib: Mach-O dynamically linked shared library
ppc
}}}
I'm not getting a universal lib. However the static lib is universal:
{{{
$ file /opt/local/lib/libz.a
/opt/local/lib/libz.a: Mach-O universal binary with 2 architectures
/opt/local/lib/libz.a (for architecture ppc): current ar archive
/opt/local/lib/libz.a (for architecture i386): current ar archive random
library
}}}
The end result for me is that I can't build libtiff universal:
{{{
...
---> Configuring tiff for architecture i386
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_graphics_tiff/work/tiff-3.8.2-i386"
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-
docdir=/opt/local/share/doc/tiff-3.8.2 --with-jpeg-include-
dir=/opt/local/include --with-jpeg-lib-dir=/opt/local/lib --with-zlib-
include-dir=/opt/local/include --with-zlib-lib-dir=/opt/local/lib
--disable-dependency-tracking --host=i386-apple-darwin8.11.0 --with-apple-
opengl-framework " returned error 1
...
checking for inflateEnd in -lz... no
configure: error: Zlib library not found at /opt/local/lib
}}}
--
Ticket URL: <http://trac.macports.org/ticket/18841#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list