Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2000 11:10:09 +0100
From:      Abel Mayal <mayala@info.bt.co.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Installing dvips
Message-ID:  <3934E500.776BF3E8@info.bt.co.uk>

next in thread | raw e-mail | index | archive | help
--------------E39B9E8B63FB2261B9772687
Content-type: text/plain; charset="us-ascii"

Hello!
I am working with latex and I need to use dvips to convert dvi files to
ps. I download the file from:
ftp://ftp.tex.ac.uk/tex-archive/dviware/dvips/dvips576.tar.gz. I have
decompressed the file and I read the INSTALLATION file. I have all the
necessary changes in the Makefile and the MakeTeXPK. I ran "make dvips"
and it worked all right after changing the CC compiler for C++ (becouse
before it said that couldn't find the function
"floor"), after that I ran "make install" and loads of errors came out.
All the errors are related to the
first file that compiles "afm2tfm.c". Below there are some of the errors
that it occurs:

*************************
afm2tfm.c:1827: invalid type argument of `unary *'
afm2tfm.c:1828: warning: assignment to `char *' from `int' lacks a cast
afm2tfm.c:1835: warning: assignment to `int' from `char *' lacks a cast
afm2tfm.c: In function `void getligkerndefaults()':
afm2tfm.c:1847: warning: assignment to `int' from `char *' lacks a cast
afm2tfm.c: At top level:
afm2tfm.c:1855: `enc' was not declared in this scope
afm2tfm.c:1856: parse error before `char'
afm2tfm.c:1857: parse error before `{'
afm2tfm.c:1859: redefinition of `int i'
afm2tfm.c:1533: `int i' previously defined here
afm2tfm.c:1863: warning: ANSI C++ forbids declaration `sawligkern' with
no type or storage class
afm2tfm.c:1863: redefinition of `int sawligkern'
afm2tfm.c:1697: `int sawligkern' previously declared here
afm2tfm.c:1864: parse error before `if'
afm2tfm.c:1868: warning: ANSI C++ forbids declaration `param' with no
type or storage class
afm2tfm.c:1868: redefinition of `int param'
afm2tfm.c:1791: `int param' previously defined here
***********************

I don't know what I'm doing wrong! I really need the dvips application,
please can anyone help me?

Many, many thanks!!!

Abel


--
Abel Mayal de la Torre

BT Advanced Communications Technology Centre
B29/Room 138
Adastral Park
Martlesham Heath
Ipswich
Suffolk IP5 3RE

Tph: 01473 647615
E-Mail: mayala@info.bt.co.uk



--------------E39B9E8B63FB2261B9772687
Content-type: text/html; charset="us-ascii"
Content-transfer-encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello!
<br>I am working with latex and I need to use dvips to convert dvi files
to ps. I download the file from: <A HREF="ftp://ftp.tex.ac.uk/tex-archive/dviware/dvips/dvips576.tar.gz">ftp://ftp.tex.ac.uk/tex-archive/dviware/dvips/dvips576.tar.gz</A>.
I have decompressed the file and I read the INSTALLATION&nbsp;file. I have
all the necessary changes in the Makefile and the MakeTeXPK. I ran "make
dvips"
<br>and it worked all right after changing the CC compiler for C++ (becouse
before it said that couldn't find the function
<br>"floor"), after that I ran "make install" and loads of errors came
out. All the errors are related to the
<br>first file that compiles "afm2tfm.c". Below there are some of the errors
that it occurs:
<p>*************************
<br>afm2tfm.c:1827: invalid type argument of `unary *'
<br>afm2tfm.c:1828: warning: assignment to `char *' from `int' lacks a
cast
<br>afm2tfm.c:1835: warning: assignment to `int' from `char *' lacks a
cast
<br>afm2tfm.c: In function `void getligkerndefaults()':
<br>afm2tfm.c:1847: warning: assignment to `int' from `char *' lacks a
cast
<br>afm2tfm.c: At top level:
<br>afm2tfm.c:1855: `enc' was not declared in this scope
<br>afm2tfm.c:1856: parse error before `char'
<br>afm2tfm.c:1857: parse error before `{'
<br>afm2tfm.c:1859: redefinition of `int i'
<br>afm2tfm.c:1533: `int i' previously defined here
<br>afm2tfm.c:1863: warning: ANSI C++ forbids declaration `sawligkern'
with no type or storage class
<br>afm2tfm.c:1863: redefinition of `int sawligkern'
<br>afm2tfm.c:1697: `int sawligkern' previously declared here
<br>afm2tfm.c:1864: parse error before `if'
<br>afm2tfm.c:1868: warning: ANSI C++ forbids declaration `param' with
no type or storage class
<br>afm2tfm.c:1868: redefinition of `int param'
<br>afm2tfm.c:1791: `int param' previously defined here
<br>***********************
<p>I don't know what I'm doing wrong! I really need the dvips application,
please can anyone help me?
<p>Many, many thanks!!!
<p>Abel
<br>&nbsp;
<pre>--&nbsp;
Abel Mayal de la Torre

BT Advanced Communications Technology Centre
B29/Room 138
Adastral Park
Martlesham Heath
Ipswich
Suffolk IP5 3RE

Tph: 01473 647615
E-Mail: mayala@info.bt.co.uk</pre>
&nbsp;</html>

--------------E39B9E8B63FB2261B9772687--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3934E500.776BF3E8>