QT2 doesn't seem to be setup properly in Mandrake, try adding these lines to 
your bash_profile or your rc.local

Make sure you tell ldconfig to add your qt lib directory to its path and then 
run ldconfig.

kwintv then compiled fully for me.

        QTDIR=/usr/lib/qt2
        PATH=$QTDIR/bin:$PATH
        MANPATH=$QTDIR/man:$MANPATH
        LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
        export QTDIR PATH MANPATH LD_LIBRARY_PATH


I can't remember if this is the program that required qt-mt libraries, but if 
it is you can find it on rpmfind.net (i think connective made some static 
ones)

Hope this rambling helps

Regards

Ali

On Monday 08 January 2001  9:57 pm, you wrote:

> > Hi,
>
> I wonder if someone can help me ?... I'm having problems building/making
> wintv.  Any help will be much appreciated as I've run out of ideas.
>
> I'm running Mandrake 7.2 and download kwintv-0.8.5.
>
> The configure script failed as it was unable to find my 'qt2' libraries.  I
> modifed it and replaced all references "/qt" with "/qt2" plus I added
> "/usr/X11R6/lib/libXt.so.6" to the "g++" line:
>
> ac_link='${CXX-g++} -o conftest${ac_exeext} /usr/X11R6/lib/libXt.so.6
> $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
>
> ....the configure script then worked fine.
>
> However, when I run the make it fails with:
>
> make[3]: Leaving directory `/hmake[3]: Leaving directory
> `/home/john/kwintv/kwintv-0.8.5/kwintv/icons'
> make[3]: Entering directory `/home/john/kwintv/kwintv-0.8.5/kwintv'
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/qt2/include
> -I/usr/X11R6/include      -O2 -c wintvchannel.cpp
> In file included from wintvchannel.cpp:1210:
> wintvchannel.moc:45: new declaration `static void
> winSlider::staticMetaObject()'wintvchannel.h:57: ambiguates old declaration
> `static class QMetaObject * winSlider::staticMetaObject()'
> In file included from wintvchannel.cpp:1210:
> wintvchannel.moc:316: new declaration `static void
> winMixer::staticMetaObject()'wintvchannel.h:117: ambiguates old declaration
> `static class QMetaObject * winMixer::staticMetaObject()'
> wintvchannel.moc:489: new declaration `static void
> winProgramList::staticMetaObject()'
> wintvchannel.h:181: ambiguates old declaration `static class QMetaObject *
> winProgramList::staticMetaObject()'
> ome/john/kwintv/kwintv-0.8.5/kwintv/icons'
> make[3]: Entering directory `/home/john/kwintv/kwintv-0.8.5/kwintv'
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/qt2/include
> -I/usr/X11R6/include      -O2 -c wintvchannel.cpp
> In file included from wintvchannel.cpp:1210:
> wintvchannel.moc:45: new declaration `static void
> winSlider::staticMetaObject()'wintvchannel.h:57: ambiguates old declaration
> `static class QMetaObject * winSlider::staticMetaObject()'
> In file included from wintvchannel.cpp:1210:
> wintvchannel.moc:316: new declaration `static void
> winMixer::staticMetaObject()'wintvchannel.h:117: ambiguates old declaration
> `static class QMetaObject * winMixer::staticMetaObject()'
> wintvchannel.moc:489: new declaration `static void
> winProgramList::staticMetaObject()'
> wintvchannel.h:181: ambiguates old declaration `static class QMetaObject *
> winProgramList::staticMetaObject()'
> etc.
>
> Any ideas ?
>
> Ta very much,
> john

----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------

-- 
Two peanuts were walking through the New York.  One was assaulted.

Reply via email to