panther - php5 upgrade - i'm confused

Chris Janton face at CentosPrime.COM
Sun Dec 7 05:43:37 PST 2008


On 2008-12-06 , at 12:24 , Ryan Schmidt wrote:

>> Why does the php5 upgrade "install" apache2?
>
> I don't know... I didn't change anything in the dependencies  
> recently. I'll test on my Panther machine later.
>
> I notice you have the apache port installed. Are you currently using  
> php5 with that apache, and/or is that your intention? Because the  
> +apache variant of php5 currently uses Apple's Apache 1 server, not  
> MacPorts apache. Though I have been meaning to change this forever.


Way back in the past I couldn't get PHP to build without installing  
Apache, even though I want to use the Apple installed Apache 1 server.

admin at x:admin:122 $ sudo port deactivate apache
--->  Deactivating apache
admin at x:admin:123 $ sudo port upgrade php5
--->  Activating apache2 2.2.10_0+darwin_7
--->  Building php5 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/_opt_local_var_ma
  ...

admin at x:admin:124 $ sudo port uninstall apache2
--->  Deactivating apache2 2.2.10_0+darwin_7
--->  Uninstalling apache2 2.2.10_0+darwin_7
admin at x:admin:125 $ sudo port uninstall apache
--->  Uninstalling apache 1.3.41_0
admin at x:admin:126 $ sudo port upgrade php5
--->  Installing apache2 2.2.10_0+darwin_7
--->  Activating apache2 2.2.10_0+darwin_7
--->  Cleaning apache2
--->  Building php5 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_www_php5/work/php-5.2.7" && make all "  
returned error 2
Command output: /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_www_php5/work/php-5.2.7/ext/odbc/ 
php_odbc.c:3624: warning: passing arg 1 of `_efree' makes pointer from  
integer without a cast
  ...

8)
----------------------------------
Chris Janton  - face at CentosPrime dot COM
Netminder for Opus1.COM




More information about the macports-users mailing list