[MacPorts] #15220: PHP 5.2.6 won't install on Leopard,
expecting APXS2
MacPorts
trac at macosforge.org
Wed May 7 09:06:59 PDT 2008
#15220: PHP 5.2.6 won't install on Leopard, expecting APXS2
--------------------------------+-------------------------------------------
Reporter: coolfactor at mac.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: php5 |
--------------------------------+-------------------------------------------
{{{
---> Configuring php5
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/php-5.2.6"
&& ./configure --prefix=/opt/local --mandir=/opt/local/share/man
--infodir=/opt/local/share/info --with-config-file-path=/opt/local/etc
--enable-calendar --with-iconv=/opt/local --enable-exif --enable-ftp
--enable-wddx --with-zlib=/opt/local --with-bz2=/opt/local --without-mysql
--without-sqlite --without-pdo-sqlite --with-libxml-dir=/opt/local --with-
gettext=/opt/local --with-xml --with-expat-dir=/opt/local --with-xmlrpc
--enable-soap --enable-filepro --enable-bcmath --enable-trans-sid
--enable-mbstring --enable-dbx --enable-dba --enable-zip --with-
openssl=/opt/local --with-mhash=/opt/local --with-mcrypt=/opt/local
--with-xsl=/opt/local --with-curl=/opt/local --with-pcre-regex=/opt/local
--with-gd --with-jpeg-dir=/opt/local --with-png-dir=/opt/local --enable-
gd-native-ttf --without-pear --with-freetype-dir=/opt/local --with-
apxs=/usr/sbin/apxs --with-ldap=/usr --with-kerberos=/usr --with-
iodbc=/usr " returned error 1
Command output: checking whether gcc and cc understand -c and -o
together... (cached) yes
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking for AIX... no
checking whether ln -s works... (cached) yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for re2c... re2c
checking for re2c version... 0.13.1 (ok)
checking for gawk... (cached) awk
checking if awk is broken... no
checking for bison... (cached) bison -y
checking for bison version... (cached) 2.3 (ok)
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for working const... (cached) yes
checking for flex version... (cached) invalid
configure: warning: flex versions supported for regeneration of the
Zend/PHP parsers: 2.5.4 (found: )
checking whether gcc supports -no-cpp-precomp... (cached) yes
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking for pthreads_cflags... (cached)
checking for pthreads_lib... (cached)
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... configure:
error: You have enabled Apache 1.3 support while your server is Apache 2.
Please use the appropiate switch --with-apxs2
Error: Status 1 encountered during processing.
}}}
Changing the --configure command to include --with-apxs2=/usr/sbin/apxs
allows it to proceed, but I was unable to figure out how to get it to
install completely.
--
Ticket URL: <http://trac.macports.org/ticket/15220>
MacPorts </>
Ports system for Mac OS
More information about the macports-tickets
mailing list