[MacPorts] #34701: php5-dba @5.3.12 configure failed to install - ZLIB configure command failed
MacPorts
noreply at macports.org
Thu May 31 10:05:21 PDT 2012
#34701: php5-dba @5.3.12 configure failed to install - ZLIB configure command
failed
---------------------------+------------------------------------------------
Reporter: roger@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: php-5dba
---------------------------+------------------------------------------------
# Partial log print out
{{{
:info:configure checking for ZLIB support... yes
:info:configure checking if the location of ZLIB install directory is
defined... no
:info:configure checking for gzgets in -lz... no
:info:configure configure: error: ZLIB extension requires zlib >= 1.0.9
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/work/php-5.3.12"
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man
--infodir=/opt/local/share/info --with-config-file-
path=/opt/local/etc/php5 --with-config-file-scan-
dir=/opt/local/var/db/php5 --disable-all --enable-bcmath --enable-ctype
--enable-dom --enable-fileinfo --enable-filter --enable-hash --enable-json
--enable-libxml --enable-pdo --enable-phar --enable-session --enable-
simplexml --enable-tokenizer --enable-xml --enable-xmlreader --enable-
xmlwriter --with-bz2=/opt/local --with-mhash=/opt/local --with-pcre-
regex=/opt/local --with-readline=/opt/local --with-libxml-dir=/opt/local
--with-zlib=/opt/local --without-pear --disable-cgi --with-
apxs2=/opt/local/apache2/bin/apxs
:info:configure Exit code: 1
:error:configure org.macports.configure for port php5 returned: configure
failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for php5:
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
:error:configure Failed to install php5
:debug:configure couldn't open "~/Library/Tcl/tclIndex": no such file or
directory
while executing
"open [file join $dir tclIndex]"
:notice:configure Please see the log file for port php5 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/main.log
}}}
# Partial config.log
# /opt/local/var/macports/build
/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5/php5/work/php-5.3.12
{{{
-lm -lresolv -lxml2 -lz -liconv -lm 1>&5
ld: warning: in /opt/local/lib/libz.dylib, file was built for i386 which
is not the architecture being linked (x86_64)
configure:22526: checking for OpenSSL support
configure:22570: checking for Kerberos support
configure:24082: checking for PCRE headers location
configure:24093: checking for PCRE library location
configure:24852: checking whether to enable the SQLite3 extension
configure:25863: checking for ZLIB support
configure:25907: checking if the location of ZLIB install directory is
defined
configure:26350: checking for gzgets in -lz
configure:26369: /usr/bin/gcc-4.2 -o conftest -pipe -O2 -arch x86_64
-fvisibility=hidden -I/opt/local/include -no-cpp-precomp
-Wl,-rpath,/opt/local/lib -L/opt/local/lib -L/opt/local/lib -arch x86_64
-Wl,-rpath,/opt/local/lib -L/opt/local/lib conftest.c -lz -lpcre -lm
-lresolv -lxml2 -lz -liconv -lm 1>&5
ld: warning: in /opt/local/lib/libz.dylib, file was built for i386 which
is not the architecture being linked (x86_64)
Undefined symbols:
"_gzgets", referenced from:
_main in cckuxfSz.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure: failed program was:
#line 26358 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char gzgets();
int main() {
gzgets()
; return 0; }
}}}
# macos 10.6.8 xcode 3.2.6
# OS upgraded from 10.5 32 bit architecture
--
Ticket URL: <https://trac.macports.org/ticket/34701>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list