It seems the previous problem was due a broken installation of automake/autoconf. Reinstalling those solved the problem. However, compilation halt with following error:

./configure --prefix=/home/gragusa/lyx/bin/lyx150svn-qt --with-frontend=qt --with-qt-dir=/usr/share/qt3 --with-version-suffix=-150svn-qt

make

g++ -DHAVE_CONFIG_H -I. -I. -I../../src -Winvalid-pch --include=./pch.h -I./.. -I../../boost -Wextra -Wall -fno-exceptions -g -O -MT math_mathmlstream.lo -MD -MP -MF .deps/math_mathmlstream.Tpo -c math_mathmlstream.C -o math_mathmlstream.o ../../src/support/lyxalgo.h: In function 'typename std::iterator_traits<_Iterator>::difference_type lyx::count(Iterator, Iterator, const T&)':
../../src/support/lyxalgo.h:84: error: expected `;' before 'n'
../../src/support/lyxalgo.h:86: error: 'n' was not declared in this scope
../../src/support/lyxalgo.h:87: error: 'n' was not declared in this scope
../../src/support/lyxalgo.h: In function 'typename std::iterator_traits<_Iterator>::difference_type lyx::count(Iterator, Iterator, const T&) [with Iterator = const char*, T = char]':
math_mathmlstream.C:87:   instantiated from here
../../src/support/lyxalgo.h:84: error: dependent-name 'std::iterator_traits<_Iterator>::difference_type' is parsed as a non-type, but instantiation yields a type ../../src/support/lyxalgo.h:84: note: say 'typename std::iterator_traits<_Iterator>::difference_type' if a type is meant
make[4]: *** [math_mathmlstream.lo] Error 1
make[4]: Leaving directory `/home/gragusa/compiling/lyx-devel/src/mathed'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/gragusa/compiling/lyx-devel/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gragusa/compiling/lyx-devel/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gragusa/compiling/lyx-devel/src'
make: *** [all-recursive] Error 1



Giuseppe Ragusa wrote:
Trying to compile lyx-devel from the svn trunk:*

uname -a
*Linux empedocles 2.6.15-23-686 #1 SMP PREEMPT Tue May 23 14:03:07 UTC 2006 i686 GNU/Linux
*
svn update*
At revision 14109.

./autogen.sh
Using automake (GNU automake) 1.9.6
Using autoconf (GNU Autoconf) 2.59
Locating GNU m4... /usr/bin/m4
Generate acinclude.m4... done.
Building macros...
      .
aclocal: configure.ac: 0: macro `AM_CXXFLAGS' not found in library
aclocal: configure.ac: 0: macro `AM_CXXFLAGS' not found in library
aclocal: configure.ac: 0: macro `AM_CXXFLAGS' not found in library
aclocal: configure.ac: 0: macro `AM_CXXFLAGS' not found in library
aclocal: configure.ac: 0: macro `AM_CXXFLAGS' not found in library
aclocal: configure.ac: 0: macro `AM_CXXFLAGS' not found in library
aclocal: configure.ac: 0: macro `AM_CXXFLAGS' not found in library

[OUTPUT OMITTED, ie series of complains about missing macros.]


./configure --with-frontend=qt --with-qt-dir=/usr/lib

./configure: line 1369: LYX_CHECK_VERSION: command not found
./configure: line 1370: LYX_VERSION_SUFFIX: command not found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
./configure: line 1454: LYX_USE_PACKAGING: command not found
./configure: line 1466: AM_MAINTAINER_MODE: command not found
./configure: line 1469: syntax error near unexpected token `foreign'
./configure: line 1469: `AM_INIT_AUTOMAKE(foreign dist-bzip2 tar-ustar no-define 1.9)'


*m4 --version*
GNU M4 1.4.4
Written by Rene' Seindal.

Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Reply via email to