home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aux / 4359 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  2.3 KB

  1. 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
  2. From: dennisg@dngsun.East.Sun.COM (Dennis Govoni - Federal Area S.E. Vienna Va.)
  3. Newsgroups: comp.unix.aux
  4. Subject: Re: gcc 2.3.1 install problems
  5. Date: 17 Dec 1992 16:03:42 GMT
  6. Organization: Sun Microsystems, Inc.
  7. Lines: 46
  8. Distribution: world
  9. Message-ID: <1gq8cuINNfnq@sixgun.East.Sun.COM>
  10. References: <BzEH1M.5sI@iat.holonet.net>
  11. Reply-To: dennisg@dngsun.East.Sun.COM
  12. NNTP-Posting-Host: dngsun.east.sun.com
  13.  
  14. In article 5sI@iat.holonet.net, jflood@iat.holonet.net (Jim Flood) writes:
  15. > I experienced similar problems with the binaries at first. I did the
  16. > downloading and everrything in binary as supposed and uncompressed
  17. > the archive in the MacPartition using macCompress. The problem in my
  18. > case seemed to be the dragging of the tape archive to the unix
  19. > filesystem. The archive untar'ed fine, but the binbaries were unusable.
  20.  
  21. I had a problem downloading binary files in the MacPartition and dragging
  22. them to the unix filesystem also. It seems that the A/UX Finder adds some
  23. hundred+ bytes to the front of the file, making uncompress or tar not
  24. recognize the file data. The solution is to set the filetype/creator of
  25. the file to something A/UX recognizes *before* dragging the file to the
  26. unix filesystem. I set them to filetype 'BIN ' and creator 'A/UX', then
  27. I can just drag downloaded tar files, compressed or not, from the MacPartition
  28. to the unix file system with no problems.
  29.  
  30. Jim Flood
  31.  
  32.  
  33. I do this all the time. If you trfansfer a BINARY file under MAC, then a resource and data fork are
  34. created. When you drag this to UNIX, it is carried along. To remove the two components, do the
  35. following under UNIX:
  36.  
  37. fcnvt -v -p <original file> <new file>
  38.  
  39. Let's say you transfer a BINARY file from MAC to UNIX called gcc-2.3.1.tar.Z. 
  40.  
  41. Once the drag is done, then under UNIX do:
  42.  
  43. fcnvt -v -p gcc-2.3.1.tar.Z x
  44.  
  45. then do mv x gcc-2.3.1.tar.Z
  46.  
  47. rm x.rsrc /* the resource side */
  48.  
  49. now you can uncompress and untar by:
  50.  
  51. zcat gcc-2.3.1.tar.Z | tar xvof -
  52.  
  53.  
  54. ---
  55. Dennis Govoni                SUN Microsystems, Federal Area, SE
  56. dennis.govoni@East.Sun.COM        2650 Park Tower Drive, Vienna, VA 22180
  57.                     Phone: 1-703-204-4250
  58.                     Fax:   1-703-204-4782
  59.  
  60.