[MacPorts] #34217: php5-oracle: shell command failed error
MacPorts
noreply at macports.org
Wed Apr 25 11:56:13 PDT 2012
#34217: php5-oracle: shell command failed error
----------------------------------+-----------------------------------------
Reporter: jkorchok@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: URI.pm | Port: php5-oracle
----------------------------------+-----------------------------------------
G4 Mac running Leopard 10.5.8, Macports 2.0.4
I have upgraded PHP5 to 5.3.10. When I try to install the Oracle
extensions:
sudo port install php5-oracle
I get:
---> Configuring php5-oracle
Error: Target org.macports.configure returned: configure failure: shell
command failed (see log for details)
Log for php5-oracle is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-oracle/php5-oracle/main.log
Error: Status 1 encountered during processing.
The log reads:
:info:configure checking PHP version... Can't locate URI.pm in @INC (@INC
contains: /opt/local/lib/perl5/site_perl/5.12.4/darwin-multi-2level
/opt/local/lib/perl5/site_perl/5.12.4
/opt/local/lib/perl5/vendor_perl/5.12.4/darwin-multi-2level
/opt/local/lib/perl5/vendor_perl/5.12.4 /opt/local/lib/perl5/5.12.4
/darwin-multi-2level /opt/local/lib/perl5/5.12.4
/opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at
/opt/local/bin/head line 190.
:info:configure BEGIN failed--compilation aborted at /opt/local/bin/head
line 190.
:info:configure configure: error: failed to detect PHP version, please
report
:info:configure shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-oracle/php5-oracle/work/php-5.3.10/ext/oci8"
&& ./configure --prefix=/opt/local --with-
oci8=instantclient,/opt/local/lib/oracle --with-pdo-
oci=instantclient,/opt/local/lib/oracle,10.1 " returned error 1
:error:configure Target org.macports.configure returned: configure
failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see
log for details)
while executing
"$procedure $targetname"
To me it looks like it's trying to find the PHP version where Perl version
information is stored, but I have no expertise in this.
--
Ticket URL: <https://trac.macports.org/ticket/34217>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list