Edwin Leuven wrote:
> On Mon Sep 9, 2002 11:00, Juergen Vigna wrote:
> 
>>Hope anybody may help me.
> 
> 
> you're using moc of qt2 whereas your includes are of qt3. Make sure to use to 
> right moc

Well you're right, *but* this is a really weired bug IMO. I have qt3
installed by default (/usr/bin/moc), but when creating the Makefiles
it uses (/usr/bin/moc2)!? I edited the Makefiles by hand and then I
get a bit further. This are the last errors I get:

g++ -DHAVE_CONFIG_H -I. -I../../../../src/frontends/qt2 -I../../../src 
-I../../../../src/ -I../../../../src/frontends/ -I../../../../images 
-I../../../../src/frontends/qt2/qt2 -I/usr/lib/qt3/include -I../../../../boost 
-I../../../../src/frontends/controllers -isystem /usr/X11R6/include 
-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -g -fno-exceptions 
-Wno-non-template-friend -W -Wall -c ../../../../src/frontends/qt2/QInclude.C 
-MT QInclude.lo -MD -MP -MF .deps/QInclude.TPlo
../../../../src/frontends/qt2/QInclude.C: In method `void 
QInclude::update_contents ()':
../../../../src/frontends/qt2/QInclude.C:56: `struct InsetInclude::Params' has 
no member named `noload'
../../../../src/frontends/qt2/QInclude.C: In method `void QInclude::apply ()':
../../../../src/frontends/qt2/QInclude.C:75: `struct InsetInclude::Params' has 
no member named `noload'
make[1]: *** [QInclude.lo] Error 1
make[1]: Leaving directory `/soft/lyx/lyx-devel/qt-build/src/frontends/qt2'
make: *** [all-recursive] Error 1

And then on linking:

frontends/.libs/libfrontends.a(Dialogs.o): In function 
`boost::use_count_is_zero type_info function':
/soft/lyx/lyx-devel/qt-build/src/frontends/qt2/../../../../boost/boost/detail/shared_count.hpp(.GUI<ControlInclude,
 
QInclude, OkCancelReadOnlyPolicy, Qt2BC>::gnu.linkonce.t.(LyXView &, Dialogs 
&) +0xb4): undefined reference to `QInclude::QInclude(void)'
/soft/lyx/lyx-devel/qt-build/src/frontends/qt2/../../../../boost/boost/detail/shared_count.hpp(.gnu.linkonce.t._._t3GUI4Z14ControlIncludeZ8QIncludeZ22OkCancelReadOnlyPolicyZ5Qt2BC+0x19):
 
undefined reference to `QInclude::~QInclude(void)'
collect2: ld returned 1 exit status
make[3]: *** [lyx] Error 1

*For Lars:*

I use the standard automake tools of RedHat 7.3 and can build the xforms
tree without problems. The qt tree is another mater. I symlinked the binaries
of the newer autotool to a bindir so that they now are prefered and I use

[pb00074@phx00060 qt-build]$ automake --version
automake (GNU automake-1.5) 1.5

[pb00074@phx00060 qt-build]$ autoconf --version
autoconf (GNU Autoconf) 2.53

And with this I can build qt (it seems ;), but I get a lot of errors on doing
autogen.sh. Are you interested in the errors Lars?

          Jug

-- 
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Mitterstrich 151/A      Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39050 Steinegg        Web:     http://www.lyx.org/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Reply via email to