vxpmrz 3 wrote:
> Ok, I have xforms and libXpm installed correctly(at least so far as I
> know), and have been trying to compile lyx, but unfortunately, it stops
> and I don't have a clue as to why. Here's the text output:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -isystem
> /usr/X11R6/include -g -O2 -fno-rtti -fno-exceptions -ansi -W -Wall
> -Wno-return-type -c formula.C -o formula.o
> /usr/include/g++-2/streambuf.h: In method `struct streampos
> streambuf::pubseekoff(streamoff, enum _seek_dir, int = 3)':
> In file included from /usr/include/g++-2/iostream.h:31,
> from /usr/include/g++-2/strstream.h:32,
> from /usr/include/g++-2/strstream:6,
> from formula.C:22:
> /usr/include/g++-2/streambuf.h:362: conversion from `__off64_t' to
> non-scalar type `streampos' requested
> /usr/include/g++-2/streambuf.h: In method `struct streampos
> streambuf::pubseekpos(struct streampos, int = 3)':
> /usr/include/g++-2/streambuf.h:364: `struct streampos' used where a
> `__off64_t' was expected
> make[3]: *** [formula.lo] Error 1
> make[3]: Leaving directory `/home/vxpmrz3/lyx-1.1.5fix2/src/mathed'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/vxpmrz3/lyx-1.1.5fix2/src'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/home/vxpmrz3/lyx-1.1.5fix2/src'
> make: *** [all-recursive] Error 1
>
> Does anyone have any suggestions as to what I might try?
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
I have compiled recently Lyx on Slackware 7.1 with gcc 2.95. No problems
at all. Which version of gcc did you use (use gcc -v for that)? If you
use on old gcc version, it maybe that you have to update to a more
recent version. Check contrib on the Slackware disk or download it
directly from the Slackware site, if you need to update.
--
Andre H. Juffer | Phone: +358-8-553 1683
The Biocenter and | Fax: +358-8-553-1141
the Dep. of Biochemistry | Email: [EMAIL PROTECTED]
University of Oulu, Finland | WWW: http://www.biochem.oulu.fi/research.html