Am Freitag, 31. August 2007 14:00 schrieb Rainer Dorsch: > Hello, > > I compiled lyx 1.5.1 on SLES 9 and it seems to me that the qt4 include is > missing at at least on place. Here is the error I got > > $ ./configure --prefix=/afs/lyx-1.5.1/ --with-frontend=qt4 > --with-qt-dir=/afs/qt-4.2.1/ > > [...] > /bin/sh ../../libtool --tag=CXX --mode=compile > g++ -DHAVE_CONFIG_H -I. -I../../src -I./.. -I../../boost > -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS > -I/usr/X11R6/include -O2 -MT docstring.lo -MD -MP -MF .deps/docstring.Tpo > -c -o docstring.lo docstring.cpp > > g++ -DHAVE_CONFIG_H -I. -I../../src -I./.. -I../../boost > -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS > -I/usr/X11R6/include -O2 -MT docstring.lo -MD -MP -MF .deps/docstring.Tpo > -c docstring.cpp -o docstring.o In file included from docstring.cpp:14: > qstring_helpers.h:17:17: QChar: No such file or directory > qstring_helpers.h:18:19: QString: No such file or directory > In file included from docstring.cpp:14: > qstring_helpers.h:30: error: syntax error before `const' > qstring_helpers.h:42: error: syntax error before `const' > qstring_helpers.h:49: error: `char_type' was not declared in this scope > qstring_helpers.h:49: error: syntax error before `)' token > qstring_helpers.h: In function `bool is_utf16(...)': > qstring_helpers.h:52: error: `c' undeclared (first use this function) > qstring_helpers.h:52: error: (Each undeclared identifier is reported only > once for each function it appears in.) > > > Does anybody have an idea where the right place would be to fix that? If > yes, I am happy to test that.
Aaah, just noticed that configure creates all the makefiles but ends with **** The following problems have been detected by configure. **** Please check the messages below before running 'make'. **** (see the section 'Problems' in the INSTALL file) ** qt 4 library not found ! Investigating... Rainer -- Rainer Dorsch Lärchenstr. 6 D-72135 Dettenhausen 07032-359190 jabber: [EMAIL PROTECTED] GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E Full GPG key: http://pgp.mit.edu/