libwww-perl overwrote /usr/bin/head (was: Re: php5-oracle)
Ryan Schmidt
ryandesign at macports.org
Sat Jan 16 15:08:14 PST 2010
On Jan 16, 2010, at 13:12, John Korchok wrote:
> 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
You have installed libwww-perl with its helper "HEAD" program, which has replaced your OS's unrelated "head" program because Mac OS X's filesystem is case-insensitive. Please restore the proper "head" program into your /usr/bin from your backups or from another machine with the same OS version, or reinstall Mac OS X to get it back. To avoid this, don't install libwww-perl with its "helper" scripts. If you install p5-libwww-perl using MacPorts, it will not include these helper scripts so you will not have this problem.
More information about the macports-users
mailing list