Opened 12 years ago

Last modified 12 years ago

#34217 closed defect

php5-oracle: shell command failed error — at Initial Version

Reported by: jkorchok@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: php5-oracle

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.