[MacPorts] #25231: php52-5.2.13 error compiling php52 with +pear variant on Snow Leopard Server

MacPorts noreply at macports.org
Sun Jun 13 09:21:13 PDT 2010


#25231: php52-5.2.13 error compiling php52 with +pear variant on Snow Leopard
Server
-----------------------------------+----------------------------------------
 Reporter:  ugo.enyioha@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.9.0                                
 Keywords:                         |        Port:                                       
-----------------------------------+----------------------------------------
 php52 fails to compile on my box when specifying the pear variant.

 I did some analysis and it seems the error occurs during the "make
 install-pear" section of the make file with the following errors.

 {{{
 Installing PEAR environment:      /opt/local/lib/php/

 Notice: Unknown: Unable to find the wrapper "php" - did you forget to
 enable it when you configured PHP? in Unknown on line 0

 Notice: Unknown: Unable to find the wrapper "php" - did you forget to
 enable it when you configured PHP? in Unknown on line 0

 Notice: Unknown: Unable to find the wrapper "php" - did you forget to
 enable it when you configured PHP? in Unknown on line 0

 Fatal error: Call to undefined function in_array() in
 /Volumes/StorageHD/opt/local/var/macports/build/_Volumes_StorageHD_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/work/php-5.2.13/pear
 /install-pear-nozlib.phar on line 393
 }}}

 Altering the php Makefile in the work directory to use the default php
 binaries at /usr/bin/php was able to complete the build. However, apache
 module libphp.so segfaults on my machine. So I don't believe this is the
 right thing to do.

 I've attached my logs.

-- 
Ticket URL: <http://trac.macports.org/ticket/25231>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list