Hi, 
 
I would love to get the lyx-1.3-cvs compiled with the qt2-frontend, but I 
allways get errors. 
My system: 
HP XT-1000 notebook, Pentium III 1.13Ghz, 256 MB 
gentoo-linux 1.4rc 
- gcc-3.2.1 
- qt 3.1.0 
- kernel 2.4.20 (vanilla, with atapi and swsusp patches) 
- glibc 2.3.1 
- X 4.2.1 
 
I set my environment up to use automake 1.5 and autoconf 2.5, because without 
that, errors were occouring already much earlier in the process. 
 
The following errors show up while compiling (starting from where the first 
error occours, there are several warnings before, but not related to that 
particular file) Sorry, it's quite a long transcript, but there are appearing 
errors until the end, so I was not able to figure out what's important and 
what not... 
 
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../src/ 
-I../../../../src/frontends/ -I../../../../src/frontends/controllers 
-I../../../../src/frontends/qt2 -I./qt2 -I../../../../src/frontends/xforms 
-I/usr/qt/3/include -I../../../../boost -isystem /usr/X11R6/include 
-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -g -O -W -Wall -Winline -c 
QCharacterDialog_moc.C -MT QCharacterDialog_moc.lo -MD -MP -MF 
.deps/QCharacterDialog_moc.TPlo 
In file included from /usr/qt/3/include/qvariant.h:42, 
                 from ../ui/QCharacterDialogBase.h:13, 
                 from ../QCharacterDialog.h:15, 
                 from QCharacterDialog_moc.C:11: 
/usr/qt/3/include/qstring.h:854: warning: `QString& QString::operator+=(const 
   std::string&)' was used before it was declared inline 
/usr/qt/3/include/qstring.h:574: warning: previous non-inline declaration here 
In file included from ../../../../boost/boost/signals/connection.hpp:19, 
                 from ../../../../boost/boost/signals/trackable.hpp:20, 
                 from ../../../../src/frontends/DialogBase.h:20, 
                 from 
../../../../src/frontends/controllers/ControlButtons.h:36, 
                 from ../../../../src/frontends/controllers/ViewBase.h:18, 
                 from ../Qt2Base.h:23, 
                 from ../QCharacter.h:18, 
                 from ../QCharacterDialog.h:16, 
                 from QCharacterDialog_moc.C:11: 
../../../../boost/boost/signals/detail/signals_common.hpp:23: parse error 
   before `protected' 
../../../../boost/boost/signals/detail/signals_common.hpp:41: ISO C++ forbids 
   declaration of `unusable' with no type 
../../../../boost/boost/signals/detail/signals_common.hpp:41: parse error 
   before `;' token 
../../../../boost/boost/signals/detail/signals_common.hpp:50: parse error 
   before `*' token 
../../../../boost/boost/signals/detail/signals_common.hpp:105: parse error 
   before `>' token 
../../../../boost/boost/signals/detail/signals_common.hpp:151: parse error 
   before `}' token 
In file included from ../../../../boost/boost/signals/trackable.hpp:20, 
                 from ../../../../src/frontends/DialogBase.h:20, 
                 from 
../../../../src/frontends/controllers/ControlButtons.h:36, 
                 from ../../../../src/frontends/controllers/ViewBase.h:18, 
                 from ../Qt2Base.h:23, 
                 from ../QCharacter.h:18, 
                 from ../QCharacterDialog.h:16, 
                 from QCharacterDialog_moc.C:11: 
../../../../boost/boost/signals/connection.hpp:28: parse error before ` 
   protected' 
../../../../boost/boost/signals/connection.hpp:89: `boost::detail' does not 
   have a class or union named `signal_base_impl' 
../../../../boost/boost/signals/connection.hpp:90: `boost::detail' does not 
   have a class or union named `slot_base' 
../../../../boost/boost/signals/connection.hpp:94: parse error before ` 
   protected' 
../../../../boost/boost/signals/connection.hpp:97: parse error before ` 
   protected' 
../../../../boost/boost/signals/connection.hpp:99: parse error before `::' 
   token 
../../../../boost/boost/signals/connection.hpp:102: parse error before ` 
   protected' 
../../../../boost/boost/signals/connection.hpp: In member function `bool 
   boost::connection::connected() const': 
../../../../boost/boost/signals/connection.hpp:72: `con' undeclared (first use 
   this function) 
../../../../boost/boost/signals/connection.hpp:72: (Each undeclared identifier 
   is reported only once for each function it appears in.) 
../../../../boost/boost/signals/connection.hpp: In constructor 
   `boost::connection::connection()': 
../../../../boost/boost/signals/connection.hpp:129: class `boost::connection' 
   does not have any field named `con' 
../../../../boost/boost/signals/connection.hpp: In copy constructor 
   `boost::connection::connection(const boost::connection&)': 
../../../../boost/boost/signals/connection.hpp:134: `class boost::connection' 
   has no member named `con' 
../../../../boost/boost/signals/connection.hpp:134: class `boost::connection' 
   does not have any field named `con' 
../../../../boost/boost/signals/connection.hpp: At global scope: 
../../../../boost/boost/signals/connection.hpp:146: parse error before ` 
   protected' 
../../../../boost/boost/signals/connection.hpp: In member function `void 
   boost::connection::reset(...)': 
../../../../boost/boost/signals/connection.hpp:148: `new_con' undeclared 
(first 
   use this function) 
../../../../boost/boost/signals/connection.hpp: At global scope: 
../../../../boost/boost/signals/connection.hpp:152: parse error before ` 
   protected' 
../../../../boost/boost/signals/connection.hpp: In member function `void 
   boost::connection::add_bound_object(...)': 
../../../../boost/boost/signals/connection.hpp:155: `b' undeclared (first use 
   this function) 
../../../../boost/boost/signals/connection.hpp: In member function `bool 
   boost::connection::operator==(const boost::connection&) const': 
../../../../boost/boost/signals/connection.hpp:160: `class boost::connection' 
   has no member named `con' 
../../../../boost/boost/signals/connection.hpp: In member function `bool 
   boost::connection::operator<(const boost::connection&) const': 
../../../../boost/boost/signals/connection.hpp:165: `class boost::connection' 
   has no member named `con' 
../../../../boost/boost/signals/connection.hpp: In member function `void 
   boost::connection::swap(boost::connection&)': 
../../../../boost/boost/signals/connection.hpp:176: `class boost::connection' 
   has no member named `con' 
../../../../boost/boost/signals/connection.hpp:176: `class boost::connection' 
   has no member named `con' 
../../../../boost/boost/signals/connection.hpp: At global scope: 
../../../../boost/boost/signals/connection.hpp:289: parse error before `}' 
   token 
In file included from ../../../../src/frontends/DialogBase.h:20, 
                 from 
../../../../src/frontends/controllers/ControlButtons.h:36, 
                 from ../../../../src/frontends/controllers/ViewBase.h:18, 
                 from ../Qt2Base.h:23, 
                 from ../QCharacter.h:18, 
                 from ../QCharacterDialog.h:16, 
                 from QCharacterDialog_moc.C:11: 
../../../../boost/boost/signals/trackable.hpp:26: parse error before 
`protected 
   ' 
../../../../boost/boost/signals/trackable.hpp:34: `boost::detail' does not 
have 
   a class or union named `signal_base_impl' 
../../../../boost/boost/signals/trackable.hpp:34: `friend' can only be 
   specified inside a class 
../../../../boost/boost/signals/trackable.hpp:35: `boost::detail' does not 
have 
   a class or union named `slot_base' 
../../../../boost/boost/signals/trackable.hpp:35: `friend' can only be 
   specified inside a class 
../../../../boost/boost/signals/trackable.hpp:36: type specifier omitted for 
   parameter 
../../../../boost/boost/signals/trackable.hpp:36: parse error before 
`protected 
   ' 
../../../../boost/boost/signals/trackable.hpp:36: non-member function `void 
   boost::signal_connected(...)' cannot have `const' method qualifier 
../../../../boost/boost/signals/trackable.hpp:38: parse error before 
`protected 
   ' 
../../../../boost/boost/signals/trackable.hpp:40: parse error before `const' 
../../../../boost/boost/signals/trackable.hpp:41: destructors must be member 
   functions 
../../../../boost/boost/signals/trackable.hpp:43: syntax error before `&' 
token 
../../../../boost/boost/signals/trackable.hpp:51: syntax error before `::' 
   token 
../../../../boost/boost/signals/trackable.hpp:54: syntax error before `;' 
token 
../../../../boost/boost/signals/trackable.hpp:57: non-member `dying' cannot be 
   declared `mutable' 
../../../../boost/boost/signals/trackable.hpp:58: parse error before `}' token 
../../../../boost/boost/signals/trackable.hpp:66: ISO C++ forbids declaration 
   of `type name' with no type 
../../../../boost/boost/signals/trackable.hpp:66: parse error before `*' token 
../../../../boost/boost/signals/trackable.hpp:69: missing ';' before right 
   brace 
../../../../boost/boost/signals/trackable.hpp:71: semicolon missing after 
   declaration of `detail::bound_objects_visitor' 
../../../../boost/boost/signals/trackable.hpp:75: `t' was not declared in this 
   scope 
../../../../boost/boost/signals/trackable.hpp:75: `is_convertible' was not 
   declared in this scope 
../../../../boost/boost/signals/trackable.hpp:75: `T' was not declared in this 
   scope 
../../../../boost/boost/signals/trackable.hpp:75: parse error before `,' token 
../../../../boost/boost/signals/trackable.hpp:75: `trackable' was not declared 
   in this scope 
../../../../boost/boost/signals/trackable.hpp:75: parse error before `>' token 
../../../../boost/boost/signals/trackable.hpp:75: ISO C++ forbids declaration 
   of `visit' with no type 
../../../../boost/boost/signals/trackable.hpp:80: non-member function `void 
   operator()(const boost::reference_wrapper<T>&)' cannot have `const' method 
   qualifier 
../../../../boost/boost/signals/trackable.hpp:80: `void operator()(const 
   boost::reference_wrapper<T>&)' must be a nonstatic member function 
../../../../boost/boost/signals/trackable.hpp: In function `void 
   operator()(const boost::reference_wrapper<T>&)': 
../../../../boost/boost/signals/trackable.hpp:81: invalid use of `this' in 
   non-member function 
../../../../boost/boost/signals/trackable.hpp: At global scope: 
../../../../boost/boost/signals/trackable.hpp:84: parse error before `*' token 
../../../../boost/boost/signals/trackable.hpp:85: non-member function `void 
   operator()(...)' cannot have `const' method qualifier 
../../../../boost/boost/signals/trackable.hpp:85: `void operator()(...)' must 
   be a nonstatic member function 
../../../../boost/boost/signals/trackable.hpp: In function `void 
   operator()(...)': 
../../../../boost/boost/signals/trackable.hpp:86: `b' undeclared (first use 
   this function) 
../../../../boost/boost/signals/trackable.hpp:87: `bound_objects' undeclared 
   (first use this function) 
../../../../boost/boost/signals/trackable.hpp: At global scope: 
../../../../boost/boost/signals/trackable.hpp:91: parse error before `private' 
../../../../boost/boost/signals/trackable.hpp:98: type specifier omitted for 
   parameter `truth<true>' 
../../../../boost/boost/signals/trackable.hpp:99: non-member function `void 
   visit(const T&)' cannot have `const' method qualifier 
../../../../boost/boost/signals/trackable.hpp: In function `void visit(const 
   T&)': 
../../../../boost/boost/signals/trackable.hpp:100: invalid use of `this' in 
   non-member function 
../../../../boost/boost/signals/trackable.hpp:100: parse error before `*' 
token 
../../../../boost/boost/signals/trackable.hpp: At global scope: 
../../../../boost/boost/signals/trackable.hpp:103: ISO C++ forbids declaration 
   of `type name' with no type 
../../../../boost/boost/signals/trackable.hpp:103: parse error before `*' 
token 
In file included from 
../../../../src/frontends/controllers/ControlButtons.h:36, 
                 from ../../../../src/frontends/controllers/ViewBase.h:18, 
                 from ../Qt2Base.h:23, 
                 from ../QCharacter.h:18, 
                 from ../QCharacterDialog.h:16, 
                 from QCharacterDialog_moc.C:11: 
../../../../src/frontends/DialogBase.h:29: parse error before `protected' 
../../../../src/frontends/DialogBase.h:43: virtual outside class declaration 
../../../../src/frontends/DialogBase.h:43: function `void hide()' is 
   initialized like a variable 
../../../../src/frontends/DialogBase.h:45: virtual outside class declaration 
../../../../src/frontends/DialogBase.h:47: virtual outside class declaration 
../../../../src/frontends/DialogBase.h:49: parse error before `}' token 
In file included from ../../../../src/frontends/controllers/ViewBase.h:18, 
                 from ../Qt2Base.h:23, 
                 from ../QCharacter.h:18, 
                 from ../QCharacterDialog.h:16, 
                 from QCharacterDialog_moc.C:11: 
../../../../src/frontends/controllers/ControlButtons.h:44: base class ` 
   DialogBase' has incomplete type 
make[5]: *** [QCharacterDialog_moc.lo] Fehler 1 
make[5]: Leaving directory 
`/home/seb/packages/lyx/lyx-guii/src/frontends/qt2/moc' 
make[4]: *** [all-recursive] Fehler 1 
make[4]: Leaving directory `/home/seb/packages/lyx/lyx-guii/src/frontends/qt2' 
make[3]: *** [all-recursive] Fehler 1 
make[3]: Leaving directory `/home/seb/packages/lyx/lyx-guii/src/frontends' 
make[2]: *** [all-recursive] Fehler 1 
make[2]: Leaving directory `/home/seb/packages/lyx/lyx-guii/src' 
make[1]: *** [all] Fehler 2 
make[1]: Leaving directory `/home/seb/packages/lyx/lyx-guii/src' 
make: *** [all-recursive] Fehler 1 
 
Has anybody any idea what went wrong? 
I hope it's not some trivial error due to my lack of experience... 
 
Thanks in advance for any help 
 
Sebastian 

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

Reply via email to