John Korchok jkorchok at
Sat Jan 16 13:14:07 PST 2010

Thanks for the tip. I get a much longer error report, but the error is still
the same: the PHP version can't be found. Should I file a ticket?
John Korchok


From: Bradley Giesbrecht [mailto:brad at] 
Sent: Saturday, January 16, 2010 3:58 PM
To: John Korchok
Cc: macports-users at
Subject: Re: php5-oracle

-d before command

sudo port -d clean php5-oracle 

sudo port -d uninstall php5-oracle

sudo port -d install php5-oracle

// brad

On Jan 16, 2010, at 11:12 AM, John Korchok wrote:

Hi all,
On one machine only, I am getting the following when attempting to upgrade
sudo port upgrade -d php5-oracle 
--->  Computing dependencies for php5-oracle
--->  Configuring php5-oracle
Error: Target org.macports.configure returned: configure failure: shell
command " cd
s.org_release_ports_php_php5-oracle/work/php-5.3.1/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
Command output: checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to
regenerate PHP parsers.
checking for gawk... gawk
checking for Oracle (OCI8) support... yes, shared
checking PHP version... Unknown option: n
Usage: head [-options] <url>...
    -m <method>   use method for the request (default is 'HEAD')
    -f            make request even if head believes method is illegal
    -b <base>     Use the specified URL as base
    -t <timeout>  Set timeout value
    -i <time>     Set the If-Modified-Since header on the request
    -c <conttype> use this content-type for POST, PUT, CHECKIN
    -a            Use text mode for content I/O
    -p <proxyurl> use this as a proxy
    -P            don't load proxy settings from environment
    -H <header>   send this HTTP header (you can specify several)
    -u            Display method and URL before any response
    -U            Display request headers (implies -u)
    -s            Display response status code
    -S            Display response status chain
    -e            Display response headers
    -d            Do not display content
    -o <format>   Process HTML content in various ways
    -v            Show program version
    -h            Print this message
    -x            Extra debugging output
configure: error: failed to detect PHP version, please report
Error: Unable to upgrade port: 1
Before reporting a bug, first run the command again with the -d flag to get
complete output.

I previously ran 
port clean php5-oracle
but it didn't help.
I also tried
sudo port uninstall php5-oracle
sudo port install php5-oracle
and got the same error message.
I couldn't find any tickets on this issue. Should I file one?
John Korchok
macports-users mailing list
macports-users at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list