I cannot compile svn trunk revision 16774 on Fedora Core 4. Below is
the error I get. My config.log is at
http://www.csse.uwa.edu.au/~john/config.log. This appears to be the
result of some qt4 not being installed, but configure does not
complain.

BTW, I can compile lyx-1.4.x (qt), so this could be some kind of regression.

---

[EMAIL PROTECTED]:/usr/local/john/src/lyx-1.4.x:613> yum list installed "*qt*"
Installed Packages
PyQt.i386                                3.14.1-1               installed
PyQt-devel.i386                          3.14.1-1               installed
PyQt-examples.i386                       3.14.1-1               installed
iiimf-qt.i386                            1:12.2-4.fc4.2         installed
qt.i386                                  1:3.3.4-15.5           installed
qt-MySQL.i386                            1:3.3.4-15.5           installed
qt-ODBC.i386                             1:3.3.4-15.5           installed
qt-PostgreSQL.i386                       1:3.3.4-15.5           installed
qt-config.i386                           1:3.3.4-15.5           installed
qt-designer.i386                         1:3.3.4-15.5           installed
qt-devel.i386                            1:3.3.4-15.5           installed

--

[EMAIL PROTECTED]:/usr/local/john/src/lyx-1.4.x:614> yum list "*qt*"
Setting up repositories
Reading repository metadata in from local files
Installed Packages
PyQt.i386                                3.14.1-1               installed
PyQt-devel.i386                          3.14.1-1               installed
PyQt-examples.i386                       3.14.1-1               installed
iiimf-qt.i386                            1:12.2-4.fc4.2         installed
qt.i386                                  1:3.3.4-15.5           installed
qt-MySQL.i386                            1:3.3.4-15.5           installed
qt-ODBC.i386                             1:3.3.4-15.5           installed
qt-PostgreSQL.i386                       1:3.3.4-15.5           installed
qt-config.i386                           1:3.3.4-15.5           installed
qt-designer.i386                         1:3.3.4-15.5           installed
qt-devel.i386                            1:3.3.4-15.5           installed
Available Packages
SoQt.i386                                1.4.1-2.fc4            extras
SoQt-devel.i386                          1.4.1-2.fc4            extras
aqhbci-qt-tools.i386                     1.0.1beta-5            extras
dbus-qt.i386                             0.33-7.fc4             extras
dbus-qt-devel.i386                       0.33-7.fc4             extras
gambas-gb-qt.i386                        1.0.17-3.fc4           extras
gambas-gb-qt-editor.i386                 1.0.17-3.fc4           extras
gambas-gb-qt-ext.i386                    1.0.17-3.fc4           extras
gambas-gb-qt-kde.i386                    1.0.17-3.fc4           extras
gambas-gb-qt-kde-html.i386               1.0.17-3.fc4           extras
gtk-qt-engine.i386                       0.70-2.fc4             extras
lyx-qt.i386                              1.4.3-3.fc4            extras
pinentry-qt.i386                         0.7.1-4                extras
qt4.i386                                 4.1.5-2.fc4            extras
qt4-devel.i386                           4.1.5-2.fc4            extras
qt4-doc.i386                             4.1.5-2.fc4            extras
qt4-mysql.i386                           4.1.5-2.fc4            extras
qt4-odbc.i386                            4.1.5-2.fc4            extras
qt4-postgresql.i386                      4.1.5-2.fc4            extras
qt4-sqlite.i386                          4.1.5-2.fc4            extras
qt4-x11.i386                             4.1.5-2.fc4            extras
qtparted.i386                            0.4.5-1.fc4            extras
scim-qtimm.i386                          0.9.4-1.fc4            extras
uim-qt.i386                              1.2.1-1.fc4            extras

---

make[5]: Entering directory `/usr/local/john/src/lyx-devel/src/support'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../../src  -Winvalid-pch --include=./pch.h -I./..
-I../../boost   -Wextra -Wall    -I/usr/X11R6/include  -march=prescott
-MT docstring.lo -MD -MP -MF ".deps/docstring.Tpo" -c -o docstring.lo
docstring.C; \
then mv -f ".deps/docstring.Tpo" ".deps/docstring.Plo"; else rm -f
".deps/docstring.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -Winvalid-pch
--include=./pch.h -I./.. -I../../boost -Wextra -Wall
-I/usr/X11R6/include -march=prescott -MT docstring.lo -MD -MP -MF
.deps/docstring.Tpo -c docstring.C -o docstring.o
In file included from docstring.C:14:
qstring_helpers.h:17:17: error: QChar: No such file or directory
qstring_helpers.h:18:19: error: QString: No such file or directory
docstring.C:20:17: error: QFile: No such file or directory
qstring_helpers.h:30: error: expected initializer before 'const'
qstring_helpers.h:42: error: expected initializer before 'const'
qstring_helpers.h:55: error: 'lyx::qchar_to_ucs4' declared as an
'inline' variable
qstring_helpers.h:55: error: 'QChar' was not declared in this scope
qstring_helpers.h:56: error: expected ',' or ';' before '{' token
qstring_helpers.h:68: error: expected initializer before 'const'
qstring_helpers.h:93: error: expected constructor, destructor, or type
conversion before 'const'
qstring_helpers.h:103: error: 'QString' has not been declared
qstring_helpers.h: In function 'void lyx::ucs4_to_qstring(const
lyx::char_type*, size_t, int&)':
qstring_helpers.h:106: error: request for member 'resize' in 's',
which is of non-class type 'int'
qstring_helpers.h:108: error: invalid types 'int[int]' for array subscript
qstring_helpers.h:108: error: 'ucs4_to_qchar' was not declared in this scope
qstring_helpers.h: At global scope:
qstring_helpers.h:118: error: 'QString' was not declared in this scope
qstring_helpers.h:127: error: 'QString' was not declared in this scope
docstring.C: In function 'const lyx::docstring
lyx::from_local8bit(const std::string&)':
docstring.C:99: error: 'QString' has not been declared
docstring.C:99: error: 'fromLocal8Bit' was not declared in this scope
docstring.C: In function 'const std::string lyx::to_local8bit(const
lyx::docstring&)':
docstring.C:114: error: 'QByteArray' was not declared in this scope
docstring.C:114: error: expected `;' before 'const'
docstring.C:115: error: 'local' was not declared in this scope
docstring.C:117: error: 'local' was not declared in this scope
docstring.C: In function 'const lyx::docstring
lyx::from_filesystem8bit(const std::string&)':
docstring.C:123: error: 'QByteArray' was not declared in this scope
docstring.C:123: error: expected `;' before 'const'
docstring.C:124: error: 'QFile' has not been declared
docstring.C:124: error: 'encoded' was not declared in this scope
docstring.C:124: error: 'decodeName' was not declared in this scope
docstring.C: At global scope:
docstring.C:121: warning: unused parameter 's'
make[5]: *** [docstring.lo] Error 1
make[5]: Leaving directory `/usr/local/john/src/lyx-devel/src/support'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/john/src/lyx-devel/src/support'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/john/src/lyx-devel/src/support'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/john/src/lyx-devel/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/john/src/lyx-devel/src'
make: *** [all-recursive] Error 1


--
John C. McCabe-Dansted
PhD Student
University of Western Australia

Reply via email to