Changes between Initial Version and Version 1 of Ticket #34217


Ignore:
Timestamp:
Apr 25, 2012, 7:33:13 PM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

The problem is that the script /opt/local/bin/HEAD exists, and the solution is to remove it. This file will interfere with the proper operation of a lot of things, not just php5-oracle. How did that file get there? It's a part of the libwww-perl software, but the MacPorts p5-libwww-perl port doesn't install it, nor as far as I recall would it get installed by default if you installed libwww-perl manually, precisely because of this problem: it interferes with the program called "head" which serves a completely different purpose, but which OS X sees as the same problem program because your filesystem is case-insensitive. ("head" reads the first lines of a text file; "HEAD" performs an HTTP request and shows the headers, I believe).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34217

    • Property Owner changed from macports-tickets@… to ryandesign@…
    • Property Keywords URI.pm removed
    • Property Summary changed from php5-oracle: shell command failed error to php5-oracle: checking PHP version... Can't locate URI.pm in @INC
  • Ticket #34217 – Description

    initial v1  
    1 G4 Mac running Leopard 10.5.8, Macports 2.0.4
     1G4 Mac running Leopard 10.5.8, Macports 2.0.4 [[br]]
    22I have upgraded PHP5 to 5.3.10. When I try to install the Oracle extensions:
     3{{{
    34sudo port install php5-oracle
     5}}}
    46I get:
    57
     8{{{
    69--->  Configuring php5-oracle
    710Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
    811Log 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
    912Error: Status 1 encountered during processing.
     13}}}
    1014
    1115The log reads:
    1216
     17{{{
    1318: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.
    1419:info:configure BEGIN failed--compilation aborted at /opt/local/bin/head line 190.
     
    1924    while executing
    2025"$procedure $targetname"
     26}}}
    2127
    2228To 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.