Subject: | Fails to install on Haiku |
/tmp> curl -L -k http://xrl.us/perlbrewinstall > foo
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 648 100 648 0 0 662 0 --:--:-- --:--:-- --:--:--
662
100 1336 100 1336 0 0 8918 0 --:--:-- --:--:-- --:--:--
0
/tmp> ls -l
total 4
-rw-r--r-- 1 user root 1984 Jul 22 22:53 foo
/tmp> bash foo
## Download the latest perlbrew
## Download the packed patchperl
## Installing perlbrew
runtime_loader: Cannot open file /usr/bin/env: No such file or directory
## Installing patchperl
## Done.
foo: line 30: syntax error near unexpected token `<'
foo: line 30: `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta
http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ERROR: The requested URL could not be retrieved</title> <style
type="text/css"><!-- %l body :lang(fa) { direction: rtl; font-size:
100%; font-family: Tahoma, Roya, sans-serif; float: right; } :lang(he) {
direction: rtl; } --></style> </head><body id=ERR_INVALID_URL> <div
id="titles"> <h1>ERROR</h1> <h2>The requested URL could not be
retrieved</h2> </div> <hr> <div id="content"> <p>The following error
was encountered while trying to retrieve the URL: <a
href="HTTP://>HTTP:///a></p> <blockquote id="error"> <p><b>Invalid
URL</b></p> </blockquote> <p>Some aspect of the requested URL is
incorrect.</p> <p>Some possible problems are:</p> <ul> <li><p>Missing
or incorrect access protocol (should be <q>http://</q> or
similar)</p></li> <li><p>Missing hostname</p></li> <li><p>Illegal
double-escape in the URL-Path</p></li> <li><p>Illegal character in
hostname; underscores are not allowed.</p></li> </ul> <p>Your cache
administrator is <a href="mailto:webmaster">webmaster</a>.</p> <br>
</div> <hr> <div id="footer"> <p>Generated Sat, 23 Jul 2011 02:53:47
GMT by localhost (squid/2.7.STABLE9)</p> <!-- ERR_INVALID_URL --> </div>
</body></html> '
/tmp>