[OS X TeX] Re: rtf2latex2e on Snow Leopard

Alan T Litchfield alan at alphabyte.co.nz
Thu Oct 15 22:47:11 CEST 2009


I wish that this was the case but I have used new source on both  
powerpc and intel and the consistent problem appears to be with  
rtf2LaTeX2e-driver.c

I have copied the config.guess, run autoconf and this is the output  
from the last attempt on powerpc

G5-9:Unix alanlitchfield$ make CC=gcc-4.0
gcc-4.0 -g -O2 -DINSTALL_DIR=\"/usr/local/rtf2latex2e\" -I../src/ 
include   -c -o rtf2LaTeX2e-driver.o ../src/common/rtf2LaTeX2e-driver.c
In file included from ../src/common/rtf2LaTeX2e-driver.c:25:
../src/include/rtf2LaTeX2e.h:38:24: error: unix.mac.h: No such file or  
directory
../src/include/rtf2LaTeX2e.h:39:21: error: Main.h: No such file or  
directory
In file included from ../src/common/rtf2LaTeX2e-driver.c:25:
../src/include/rtf2LaTeX2e.h:278: error: syntax error before  
‘Str2OSType’
../src/include/rtf2LaTeX2e.h:278: warning: data definition has no type  
or storage class
../src/common/rtf2LaTeX2e-driver.c:36: error: syntax error before  
‘gOApped’
../src/common/rtf2LaTeX2e-driver.c:36: warning: data definition has no  
type or storage class
../src/common/rtf2LaTeX2e-driver.c: In function ‘main’:
../src/common/rtf2LaTeX2e-driver.c:228: error: ‘_fcreator’ undeclared  
(first use in this function)
../src/common/rtf2LaTeX2e-driver.c:228: error: (Each undeclared  
identifier is reported only once
../src/common/rtf2LaTeX2e-driver.c:228: error: for each function it  
appears in.)
../src/common/rtf2LaTeX2e-driver.c:230: error: ‘_ftype’ undeclared  
(first use in this function)
../src/common/rtf2LaTeX2e-driver.c:252: error: ‘nil’ undeclared (first  
use in this function)
../src/common/rtf2LaTeX2e-driver.c: At top level:
../src/common/rtf2LaTeX2e-driver.c:343: error: syntax error before  
‘Str2OSType’
../src/common/rtf2LaTeX2e-driver.c: In function ‘Str2OSType’:
../src/common/rtf2LaTeX2e-driver.c:345: error: ‘OSType’ undeclared  
(first use in this function)
../src/common/rtf2LaTeX2e-driver.c:345: error: syntax error before ‘num’
../src/common/rtf2LaTeX2e-driver.c:346: error: ‘num’ undeclared (first  
use in this function)
make: *** [rtf2LaTeX2e-driver.o] Error 1

sudo provides the same output so it is not a permissions issue.

Cheers
Alan



On 16/10/2009, at 4:33 AM, Maxwell, Adam R wrote:

>
> Alan may have broken things by hacking the Makefile by hand or running
> configure with that broken config.guess.  The instructions I posted  
> for
> building it work on 10.5 and 10.6, with a clean download of the  
> source:
>
> cd rtf2latex2eUnix-1.0fc1/Unix
> cp /usr/share/automake-1.10/config.guess .
> ./configure && make
>
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>

--
Alan T Litchfield
AlphaByte
PO Box 141, Auckland, 1140
New Zealand
http://www.alphabyte.co.nz
http://www.alphabyte.co.nz/beatrice




More information about the macostex-archives mailing list