Feeling like superman I tried to compile the cvs version of lyx as well,
(I've managed to compile it before).
I've done:
cvs update
./autogen.sh
./configure --with-extra-prefix=/pkg/mdhacks/grp/util
--with-version-suffix --prefix=/pkg/mdhacks/pkg/lyx/devel/os
--disable-libtool-lock
Configuration
Host type: i686-pc-linux-gnu
Special build flags: warnings assertions xforms-image-loader
C Compiler: gcc
C Compiler flags: -g -O2
C++ Compiler: g++ (2.96)
C++ Compiler flags: -g -O -fno-exceptions
-ftemplate-depth-30 -Wno-non-template-friend -W -Wall
Linker flags: -L/pkg/mdhacks/grp/util/lib
-L/pkg/mdhacks/grp/util/lib
Frontend: xforms
libXpm version: 4.11
libforms version: 1.0.0
LyX binary dir: /pkg/mdhacks/pkg/lyx/devel/os/bin
LyX files dir:
/pkg/mdhacks/pkg/lyx/devel/os/share/lyx-1.3.0pre3
Then when I make it fails as shown below. Any ideas, or is the cvs
temporarily broken?
/bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../../src -I../../../images -I../../../src -I../../../src/frontends
-I../../../src/frontends/controllers -I../../../boost
-I/pkg/mdhacks/grp/util/include -I/pkg/mdhacks/grp/util/include
-isystem /usr/X11R6/include -g -O -fno-exceptions -ftemplate-depth-30
-Wno-non-template-friend -W -Wall -c xformsImage.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images
-I../../../src -I../../../src/frontends
-I../../../src/frontends/controllers -I../../../boost
-I/pkg/mdhacks/grp/util/include -I/pkg/mdhacks/grp/util/include -isystem
/usr/X11R6/include -g -O -fno-exceptions -ftemplate-depth-30
-Wno-non-template-friend -W -Wall -Wp,-MD,.deps/xformsImage.pp -c
xformsImage.C
xformsImage.C: In function `vector<string, allocator<string> >
grfx::xformsImage::loadableFormats ()':
xformsImage.C:78: `flimage_get_number_of_formats' undeclared (first use
this function)
xformsImage.C:78: (Each undeclared identifier is reported only once for
each function it appears in.)
xformsImage.C:81: `FLIMAGE_FORMAT_INFO' undeclared (first use this
function)
xformsImage.C:81: parse error before `const'
xformsImage.C:83:
[snip]
/Christian
--
Christian Ridderstr�m, +46-8-790 91 37 http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Design http://www.md.kth.se