From owner-freebsd-questions Wed May 31 3:10:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dent.axion.bt.co.uk (dent.axion.bt.co.uk [132.146.16.161]) by hub.freebsd.org (Postfix) with ESMTP id C95F637BDB3 for ; Wed, 31 May 2000 03:10:25 -0700 (PDT) (envelope-from mayala@info.bt.co.uk) Received: from info.bt.co.uk (actually zion.info.bt.co.uk) by dent (local) with SMTP; Wed, 31 May 2000 11:09:07 +0100 Received: from info.bt.co.uk by info.bt.co.uk (8.8.8+Sun/SMI-SVR4) id LAA00880; Wed, 31 May 2000 11:16:48 +0100 (BST) Message-ID: <3934E500.776BF3E8@info.bt.co.uk> Date: Wed, 31 May 2000 11:10:09 +0100 From: Abel Mayal Organization: British Telecom X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Installing dvips Content-Type: multipart/alternative; boundary="------------E39B9E8B63FB2261B9772687" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------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 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-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message