At 12:47 PM -0500 3/8/02, Ari Kahn wrote:
>I read in http://developer.apple.com/internet/macosx/perl.html that there
>might be "
>difficulties when installing a software package that was designed for a
>case-sensitive system. For example, libwww-perl by default installs an HTTP
>script called HEAD, which is used to make an HTTP HEAD request. If this is
>installed to /usr/bin, it can overwrite the BSD built-in /usr/bin/head
>command, used for reading the beginnings of files. To prevent this kind of
>collision when using HFS+, it's necessary to configure CPAN.pm to install
>modules to a private directory. "
>
>Has anyone had this issue when using the default CPAN settings?  Or has this
>been corrected with darwin.hints?

Wow! This finally explains how my head binary got overwritten. I 
couldn't figure out why /etc/daily was suddenly giving me errors like:

Rotating log files: system.logUnknown option: 1
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


Cleaning web server log files:

I ended up replacing head with a binary from a different X machine, 
and all was well.

Thanks for clearing up the mystery!

jon

Reply via email to