Thank you!  I got it to work by installing a few more packages.  
If you install the lyx package in sarge you get 1.3.4.  

Then I installed the following. Some of which may not be necessary.

ii  libqt3-dev     3.3.4-3        Qt development files
 ii  qt3-dev-tools  3.3.4-3        Qt3 development tools
 ii  libqt3-headers 3.3.4-3        Qt3 header files
 ii  libqt3c102     3.3.4-3        Qt GUI Library, Version 3
ii  libqt3-compat- 3.3.4-3        Qt 1.x and 2.x compatibility includes
ii  libqt3c102-mt  3.3.4-3        Qt GUI Library (Threaded runtime version), V

(the indented oned were installed because libqt3-dev dependencies)

configure with the --with-qt-dir=/usr/share/qt3

make; make install

Voila!

Thanks again.

-Greg

On Mon, Mar 27, 2006 at 05:32:37PM -0700, Gregory Meymaris wrote:
> Hello,
> 
> I am trying to compile lyx 1.3.7 on Debian/sarge but I am not having
> much luck.  I've attached the config.log file.  Shown below is the
> error message.  It's probably that I either don't have the correct
> packages installed or I don't have all the paths I need when I
> 'configure'.  On the other hand, when I look on the web for
> badSuperclassWarning, it appears to in qobject.h.  That is in 
> /usr/share/qt3//include, which is -I'ed in, but badSuperclassWarning
> is not defined in there.
> 
> Anyone have any thoughts?  
> 
> Thanks in advance!
> 
> -Greg
> 
> ------------------------------------
> ~dpkg -l "libqt*"|grep ^i
> ii  libqt3-headers 3.3.4-3        Qt3 header files
> ii  libqt3-mt-dev  3.3.4-3        Qt development files (Threaded)
> ii  libqt3c102-mt  3.3.4-3        Qt GUI Library (Threaded runtime version), V
> 
> 
> make[6]: Entering directory `/opt/lyx_src/lyx-1.3.7/src/frontends/qt2/ui/moc'
> if /bin/sh ../../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
> -I../../../../../src -I../../../../../src -I../../../../../src/frontends 
> -I../../../../../src/frontends/controllers -I./qt2 -I/usr/share/qt3//include 
> -I../../../../../boost  -isystem /usr/X11R6/include -DQT_CLEAN_NAMESPACE 
> -DQT_GENUINE_STR -DQT_NO_STL -DQT_THREAD_SUPPORT -DQT_NO_TRANSLATION -O -MT 
> BiblioModuleBase_moc.lo -MD -MP -MF ".deps/BiblioModuleBase_moc.Tpo" -c -o 
> BiblioModuleBase_moc.lo BiblioModuleBase_moc.C; \
> then mv -f ".deps/BiblioModuleBase_moc.Tpo" ".deps/BiblioModuleBase_moc.Plo"; 
> else rm -f ".deps/BiblioModuleBase_moc.Tpo"; exit 1; fi
> g++ -DHAVE_CONFIG_H -I. -I. -I../../../../../src -I../../../../../src 
> -I../../../../../src/frontends -I../../../../../src/frontends/controllers 
> -I./qt2 -I/usr/share/qt3//include -I../../../../../boost -isystem 
> /usr/X11R6/include -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL 
> -DQT_THREAD_SUPPORT -DQT_NO_TRANSLATION -O -MT BiblioModuleBase_moc.lo -MD 
> -MP -MF .deps/BiblioModuleBase_moc.Tpo -c BiblioModuleBase_moc.C
> BiblioModuleBase_moc.C:30: error: no `void 
> BiblioModuleBase::initMetaObject()' 
>    member function declared in class `BiblioModuleBase'
> BiblioModuleBase_moc.C: In member function `void 
>    BiblioModuleBase::initMetaObject()':
> BiblioModuleBase_moc.C:34: error: `badSuperclassWarning' undeclared (first 
> use 
>    this function)
> BiblioModuleBase_moc.C:34: error: (Each undeclared identifier is reported 
> only 
>    once for each function it appears in.)
> BiblioModuleBase_moc.C: In static member function `static QMetaObject* 
>    BiblioModuleBase::staticMetaObject()':
> BiblioModuleBase_moc.C:68: error: no matching function for call to 
> `QMetaObject
>    ::new_metaobject(const char[17], const char[8], int, int, int, int, int, 
>    int, int, int, int, int)'
> /usr/share/qt3/include/qmetaobject.h:211: error: candidates are: static 
>    QMetaObject* QMetaObject::new_metaobject(const char*, QMetaObject*, const 
>    QMetaData*, int, const QMetaData*, int, const QMetaProperty*, int, const 
>    QMetaEnum*, int, const QClassInfo*, int)
> /usr/share/qt3/include/qmetaobject.h:219: error:                 static 
>    QMetaObject* QMetaObject::new_metaobject(const char*, QMetaObject*, const 
>    QMetaData*, int, const QMetaData*, int, const QMetaProperty*, int, const 
>    QMetaEnum*, int, bool (*)(QObject*, int, int, QVariant*), const 
> QClassInfo*, 
>    int)
> BiblioModuleBase_moc.C:69: error: `set_slot_access' undeclared (first use 
> this 
>    function)
> make[6]: *** [BiblioModuleBase_moc.lo] Error 1
> make[6]: Leaving directory `/opt/lyx_src/lyx-1.3.7/src/frontends/qt2/ui/moc'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory `/opt/lyx_src/lyx-1.3.7/src/frontends/qt2/ui'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/opt/lyx_src/lyx-1.3.7/src/frontends/qt2'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/opt/lyx_src/lyx-1.3.7/src/frontends'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/opt/lyx_src/lyx-1.3.7/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/lyx_src/lyx-1.3.7/src'
> make: *** [all-recursive] Error 1
> 



-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Gregory Meymaris, Ph.D.           Aviation Applications Program
National Center for Atmospheric Research           NCAR/RAL/AAP
Research Applications Laboratory              [EMAIL PROTECTED]
3450 Mitchell Lane                            Tel: 303-497-2828
Boulder, Colorado USA 80307                   Fax: 303-497-8401
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Reply via email to