Re: ltx2rtf compiles on RedHat 6.2 but not on debian 2.2
You might want to consider:
[14:10:28 /tmp]$ grep-available latex2rtf
Package: latex2rtf
Priority: optional
Section: tex
Installed-Size: 359
Maintainer: Chris Lawrence <lawrencc@debian.org>
Architecture: i386
Version: 1.8aa-5
Depends: libc6 (>= 2.1.97)
Filename: pool/main/l/latex2rtf/latex2rtf_1.8aa-5_i386.deb
Size: 263210
MD5sum: e220afb4bf337e3ded41db33c6a24e1a
Description: Convert LaTeX to Microsoft RTF format
Attempts to convert as much formatting information as possible from
LaTeX to Microsoft's Rich Text Format (RTF).
[14:11:02 /tmp]$
If latex2rtf and ltx2rtf use the same source then you can also examine the
package src in order to find out why you are not being able to compile it.
> The make log is below :
>
> hathout:~/ltx2rtf/src-gcc>make -f makefile.lnx
> rm -f main.o
> gcc -g -funsigned-char -c fonts.c -o fonts.o
> gcc -g -funsigned-char -c cdirect.c -o cdirect.o
> gcc -g -funsigned-char -c commands.c -o commands.o
> gcc -g -funsigned-char -c stack.c -o stack.o
> gcc -g -funsigned-char -c funct1.c -o funct1.o
> gcc -g -funsigned-char -c funct2.c -o funct2.o
> gcc -g -funsigned-char -c ignore.c -o ignore.o
> gcc -g -funsigned-char -DLIBDIR=\"/usr/local/lib/ltx2rtf\" -c main.c -o main.o
> main.c: In function `Convert':
> main.c:491: invalid operands to binary ==
> make: *** [main.o] Error 1
>
> the compilation works fine on my colleage's redhat machine with
> egcs-2.91.66. (on my debian machine, gcc is 2.95.2)
>
>
> Andrew Perrin writes:
> > How does it fail? What's the error message?
> >
> > ----------------------------------------------------------------------
> > Andrew J Perrin - Ph.D. Candidate, UC Berkeley, Dept. of Sociology
> > Chapel Hill, North Carolina, USA - http://demog.berkeley.edu/~aperrin
> > aperrin@socrates.berkeley.edu - aperrin@igc.apc.org
> >
> > On Tue, 27 Feb 2001, Nabil Hathout wrote:
> >
> > > Hello,
> > >
> > > I want to compile ltx2rtf on a debian machine, but the make fails. However, it
> > > works on a redhat 6.2, but the binary file Segm-Faults on debian 2.2. Did
> > > someone have an idea on the way to get it work on debian ? Is it a problem of
> > > gcc version ?
> > >
> > > thank you,
> > >
> > > --Nabil
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > >
> > >
> >
> >
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
Shaul Karl <shaulka@bezeqint.net>
Reply to: