Solved

DVIPS giving segmentation fault

Posted on 1997-03-11
6
274 Views
Last Modified: 2013-12-15
I just installed some of slackware96 3.0.1(from cdrom in a linux book). Everything is running ok(like latex, xfig, emacs etc) except dvips(for converting dvi files to ps files). When i run this it's giving me segmentation fault.
Can anyone suggest a solution? Can anyone tell me if I could download just dvips(a correct version) program for linuxfrom internet?

Thanks.
-Sujit
0
Comment
Question by:sujit
  • 3
  • 3
6 Comments
 
LVL 1

Accepted Solution

by:
ggeens earned 100 total points
Comment Utility
I have seen other people mentioning this bug.
You can download a working version from a CTAN archive (Comprehensive TeX Archive Network).
The main sites are:
ftp://ftp.cdrom.com
ftp://ftp.tex.ac.uk
ftp://ftp.dante.de
Look for teTeX. It should be in the systems/unix tree. There are binaries for Linux there.

I would advise to download the complete package, as teTeX is much faster than the NTeX that comes with Slackware. But I'm sure that you can download only dvips.

BTW: Slackware 3.0.1 is not the same as Slackware96 (which is 3.1). I suspect that you are using version 3.0 because that one has the faulty dvips.
0
 

Author Comment

by:sujit
Comment Utility
This time I installed the binaries from:

ftp://ftp.cdrom.com/pub/tex/ctan/systems/unix/linux/teTeX/distrib/binaries/

And tried running dvips. The following error msg. is coming:

This is dvipsk 5.58f Copyright 1986, 1994 Radical Eye Software
/home/sujit/teTeX/bin/i386-linux/dvips: ! Couldn't find header file tex.pro

When I ran latex from this installation the following error msg is coming up:

This is TeX, Version 3.14159 (C version 6.1)
I can't find the default format file!
MAT/home/sujit/teTeX/bin/i386-linux:)which latex
./latex

Any suggestions please?

Thanks.
Sujit
0
 

Author Comment

by:sujit
Comment Utility
Correction: When I ran latex from the installed version I got the following msg.:

This is TeX, Version 3.14159 (C version 6.1)
I can't find the default format file!
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 1

Expert Comment

by:ggeens
Comment Utility
You should set the environment variable TETEXDIR to point to
the place where you put the files.
(If you're using bash, you can add this to your .profile:
TETEXDIR=$HOME/sujit/teTeX
export TETEXDIR
)
Also, you should run texconfig. (It is somewhere in the distribution.)
I believe that's all. Check the readme files to see if you need to do anything else.
0
 

Author Comment

by:sujit
Comment Utility
I use csh. So I added:

setenv TETEXDIR /home/sujit/teTeX

in my .cshrc. When I ran texconfig i got the following eror:

texconfig: /tmp/texconf13458/logfile: No such file or directory
Press return to continue...

After this when I attempted to run dvips then I am getting the same error msg. as before:

This is dvipsk 5.58f Copyright 1986, 1994 Radical Eye Software
dvips: ! Couldn't find header file tex.pro

The error msg for runing latex remains the same as before.

Suggestions please!

Thanks.
Sujit





0
 
LVL 1

Expert Comment

by:ggeens
Comment Utility
texconfig failed, so your problem hasn't changed. It might be a path problem.

Try adding $TETEXDIR/bin to your path.

If that doesn't work, I think you need to read all the documents in the package again carefully.

(My installation came from a CD-ROM originally, and things were a little different.)
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now