#27067 closed defect (duplicate)
php5-oracle fails when "head" is broken
Reported by: | jkorchok@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | php5 oracle | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | php5-oracle |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I've tried:
port upgrade php5-oracle
then
port uninstall php5-oracle port install php5-oracle
then
port install -d php5-oracle
then
port install -f php5-oracle
In all cases I get:
Error: Target org.macports.configure returned: configure failure: shell command failed Log for php5-oracle is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_php_php5-oracle/main.log Error: Status 1 encountered during processing.
The log is attached.
Attachments (1)
Change History (7)
Changed 14 years ago by jkorchok@…
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jkorchok@… removed |
---|---|
Description: | modified (diff) |
comment:3 follow-up: 5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Summary: | upgrade or install php5-oracle fails → php5-oracle fails when /usr/bin/head is broken |
Your "head" command (/usr/bin/head) is broken, probably because you have manually installed LibWWW-Perl with its helper programs, which overwrites /usr/bin/head with a totally unrelated script called /usr/bin/HEAD. Please put back the proper "head" program by getting it from your backups, or by copying it from another Mac with the same version of Mac OS X, or from your Mac OS X install DVD. See #23312 for more suggestions.
comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
comment:5 Changed 14 years ago by jkorchok@…
Replying to ryandesign@…:
Your "head" command (/usr/bin/head) is broken, probably because you have manually installed LibWWW-Perl with its helper programs, which overwrites /usr/bin/head with a totally unrelated script called /usr/bin/HEAD. Please put back the proper "head" program by getting it from your backups, or by copying it from another Mac with the same version of Mac OS X, or from your Mac OS X install DVD. See #23312 for more suggestions.
The version of head in /usr/bin is the correct one. I found HEAD in /opt/local/bin where it had been installed by MacPorts back in 2006. After renaming it, I could install php5-oracle normally.
comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | php5-oracle fails when /usr/bin/head is broken → php5-oracle fails when "head" is broken |
---|
Hm, ok. I'm surprised you still had that file since the port that provided it should be p5-libwww-perl but it hasn't done so for years. You said you just renamed it... if you rename it back, what does "port provides /opt/local/bin/HEAD" say?
installation log