LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   error making ghostview (https://www.linuxquestions.org/questions/slackware-14/error-making-ghostview-477819/)

tramni1980 08-27-2006 12:28 PM

error making ghostview
 
Hello!
I am running Slackware Linux 10.2 with kernel 2.4.31. I downloaded ghostview for Linux from ftp://mirror.cs.wisc.edu/pub/mirrors...iew-1.5.tar.gz
The problem is that when I run "make" in the directory after untarring ghostview-1.5.tar.gz, the the following error appears:

gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DNO_MESSAGE_CATALOG -DFUNCPROTO=15 -DNARROWPROTO -DNON_BLOCKING_IO -DSELFILE -c -o misc.o misc.c
misc.c:64: error: conflicting types for `sys_errlist'
/usr/include/bits/sys_errlist.h:28: error: previous declaration of `sys_errlist'
make: *** [misc.o] Error 1

Can anyone help me?
Thank you very much in advance.
Regards,
Martin
P.S. I have installed ghostscript-8.54-i386-1 on my system

titopoquito 08-27-2006 12:59 PM

Do you have a special reason for installing a ghostview version as old as 1993? I think there are newer releases available at http://www.cs.wisc.edu/~ghost/

tramni1980 08-27-2006 01:30 PM

Quote:

Originally Posted by titopoquito
Do you have a special reason for installing a ghostview version as old as 1993? I think there are newer releases available at http://www.cs.wisc.edu/~ghost/

Yes, I used the same site. Actually I need a program that can view ps files and that is invoked via "ghostview". And this was the only program I could think of, that is invoked via "ghostview". If you can suggest me some alternative, I would be thankful.
The whole problem is that I am using a TeX tool "texdoctk", which automatically issues "ghostview" in order to open a ps file from the TeX documentation. Currently I have no such a program on my system, that is why I am trying to install ghostview.

titopoquito 08-27-2006 01:36 PM

I guess you have the "gv" package installed. Just create a symlink to it (ln -s /usr/X11R6/bin/gv /usr/bin/ghostview)

tramni1980 08-27-2006 02:13 PM

Quote:

Originally Posted by titopoquito
I guess you have the "gv" package installed. Just create a symlink to it (ln -s /usr/X11R6/bin/gv /usr/bin/ghostview)

Thank you very much indeed. That worked. It would never have occurred to me to use a symlink :)

titopoquito 08-27-2006 02:21 PM

You're welcome :)


All times are GMT -5. The time now is 11:23 PM.