SUMMARY: Problems installing netpbm on Digital Alpha OSF/1 V3.2c (fwd)

From: John Miller <John.Miller_at_jcu.edu.au>
Date: Thu, 9 May 1996 18:56:43 +1000 (EST)

Thanks to all who replied. The suggestion that worked is appended below.
I did exactly what was suggested (except for the destination of executables
and man files).

+---------------------------------------------------------------------+
| John Miller | Internet Mail - John.Miller_at_jcu.edu.au |
| Computer Centre |
| James Cook University of North Queensland | Phone: +61 77 815447 |
| Townsville, 4811, AUSTRALIA | Fax: +61 77 815230 |
+---------------------------------------------------------------------+

---------- Forwarded message ----------
Date: Wed, 8 May 1996 08:21:08 -0400 (EDT)
From: Richard L Jackson Jr <rjackson_at_portal.gmu.edu>
To: John Miller <John.Miller_at_jcu.edu.au>
Subject: Re: Problems installing netpbm on Digital Alpha OSF/1 V3.2c

John Miller writes:
>
>
> Here are the errors from the make log. I've done the configure stuff in the
> make files and pbmplus.h as far as I can tell. Compiling with gcc V2.7.2
>
>
> { ... Stuff deleted ...}
> gcc -O -I.. -c libpbm1.c
> In file included from pbm.h:7,
> from libpbm1.c:13:
> ../pbmplus.h:125: conflicting types for `write'
> /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/include/unistd.h:86:
> previous decl
> aration of `write'
> In file included from ../pbmplus.h:137,
> from pbm.h:7,
> from libpbm1.c:13:
> /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/include/stdlib.h:250:
> conflicting
> types for `srandom'
> ../pbmplus.h:109: previous declaration of `srandom'
> /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2/include/stdlib.h:253:
> conflicting
> types for `random'
> ../pbmplus.h:110: previous declaration of `random'
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
>
>
> Thanks if you can help.
> +---------------------------------------------------------------------+
> | John Miller | Internet Mail - John.Miller_at_jcu.edu.au |
> | Computer Centre |
> | James Cook University of North Queensland | Phone: +61 77 815447 |
> | Townsville, 4811, AUSTRALIA | Fax: +61 77 815230 |
> +---------------------------------------------------------------------+
>
I installed Netpbm 1 March 1994 on AlphaServer 2100's running DU 3.2c
and I used DEC's C compiler. I had no problems, but I will include
my notes for your review.

. cd /usr/local/src/pbmnet_1mar1994
. ftp://ftp.uu.net/systems/window-sys/X/contrib/utilities/netpbm-1mar1994.tar.gz
. cd libtiff
. cp -p Makefile.sun Makefile
. modify Makefile (change CFLAGS from -g to -O)
. cd ..
. modify Makefile (change cc, add -Olimit 600)
. modify pbmplus.h (comment out declare of srandom(), random())
. make >& make.log&
. mkdir -p /usr/local/netpbm/bin
. mkdir -p /usr/local/netpbm/man/man1
. mkdir -p /usr/local/netpbm/man/man3
. mkdir -p /usr/local/netpbm/man/man5
. make -n install
. make install >& make.install
. catman -w -M /usr/local/netpbm/man
. make clean
NOTE:
. man -P /usr/local/netpbm/man -k gif (for example)
EVERYTHING INSTALLED INTO /usr/local/netpbm


-- 
Regards,
Richard Jackson                                George Mason University
Computer Systems Senior Engineer               UCIS / ISO
                                               Computer Systems Engineering
Received on Thu May 09 1996 - 11:59:03 NZST

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