Solved

DVIPS giving segmentation fault

Posted on 1997-03-11
6
275 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
ID: 1626754
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
ID: 1626755
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
ID: 1626756
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 1

Expert Comment

by:ggeens
ID: 1626757
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
ID: 1626758
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
ID: 1626759
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

910 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

23 Experts available now in Live!

Get 1:1 Help Now