From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076330121201.tru64-unix-managers.marc@archive.invalid> From: RORY_O'CONNOR () US ! WFL ! COM Date: Thu, 07 Mar 1996 08:56:00 +0000 To: tru64-unix-managers Subject: SUMMARY: Errors trying to "make" gzip under DUnix 3.2c X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076330121201 Yet another try to get the summary launched from cc:Mail, and fight its way through the corporate mail/firewall labyrinth, and finally to the listserver ;-} Thanks to all! I got great respones to my question about getting gzip to make correctly. Here was the one I tried first, and it seemed to clear everything up, the key being to run "make distclean" to clean out leftover opject files pertaining to a different platform (evidently). Vielen dank, Winfried! FROM: Winfried Huber, Softwarehaus Huber & Boehm, voice: +49 8142 13038 Illerweg 6, D-82140 Olching, Germany fax: +49 8142 18612 win@tukan.ffb.eunet.de ------------------------------------------------------------------------------ cd to the gzip-1.2.4 directory and do ... make distclean ./configure make ... and you should end up with a running gzip family. If you are satisfied become root and do ... make install ... which will install the programs in /usr/local/bin, the info files in /usr/local/info and the man pages in /usr/local/man/man1. See notes below ==================================================================== Same basic instructions from Anthony (anthony.baxter@aaii.oz.au). Thanks ==================================================================== And thanks to Eric B. (bennett@hpel.umd.edu) for pointing out the scroll-ability of man, and for suggesting "h" for help (!)--it revealed a wealth of commands/options for making DUx's man more usable! And thanks for "sanity" checks and Offers/pointers for executeables: (Julie) ==================================================================== Jon Trulson Inet: (work) trulsonj@clem.mscd.edu ftp://ftp.digital.com/rom/euuc-axp-freeware/kits/prebuilt (and helpful info about compiling and man) ==================================================================== M dos Santos ufpelrm@eu.ansp.br ...a fresh gzip source from: ftp://gatekeeper.dec.com/pub/GNU/gzip-1.2.4.tar BTW, if you need a running gzip you can download it from ftp://ftp.digital.de:/patches/osf/leapyear/gunzip ==================================================================== Kalle Flodkvist Uppsala universitet IT Std Box 887 Email: Kalle.Flodkvist@its.uu.se ==================================================================== ==================================================================== O r i g i n a l Q u e s t i o n: ______________________________ Reply Separator _________________________________ Subject: Errors trying to "make" gzip under DUnix 3.2c Author: RORY O'CONNOR@US.WFL.COM@US-INTERNET at US-IN-GW Date: 2/28/96 9:30 AM I tried to run "make" against gzip (1.2.4 -- not sure now where I downloaded it from after having gone through so many sites...), and got the following: usaxplj/root >make cc -o gzip gzip.o zip.o deflate.o trees.o bits.o unzip.o inflate.o util.o crypt.o lzw.o unlzw.o unpack.o unlzh.o getopt.o ld: Object file format error in: lzw.o: bad file magic number *** Exit 1 Stop. The INSTALL file had some info about updating /etc/magic for using gzip, but I didn't see anything about changes for make'ing it. Anyway, figuring that the object files provided were invalid for DUnix 3.2c, I compiled the .c versions of each .o file which appeared in the make output (the log excerpt here is after I had compiled each program up to lzw.c -- another weirdness: when I tried to run "cc -o xxxx.o xxxx.c" I would get: Fatal error in: /usr/lib/cmplrs/cc/ld Segmentation fault - core dumped so I would "cc the xxxx.c" program (xxxx = generic program name), then "mv a.out xxxx.o" --- any pointers on that issue welcome ;-} ) Now after compiling all those indicated programs, here's how it went: usaxplj/root >make cc -c -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 getopt.c cc -o gzip gzip.o zip.o deflate.o trees.o bits.o unzip.o inflate.o util.o cryp t.o lzw.o unlzw.o unpack.o unlzh.o getopt.o rm -f gunzip zcat ln gzip gunzip ln gzip zcat usaxplj/root >gunzip 1731:gunzip: /sbin/loader: Fatal Error: cannot map gzip.o usaxplj/root >ls -l *zip* -rwxr-xr-x 3 4905 10 32768 Feb 27 16:36 gunzip -rwxr-xr-x 3 4905 10 32768 Feb 27 16:36 gzip -rw-r--r-- 1 root system 1013760 Feb 27 15:39 gzip-1.2.4.tar -rw-r--r-- 1 4905 10 13923 Aug 18 1993 gzip.1 -rw-r--r-- 1 4905 10 52560 Aug 19 1993 gzip.c -rw-r--r-- 1 4905 10 15695 Aug 18 1993 gzip.doc -rw-r--r-- 1 4905 10 10619 Aug 13 1993 gzip.h -rw-r--r-- 1 4905 10 35587 Aug 18 1993 gzip.info -rw-r--r-- 1 root system 49152 Feb 27 16:24 gzip.o -rw-r--r-- 1 4905 10 17382 Aug 18 1993 gzip.texi -rw-r--r-- 1 4905 10 6024 Aug 13 1993 unzip.c -rw-r--r-- 1 root system 32768 Feb 27 16:31 unzip.o -rw-r--r-- 1 4905 10 3170 Aug 13 1993 zip.c -rw-r--r-- 1 root system 32768 Feb 27 16:27 zip.o I imagine it's painfully obvious that I'm a neophyte at using the unix environment for anything "serious", so I beg indulgence, and if it's a matter of RTFM'ing, just point me at the relevant man pages (is there some way to scroll back up in those displays? That makes using man so tedious -- I'm used to the VM/CMS and OS/2 and Windoze help systems, which SEEM to be much more flexible/usable, but if that's just my ignorance, then let me know, please!) BTW, the object of all this is so I can gunzip the Perl distribution so I can "make" it -- joy! A pre-compiled version of that and/or gzip for DUnix would be nice, but I see this as a learning opportunity that I need to take advantage of ;-} TIA for any assistance, Rory O'Connor -- rory_o'connor@us.wfl.com 919-483-9133 Glaxo Wellcome, Inc.