From: hlu@yoda.eecs.wsu.edu (H.J. Lu) Subject: Re: compiling ghostscript/view Date: Sat, 7 Nov 1992 09:03:17 GMT
In article <1992Nov5.212126.36402@uservx.plk.af.mil> simonich@uservx.plk.af.mil writes:
>In article <michaelw.721002668@mcshh.hanse.de>, michaelw@mcshh.Hanse.DE (Michael Will) writes:
>> I tried to compile ghostscript 2.5.2, and got:
>> echo -lsocket -lm >>_temp_
>> /bin/sh <_temp_
>> ld: No such file or directory for libsocket.a
>> make: *** [gs] Error 1
>> #
>> Why this?
>>
>> Someone told me it should "make" without trouble on linux.
>>
>> Ghostview failed as well:
>> # make
>> gcc -fwritable-strings -fomit-frame-pointer -O2 -m386 -DNO_ASM -I/usr/X386/include -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -Dlinux -DFUNCPROTO=11 -DNARROWPROTO -DNON_BLOCKING_IO -DSELFILE -DHOME_ON_DEMAND -c misc.c -o misc.o
>> misc.c:61: conflicting types for `sys_errlist'
>> /usr/include/errno.h:8: previous declaration of `sys_errlist'
>> make: *** [misc.o] Error 1
>>
>> So what?
>>
>> Greetings, Michael Will
>
>I'm very new to the wonderful world of Imake et.al. However, I did
>compile ghostscript last night (and on the first try!).
>
>I umpacked the gs252 directory, did a xmkmf to regenerate the Makefile,
>did make, and went out to watch TV. When I came back it was done.
>
>I am using a very valnilla system consisting of HLU's base disk and
>gcc disks under Linux 0.98p3+ (the + is Linus's emergency fix).
>
I have to confess here. I fixed /usr/include/errno.h in my libdisk,
although the binaries are the same as gcc 2.2.2d7. I suggest you update
to my gccdisk and libdisk. They can be also used as system backup.
>This is probably no help but at least you know that the problem isn't
>in GhostScript 2.5.2. Therefore, it must (?) be something in
>your paths.
H.J.