Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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)

main.log (31.6 KB) - added by jkorchok@… 13 years ago.
installation log

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by jkorchok@…

Attachment: main.log added

installation log

comment:1 Changed 13 years ago by jkorchok@…

Cc: jkorchok@… added

Cc Me!

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jkorchok@… removed
Description: modified (diff)

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Summary: upgrade or install php5-oracle failsphp5-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 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

comment:5 in reply to:  3 Changed 13 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 13 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: php5-oracle fails when /usr/bin/head is brokenphp5-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?

Note: See TracTickets for help on using tickets.