DVIPS giving segmentation fault

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?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sujitAuthor Commented:
This time I installed the binaries from:


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

Any suggestions please?

sujitAuthor Commented:
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!
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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:
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.
sujitAuthor Commented:
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!


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.)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.