Re: dmg of perl 5.8.0 on Mac OS X

2003-03-01 Thread David H. Adler
On Fri, Feb 28, 2003 at 03:28:58PM -0600, Joe Davison wrote:
 On Thu, 6 Feb 2003, Nathan Torkington wrote:
   A .pkg is specifically just a distribution of files to be installed
   using the Installer program.  You can add pre- and post- actions to a
   package (which I should have done for Perl--update your .cshrc to add
   /usr/local/perl5-8 to the path).  The prompting for admin password,
   confirming acceptance of the license, selecting the drive to install
   on ... all that's done by the Installer program in response to
   instructions in the .pkg file.
   
   I used .pkg instead of .dmg because Perl's location is hard-coded in
   the binary, so it *has* to go into /usr/local/perl5-8.  If I'd just
   given you a filesystem, you could have copied it anywhere and then
   filled my mailbox with you suck, Torkington! email :-)
   
 
 
 Actually, I'm just as happy you didn't update my .cshrc, since I don't
 use csh/tcsh -- I use zsh.

And, a quick step back to the actual subject... :-)

I've looked through the archives of the list, and I've seen a *ton* of
discussion about what's a .pkg or .dmg and such side issues, but I've
not seen much about people's actual reactions to the package and its
installation itself.

I mean, I trust gnat and all, but do people actually have this up and
running well? :-)

dha, veteran of the installation wars

-- 
David H. Adler - [EMAIL PROTECTED] - http://www.panix.com/~dha/
The Inferno video is really in colour.


Re: dmg of perl 5.8.0 on Mac OS X

2003-02-28 Thread Joe Davison
On Thu, 6 Feb 2003, Nathan Torkington wrote:
  A .pkg is specifically just a distribution of files to be installed
  using the Installer program.  You can add pre- and post- actions to a
  package (which I should have done for Perl--update your .cshrc to add
  /usr/local/perl5-8 to the path).  The prompting for admin password,
  confirming acceptance of the license, selecting the drive to install
  on ... all that's done by the Installer program in response to
  instructions in the .pkg file.
  
  I used .pkg instead of .dmg because Perl's location is hard-coded in
  the binary, so it *has* to go into /usr/local/perl5-8.  If I'd just
  given you a filesystem, you could have copied it anywhere and then
  filled my mailbox with you suck, Torkington! email :-)
  


Actually, I'm just as happy you didn't update my .cshrc, since I don't
use csh/tcsh -- I use zsh.

I can handle a Readme that says I need to update my PATH.

joe


Re: dmg of perl 5.8.0 on Mac OS X

2003-02-19 Thread Chris Nandor
In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Nathan Torkington) wrote:

 I'm not entirely sure.  I think that a previous 5.8 install overwrote
 some of the 5.5 library (doing a 'configure.gnu --prefix=/blah' still
 made 5.8 install crap into /Library).

hints/darwin.sh overrides the defaults.  I want everything in /usr/local/, 
though, so this is what I do to mine, for Mac OS X:

[pudge@bourque hints]$ diff -u darwin.sh.orig darwin.sh
--- darwin.sh.orig  Thu Jul 18 01:42:44 2002
+++ darwin.sh   Wed Feb 19 19:53:46 2003
@@ -7,31 +7,7 @@
 # Paths
 ##
 
-# BSD paths
-case $prefix in
-'')
-   # Default install; use non-system directories
-   prefix='/usr/local'; # Built-in perl uses /usr
-   siteprefix='/usr/local';
-   vendorprefix='/usr/local'; usevendorprefix='define';
-
-   # Where to put modules.
-   privlib='/Library/Perl'; # Built-in perl uses /System/Library/Perl
-   sitelib='/Library/Perl';
-   vendorlib='/Network/Library/Perl';
-   ;;
-'/usr')
-   # We are building/replacing the built-in perl
-   siteprefix='/usr/local';
-   vendorprefix='/usr/local'; usevendorprefix='define';
-
-   # Where to put modules.
-   privlib='/System/Library/Perl';
-   sitelib='/Library/Perl';
-   vendorlib='/Network/Library/Perl';
-   ;;
-esac
-
+prefix='/usr/local';
 # 4BSD uses ${prefix}/share/man, not ${prefix}/man.
 man1dir=${prefix}/share/man/man1;
 man3dir=${prefix}/share/man/man3;

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/



Re: dmg of perl 5.8.0 on Mac OS X

2003-02-19 Thread Chris Nandor
In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Puneet Kishor) wrote:

 fwiw, I am using 10.2.3... I don't have wget. I could be wrong, but I 
 remember something to the effect that wget is not only deprecated in 
 favor of curl but also abolished. As usaul, I culd be wrong.

wget was removed from Mac OS X, but it, itself, is not deprecated or 
abolished, and you can install it via fink.  I believe the issue is 
primarily of Apple wanting to use non-GPL equivalents when possible; but 
OTOH, I think curl is a little nicer to use, so it might merely be that.

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/



Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Phil Dobbin
On 6/2/03 1:03, Nathan Torkington [EMAIL PROTECTED] wrote:

 Please download and test the perl 5.8.0 distribution available from:
 http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg

[...]

I get a text transfer of the binary when trying to d/l this in Mozilla, IE
and Omni Web instead of the disk image. This is the first time this has
happened for a long time and I can't remember how to fix it. Anybody?

 With the help of Fink, I managed to totally trash my system.  I
 reinstalled yesterday, and went through the hassle of building Perl
 5.8.0 all over again.  I figured I'd save other folks that hassle.

Ugh! At the risk of veering wildly OT, what happened (must be my day for
questions ;-)?

Regards,

Phil.
 




Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Morbus Iff
 Please download and test the perl 5.8.0 distribution available from:
 http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg

I get a text transfer of the binary when trying to d/l this in Mozilla, IE
and Omni Web instead of the disk image. This is the first time this has
happened for a long time and I can't remember how to fix it. Anybody?

 wget http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg

:)


--
Morbus Iff ( i'm the droid you're looking for )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Please Me: http://www.amazon.com/exec/obidos/wishlist/25USVJDH68554
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus




Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Phil Dobbin
On 6/2/03 14:30, Morbus Iff [EMAIL PROTECTED] wrote:

 Please download and test the perl 5.8.0 distribution available from:
 http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg
 
 I get a text transfer of the binary when trying to d/l this in Mozilla, IE
 and Omni Web instead of the disk image. This is the first time this has
 happened for a long time and I can't remember how to fix it. Anybody?
 
 wget http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg

I'm still using 10.1.5:

bash2.05 phil@localhost ~ $ whereis wget
bash2.05 phil@localhost ~ $ whereis curl
/usr/bin/curl

So it looks like `curl'

;-)

Regards,

Phil.




Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Morbus Iff
 wget http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg

I'm still using 10.1.5:

bash2.05 phil@localhost ~ $ whereis wget
bash2.05 phil@localhost ~ $ whereis curl
/usr/bin/curl

Aaah, yeah, I forgot all about that. I hate how they replaced wget with 
curl - drives me absolutely batty, as curl can't seem (or rather, I've 
never gotten it) to follow Redirect's properly. It'll either loop xx times, 
then die, or loop xx times and segfault. Stupid flipping curl.

wget is, however, available through fink and as a .dmg.


--
Morbus Iff ( i'm the droid you're looking for )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Please Me: http://www.amazon.com/exec/obidos/wishlist/25USVJDH68554
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus



Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Drew Taylor
At 09:36 PM 2/5/03 -0800, Michael Maibaum wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Wednesday, February 5, 2003, at 08:37 PM, Chris Nandor wrote:


Now, who is going to do a dmg of Apache / mod_perl / libapreq?  :-)


We'll be providing .pkg and .mpkgs shortly, and the packages that there 
are already are availible over webdav or from the website (webdav address 
is http://packages.opendarwin.org/) These packages are still in testing at 
the moment...

Perhaps this is a stupid question, but could someone explain the difference 
between a disk image (dmg) and a package (pkg)? I know the dmg mounts a 
virtual drive, but other than that which is better?

Drew

--
Drew Taylor| Web development  consulting
http://www.drewtaylor.com/ | perl/mod_perl/DBI/mysql/postgres
--
Netflix: DVD Rentals by mail with NO late fees or due dates!
Free Trial - http://www.netflix.com/Default?mqso=36126240
--



Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Michael Maibaum
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Thursday, February 6, 2003, at 07:37 AM, Drew Taylor wrote:


At 09:36 PM 2/5/03 -0800, Michael Maibaum wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Wednesday, February 5, 2003, at 08:37 PM, Chris Nandor wrote:


Now, who is going to do a dmg of Apache / mod_perl / libapreq?  :-)


We'll be providing .pkg and .mpkgs shortly, and the packages that 
there are already are availible over webdav or from the website 
(webdav address is http://packages.opendarwin.org/) These packages 
are still in testing at the moment...

Perhaps this is a stupid question, but could someone explain the 
difference between a disk image (dmg) and a package (pkg)? I know the 
dmg mounts a virtual drive, but other than that which is better?


The dmg usually contains a .pkg  which is run once the dmg is mounted.


Michael
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE+QokPilk3LUlIL0MRAgSEAJ47Z7Tpf9LSaQvVVIxk4AozeUMY7wCfVL0g
DLk1TXq7RQ+xz9rcSGhi3lI=
=qcWT
-END PGP SIGNATURE-




Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Nathan Torkington
Drew Taylor writes:
 Perhaps this is a stupid question, but could someone explain the difference 
 between a disk image (dmg) and a package (pkg)? I know the dmg mounts a 
 virtual drive, but other than that which is better?

A .dmg is a file containing a filesystem, kinda like a .iso for CD-ROM
filesystems.  A .dmg can contain programs that you run directly from
the disk image.  This is how Mozilla is shipped--no installer, just a
folder you drag to your Applications directory.  A .dmg doesn't even
have to contain programs--I could ship a .dmg of images, text files,
anything.

A .pkg is specifically just a distribution of files to be installed
using the Installer program.  You can add pre- and post- actions to a
package (which I should have done for Perl--update your .cshrc to add
/usr/local/perl5-8 to the path).  The prompting for admin password,
confirming acceptance of the license, selecting the drive to install
on ... all that's done by the Installer program in response to
instructions in the .pkg file.

I used .pkg instead of .dmg because Perl's location is hard-coded in
the binary, so it *has* to go into /usr/local/perl5-8.  If I'd just
given you a filesystem, you could have copied it anywhere and then
filled my mailbox with you suck, Torkington! email :-)

Nat




Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Puneet Kishor

On Thursday, February 6, 2003, at 09:37  AM, Drew Taylor wrote:


At 09:36 PM 2/5/03 -0800, Michael Maibaum wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Wednesday, February 5, 2003, at 08:37 PM, Chris Nandor wrote:


Now, who is going to do a dmg of Apache / mod_perl / libapreq?  :-)


We'll be providing .pkg and .mpkgs shortly, and the packages that 
there are already are availible over webdav or from the website 
(webdav address is http://packages.opendarwin.org/) These packages 
are still in testing at the moment...

Perhaps this is a stupid question, but could someone explain the 
difference between a disk image (dmg) and a package (pkg)? I know the 
dmg mounts a virtual drive, but other than that which is better?


a package is a way of putting several things together into one 
bundle. An application package contains all the things the 
application needs to run (the binary executable, the preflists, icons 
and other resources, nibs, help files, etc.). An installer package 
contains the different things required to make an application run 
successfully, but those things may need to go to different locations on 
the hard drive. For example, the gimp package at darwinports puts 
together all the nonsense required by gimp to run successfully 
(actually, it leaves out gtk and gtk2, but that is another story), so 
that ignoramuses like me can one click install -- like magic, 
everything goes to its correct place, and then it works.

A disk image is just a way to deliver the package. You could just as 
well stuffit the package and supply that. Perhaps even uuencode it and 
send it in an annoyingly long email accessible via elm...



Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Phil Dobbin
On 6/2/03 14:30, Morbus Iff [EMAIL PROTECTED] wrote:

 Please download and test the perl 5.8.0 distribution available from:
 http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg
 
 I get a text transfer of the binary when trying to d/l this in Mozilla, IE
 and Omni Web instead of the disk image. This is the first time this has
 happened for a long time and I can't remember how to fix it. Anybody?
 
 wget http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg

Curiouser and curiouser...

I tried `curl http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg'

And got the same binary text d/l (and had to crash `terminal' to stop it :-(

Hmm...

Regards,

Phil.




Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Morbus Iff
I tried `curl http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg'
And got the same binary text d/l (and had to crash `terminal' to stop it :-(

Curl, by default, will spit to STDOUT (ie. your Terminal) not to a file. 
I'm not in front of a OS X box right now, but I believe you've got to do:

 curl -O http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg




--
Morbus Iff ( i'm the droid you're looking for )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Please Me: http://www.amazon.com/exec/obidos/wishlist/25USVJDH68554
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus



Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread pkeidesis
Phil Dobbin wrote:

On 6/2/03 14:30, Morbus Iff [EMAIL PROTECTED] wrote:



Please download and test the perl 5.8.0 distribution available from:
http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg


I get a text transfer of the binary when trying to d/l this in Mozilla, IE
and Omni Web instead of the disk image. This is the first time this has
happened for a long time and I can't remember how to fix it. Anybody?


wget http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg



Curiouser and curiouser...

I tried `curl http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg'

And got the same binary text d/l (and had to crash `terminal' to stop it :-(



from my cygwin version (should be the same on OS X) --

C:\htdocs\eidesis\cgi-bincurl --help
curl 7.9.8 (i686-pc-cygwin) libcurl 7.9.8 (OpenSSL 0.9.6g)
Usage: curl [options...] url
Options: (H) means HTTP/HTTPS only, (F) means FTP only
 -a/--appendAppend to target file when uploading (F)
 -A/--user-agent string User-Agent to send to server (H)
 -b/--cookie name=string/file Cookie string or file to read cookies 
from (H)
 -B/--use-ascii Use ASCII/text transfer
 -c/--cookie-jar file Write all cookies to this file after operation (H)
 -C/--continue-at offset Specify absolute resume offset
 -d/--data data   HTTP POST data (H)
--data-ascii data   HTTP POST ASCII data (H)
--data-binary data  HTTP POST binary data (H)
--disable-epsv  Prevents curl from using EPSV (F)
 -D/--dump-header file Write the headers to this file
--egd-file file EGD socket path for random data (SSL)
 -e/--referer   Referer page (H)
 -E/--cert cert[:passwd] Specifies your certificate file and password 
(HTTPS)
--cert-type type Specifies certificate file type (DER/PEM/ENG) 
(HTTPS)
--key key Specifies private key file (HTTPS)
--key-type type Specifies private key  file type (DER/PEM/ENG) 
(HTTPS)
--pass  pass  Specifies passphrase for the private key (HTTPS)
--engine eng  Specifies the crypto engine to use (HTTPS)
--cacert file CA certifciate to verify peer against (SSL)
--capath directory CA directory (made using c_rehash) to verify
peer against (SSL, NOT Windows)
--ciphers list What SSL ciphers to use (SSL)
--connect-timeout seconds Maximum time allowed for connection
 -f/--fail  Fail silently (no output at all) on errors (H)
 -F/--form name=content Specify HTTP POST data (H)
 -g/--globoff   Disable URL sequences and ranges using {} and []
 -G/--get   Send the -d data with a HTTP GET (H)
 -h/--help  This help text
 -H/--header line Custom header to pass to server. (H)
 -i/--include   Include the HTTP-header in the output (H)
 -I/--head  Fetch document info only (HTTP HEAD/FTP SIZE)
 -j/--junk-session-cookies Ignore session cookies read from file (H)
--interface interface Specify the interface to be used
--krb4 level  Enable krb4 with specified security level (F)
 -K/--configSpecify which config file to read
 -l/--list-only List only names of an FTP directory (F)
 -L/--location  Follow Location: hints (H)
 -m/--max-time seconds Maximum time allowed for the transfer
 -M/--manualDisplay huge help text
 -n/--netrc Must read .netrc for user name and password
--netrc-optional  Use either .netrc or URL; overrides -n
 -N/--no-buffer Disables the buffering of the output stream
 -o/--output file Write output to file instead of stdout
 -O/--remote-name   Write output to a file named as the remote file
 -p/--proxytunnel   Perform non-HTTP services through a HTTP proxy
 -P/--ftpport address Use PORT with address instead of PASV when 
ftping (F)
 -q When used as the first parameter disables .curlrc
 -Q/--quote cmd   Send QUOTE command to FTP before file transfer (F)
 -r/--range range Retrieve a byte range from a HTTP/1.1 or FTP server
 -R/--remote-time   Set the remote file's time on the local output
 -s/--silentSilent mode. Don't output anything
 -S/--show-errorShow error. With -s, make curl show errors when 
they occur
--stderr file Where to redirect stderr. - means stdout.
 -t/--telnet-option OPT=val Set telnet option
--trace file  Dump a network/debug trace to the given file
--trace-ascii file  Like --trace but without the hex output
 -T/--upload-file file Transfer/upload file to remote site
--url URL Another way to specify URL to work with
 -u/--user user[:password] Specify user and password to use
Overrides -n and --netrc-optional
 -U/--proxy-user user[:password] Specify Proxy authentication
 -v/--verbose   Makes the operation more talkative
 -V/--version   Outputs version number then quits
 -w/--write-out [format] What to output after completion
 -x/--proxy host[:port]  Use proxy. (Default port is 1080)
--random-file file File to use for reading random data from (SSL)
 -X/--request command Specific request command to use
 -y/--speed-timeTime 

Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Bruce Van Allen
Hey Nat -- Thanks. Downloaded and installed just fine on my t?rusty 
G4-350, OS X 10.2.3.

I've been under a major deadline until last week, so I've just been 
watching everyone's travails with upgrading their OS X Perl 
installation. I took the risk of upgrading to Jaguar when it came out, 
but decided to wait on messing with Perl, even though I'd been running 
5.6.1 pre-jag.

This week I had just replaced my system Perl with 5.6.1 when you posted 
this. So now I have both 'good' versions of Perl available. For now 
5.8.0 is just for fun and my own local tools -- my applications are on 
too many machines with older distributions -- pre-millennial, even...

After all the comments about downloading and wget/curl problems, I just 
wanted to let you know that, at least for one person, it worked out of 
the box, er, dmg.

Did notice the DB_File version is:
# /usr/local/perl5-8/Library/Perl/5.8.0/darwin/DB_File.pm
# last modified 22nd October 2002
# version 1.806

Typo in your announcement?
On Wednesday, February 5, 2003, at 05:03  PM, Nathan Torkington wrote:
It installs Perl, Berkeley DB 4.1.25, DB_File 1.42 and Time::HiRes
1.42 into /usr/local/perl5-8.  You'll need to add


Thanks!

  - Bruce

__bruce__van_allen__santa_cruz__ca__




Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Phil Dobbin
On 6/2/03 16:58, Morbus Iff [EMAIL PROTECTED] wrote:

 I tried `curl http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg'
 And got the same binary text d/l (and had to crash `terminal' to stop it :-(
 
 Curl, by default, will spit to STDOUT (ie. your Terminal) not to a file.
 I'm not in front of a OS X box right now, but I believe you've got to do:
 
 curl -O http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg

Thanks, Morbus, it now works fine

Teach me not to read the manpage...

Regards,

Phil.




Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Nathan Torkington
Puneet Kishor writes:
 On a related note -- Nat, please, if you could summarize how fink 
 trashed your system so much that you had to reinstall... that might be 
 as great a help as creating a perl dmg. Fink makes a very big issue of 
 how it protects your system by installing under /sw, and remaining 
 separate from the system. Seems like while it does all that, it also 
 has to capability of hosing the system.

It's only suspicion on my part, because it's six months of compiling
software.  I think the big hassle came with my upgrading to the latest
Fink--I think that broke the Perl I'd installed, which had
inadvertently trashed the system Perl.

However, I'd several times interrupted fink attempting to compile
things from source, and I wonder whether one of those might have give
me the GNU du in /usr/bin instead of in /sw.  I'm not certain enough
to blame fink for that.

 why?

I could have lived with a messy Fink upgrade.  I'd just rm -rf /sw
and reinstall.  I could also have lived with a broken Perl.  I'd
just rm -rf /Library/Perl and /System/Library/Perl and reinstall
Perl.  But finding a stray du in /usr/bin scared the crap out of
me, and at that point I didn't know how much of my system was no
longer standard.

Anyone else could live with that.  I have to edit books where we
claim that things work a particular way on OS X.  We've already
been bitten--fink's du has a -h option that Apple's du doesn't,
and without realizing it we described -h in Learning Unix for
Mac OS X, 2ed.  So I really need a clean sane system.

Nat




Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Nathan Torkington
Bruce Van Allen writes:
 After all the comments about downloading and wget/curl problems, I just 
 wanted to let you know that, at least for one person, it worked out of 
 the box, er, dmg.

That is good to know, thanks!  (Maybe I should add an installer
shell script that curl's a page to let me know that someone
successfully installed it :-)

 Did notice the DB_File version is:
 # /usr/local/perl5-8/Library/Perl/5.8.0/darwin/DB_File.pm
 # last modified 22nd October 2002
 # version 1.806
 
 Typo in your announcement?

Yes, braino on my part.  Good catch!

Thanks,

Nat




Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Heather Madrone
At 4:55 PM + 2/6/03, Phil Dobbin wrote:
On 6/2/03 14:30, Morbus Iff [EMAIL PROTECTED] wrote:

 Please download and test the perl 5.8.0 distribution available from:
 http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg

 I get a text transfer of the binary when trying to d/l this in Mozilla, IE
 and Omni Web instead of the disk image. This is the first time this has
 happened for a long time and I can't remember how to fix it. Anybody?

 wget http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg

Curiouser and curiouser...

I tried `curl http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg'

And got the same binary text d/l (and had to crash `terminal' to stop it :-(

I think you need to use the -o flag with a filename as an argument to send
the output to a file instead of stdout.  Or redirect it via .

-- 
Heather Madrone  ([EMAIL PROTECTED])  http://www.madrone.com
If we're not having fun, we're not doing it right.



Re: Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread John Adams
 Bruce Van Allen writes:

 After all the comments about downloading and wget/curl
 problems, I just wanted to let you know that, at least for one
 person, it worked out of the box, er, dmg.

I went you one better--after it installed it, I fired up CPAN and installed 
Class::DBI, along with its copious dependencies. Other than stopping in the middle 
when I went to bed last night, it went fine.

Thanks,

  John A
  see me fulminate at http://www.jzip.org/



Re: dmg of perl 5.8.0 on Mac OS X

2003-02-06 Thread Paul Corr
Nathan Torkington wrote:

Are you running Jaguar?  I'm on 10.2.3 and have /usr/bin/du too,
not /sw/du, but it doesn't look like a problem.  In fact, fink
doesn't even list a du package.

% which du
/usr/bin/du

% ls -al /sw/du
ls: /sw/du: No such file or directory


The fileutils package includes a number of shell utilities. I seem to 
remember reading that some packages preferred if it was installed.

% dpkg --listfiles fileutils | egrep du
/sw/bin/du
/sw/share/man/man1/du.1

This would be the one with the -h option Nat mentioned.

Paul


Re: dmg of perl 5.8.0 on Mac OS X

2003-02-05 Thread Paul McCann
On Wed, Feb 05, 2003 at 06:03:32PM -0700, Nathan Torkington wrote:
 Please download and test the perl 5.8.0 distribution available from:
   http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg

Done, and much appreciated. (The machine on which I have
just installed your dmg was giving all sorts of ridiculous
errors when attempting to install from source, so a gentle
thwack from an installer is very welcome.)
 
 It installs Perl, Berkeley DB 4.1.25, DB_File 1.42 and Time::HiRes
 1.42 into /usr/local/perl5-8.  You'll need to add
/usr/local/perl5-8/bin
 to your path, probably in your .cshrc.  Be warned: it's a 12M download.

But also prepare to be surprised at the width of pipe if you're using
a swift connection. 15 seconds for the 12MB here :-)

Might be worth mentioning here that @INC does not intersect the 5.6.0
Perl that comes with Mac OS X. For the record...


% /local/perl5-8/bin/perl -V

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
[...]
Characteristics of this binary (from libperl): 
Compile-time options: USE_LARGE_FILES
 Built under darwin
 Compiled at Feb  5 2003 16:32:49
@INC:
/usr/local/perl5-8/Library/Perl/5.8.0/darwin
/usr/local/perl5-8/Library/Perl/5.8.0
/usr/local/perl5-8/Library/Perl/5.8.0/darwin
/usr/local/perl5-8/Library/Perl/5.8.0
/usr/local/perl5-8/Library/Perl
/usr/local/perl5-8/Network/Library/Perl/5.8.0/darwin
/usr/local/perl5-8/Network/Library/Perl/5.8.0
/usr/local/perl5-8/Network/Library/Perl
.


Thanks again,
Paul



Re: dmg of perl 5.8.0 on Mac OS X

2003-02-05 Thread Chris Nandor
In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (Nathan Torkington) wrote:

 Please download and test the perl 5.8.0 distribution available from:
   http://nathan.torkington.com/tmp/perl5.8.0gnat1.dmg
 
 It installs Perl, Berkeley DB 4.1.25, DB_File 1.42 and Time::HiRes
 1.42 into /usr/local/perl5-8.  You'll need to add
/usr/local/perl5-8/bin
 to your path, probably in your .cshrc.  Be warned: it's a 12M download.
 
 With the help of Fink, I managed to totally trash my system.  I
 reinstalled yesterday, and went through the hassle of building Perl
 5.8.0 all over again.  I figured I'd save other folks that hassle.

Now, who is going to do a dmg of Apache / mod_perl / libapreq?  :-)

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/