SUMMARY: Errors trying to "make" gzip under DUnix 3.2c

From: <RORY_O'CONNOR_at_US.WFL.COM>
Date: Thu, 07 Mar 96 08:56:00 EDT

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_at_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_at_aaii.oz.au). Thanks
====================================================================


And thanks to Eric B. (bennett_at_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:

 <jab_at_wcsmail.com> (Julie)
====================================================================


 Jon Trulson Inet: (work) trulsonj_at_clem.mscd.edu

   ftp://ftp.digital.com/rom/euuc-axp-freeware/kits/prebuilt

   (and helpful info about compiling and man)
====================================================================


  M dos Santos ufpelrm_at_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_at_its.uu.se
====================================================================

  <aad_at_nwnet.net>
====================================================================

 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_at_US.WFL.COM_at_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_at_us.wfl.com 919-483-9133
                   Glaxo Wellcome, Inc.
     
Received on Thu Mar 07 1996 - 15:36:17 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT