You can verify that you have all the packages needed for build by 
looking here:
http://packages.debian.org/stable/source/lyx

It lists the "build-depends" for the official stable LyX package, i.e. 
those packages that must be installed for the package to be built.  
That will be a superset of the ones you will need in order to build 
from source.

If that does not do it, you may get more information by examining the 
source package.  Put a deb-src line in /etc/apt/sources.list, apt-get 
update, then fetch the package with
  apt-get source  --download-only lyx 

Let me know if you need help with that step, if it comes to that.

Best wishes,
Aaron

On Monday 27 March 2006 04:32 pm, 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

-- 
Peace,
Aaron Maxwell - http://redsymbol.net

Reply via email to