home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!seven-up.East.Sun.COM!sixgun.East.Sun.COM!dngsun!dennisg
- From: dennisg@dngsun.East.Sun.COM (Dennis Govoni - Federal Area S.E. Vienna Va.)
- Newsgroups: comp.unix.aux
- Subject: Re: gcc 2.3.1 install problems
- Date: 17 Dec 1992 16:03:42 GMT
- Organization: Sun Microsystems, Inc.
- Lines: 46
- Distribution: world
- Message-ID: <1gq8cuINNfnq@sixgun.East.Sun.COM>
- References: <BzEH1M.5sI@iat.holonet.net>
- Reply-To: dennisg@dngsun.East.Sun.COM
- NNTP-Posting-Host: dngsun.east.sun.com
-
- In article 5sI@iat.holonet.net, jflood@iat.holonet.net (Jim Flood) writes:
- > I experienced similar problems with the binaries at first. I did the
- > downloading and everrything in binary as supposed and uncompressed
- > the archive in the MacPartition using macCompress. The problem in my
- > case seemed to be the dragging of the tape archive to the unix
- > filesystem. The archive untar'ed fine, but the binbaries were unusable.
-
- I had a problem downloading binary files in the MacPartition and dragging
- them to the unix filesystem also. It seems that the A/UX Finder adds some
- hundred+ bytes to the front of the file, making uncompress or tar not
- recognize the file data. The solution is to set the filetype/creator of
- the file to something A/UX recognizes *before* dragging the file to the
- unix filesystem. I set them to filetype 'BIN ' and creator 'A/UX', then
- I can just drag downloaded tar files, compressed or not, from the MacPartition
- to the unix file system with no problems.
-
- Jim Flood
-
-
- I do this all the time. If you trfansfer a BINARY file under MAC, then a resource and data fork are
- created. When you drag this to UNIX, it is carried along. To remove the two components, do the
- following under UNIX:
-
- fcnvt -v -p <original file> <new file>
-
- Let's say you transfer a BINARY file from MAC to UNIX called gcc-2.3.1.tar.Z.
-
- Once the drag is done, then under UNIX do:
-
- fcnvt -v -p gcc-2.3.1.tar.Z x
-
- then do mv x gcc-2.3.1.tar.Z
-
- rm x.rsrc /* the resource side */
-
- now you can uncompress and untar by:
-
- zcat gcc-2.3.1.tar.Z | tar xvof -
-
-
- ---
- Dennis Govoni SUN Microsystems, Federal Area, SE
- dennis.govoni@East.Sun.COM 2650 Park Tower Drive, Vienna, VA 22180
- Phone: 1-703-204-4250
- Fax: 1-703-204-4782
-
-