Qt 3.1/2.2 incompatibility/dependency issue...

Place to discuss Fedora and/or Red Hat

Qt 3.1/2.2 incompatibility/dependency issue...

Postby Calum » Sat Aug 16, 2003 2:02 pm

hello, red hat 9 with all the freshrpms updates so the version of Qt installed is 3.1.1-6 - now i want to install notedit which is a Qt program for writing sheet music. It appears not to have been updated since a while ago since the rpms on the site are for RH7.3. I am compiling from source however (because of the same error i am getting now more or less when i tried to install the rpm). Anyway, basically it wants Qt >= 2.2.2 however it seems that Qt 3.1 doesn't fit this category! what if any is the usual workaround for this issue if anybody knows? should i simply use apt to install Qt 2 or what? here's the error message and the last few lines of config.log just for a laugh:

Code: Select all
configure: warning: libjpeg not found. disable JPEG support.
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. Please check your installation!
     For more details about this problem, look at the end of config.log.
[root@harvey noteedit-2.3.1]# tail -24 config.log
conftest.C:17: `QString' undeclared (first use this function)
conftest.C:17: parse error before `;' token
conftest.C:18: `s' undeclared (first use this function)
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#if ! (QT_VERSION >= 222)
#error 1
#endif

int main() {
    QStringList *t = new QStringList();
    Q_UNUSED(t);
    QIconView iv(0);
    iv.setWordWrapIconText(false);
    QString s;
    s.setLatin1("Elvis is alive", 14);
    return 0;
}
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby Void Main » Sat Aug 16, 2003 5:05 pm

That's odd, I didn't need the qt2 libraries installed. I did have to slightly modify the spec file though before the SRC RPM would actually build. They were missing one line in the "%files" section. It built fine for me after adding it. I do see that it is complaining about you not having libjpeg installed though. Don't know whether it's needed or not, I already had it installed. I'll put the necessary RPMS in my apt repository for you or you can download them from me here as I built both tse3 and noteedit under RH9:

http://voidmain.is-a-geek.net/files/RPMS/

But it would probably be easiest to just add my repo to your /etc/apt/souces.list:

Code: Select all
rpm http://voidmain.is-a-geek.net apt/redhat/9/en/i386 voidmain
rpm-src http://voidmain.is-a-geek.net apt/redhat/9/en/i386 voidmain


and then:

Code: Select all
# apt-get update
# apt-get install noteedit
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Calum » Mon Aug 18, 2003 3:13 pm

void main, thank you very much!
have added your repository since apt is my preferred software management tool and am now downloading your notedit rpm.

Just a suggestion, you maybe should drop a note to the noteedit guy letting him know about your rh9 rpm since his most recent one is rh7.3, just an idea.
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby Calum » Mon Aug 18, 2003 3:36 pm

godsdamn it!
i am having one of my dumber days i suspect...
ok, noteedit installs perfectly, i try to run it and i see that it can't find the tse3 libraries, although they do exist... in /usr/local

what to do? shall i uninstall them and install them using prefix=/ or whatever so they go in the right place, or would a better way be to include /usr/local/lib et cetera in my library path and so forth? if so, how do i do it?
sorry and thanks...

oh yes, some xterm output just for fun:
[calum@harvey calum]$ noteedit
noteedit: error while loading shared libraries: libtse3.so.0: cannot open shared object file: No such file or directory
[calum@harvey calum]$ rpm -ql tse3
/usr/doc/tse3-0.2.7/AUTHORS
/usr/doc/tse3-0.2.7/COPYING
/usr/doc/tse3-0.2.7/ChangeLog
/usr/doc/tse3-0.2.7/INSTALL
/usr/doc/tse3-0.2.7/NEWS
/usr/doc/tse3-0.2.7/README
/usr/doc/tse3-0.2.7/THANKS
/usr/doc/tse3-0.2.7/TODO
/usr/local/bin/tse3play
/usr/local/doc/tse3-0.2.7/AUTHORS
/usr/local/doc/tse3-0.2.7/About.html
/usr/local/doc/tse3-0.2.7/Article.html
/usr/local/doc/tse3-0.2.7/Bugs.html
/usr/local/doc/tse3-0.2.7/Build.html
/usr/local/doc/tse3-0.2.7/COPYING
/usr/local/doc/tse3-0.2.7/Commands.html
/usr/local/doc/tse3-0.2.7/Copyright.html
/usr/local/doc/tse3-0.2.7/Error.html
/usr/local/doc/tse3-0.2.7/Examples.html
/usr/local/doc/tse3-0.2.7/Feedback.html
/usr/local/doc/tse3-0.2.7/HOWTO.html
/usr/local/doc/tse3-0.2.7/History
/usr/local/doc/tse3-0.2.7/History.html
/usr/local/doc/tse3-0.2.7/InsFiles.html
/usr/local/doc/tse3-0.2.7/KDOC.html
/usr/local/doc/tse3-0.2.7/Mutex.html
/usr/local/doc/tse3-0.2.7/Notifier.html
/usr/local/doc/tse3-0.2.7/Playable.html
/usr/local/doc/tse3-0.2.7/Porting.html
/usr/local/doc/tse3-0.2.7/Psalm150.html
/usr/local/doc/tse3-0.2.7/Song.html
/usr/local/doc/tse3-0.2.7/Structure.html
/usr/local/doc/tse3-0.2.7/TSE3MDL.html
/usr/local/doc/tse3-0.2.7/Trax.html
/usr/local/doc/tse3-0.2.7/Trouble.html
/usr/local/doc/tse3-0.2.7/Version.html
/usr/local/doc/tse3-0.2.7/Whitepaper.html
/usr/local/doc/tse3-0.2.7/index.html
/usr/local/doc/tse3-0.2.7/pete.jpeg
/usr/local/doc/tse3-0.2.7/songs/Ambient.tse3
/usr/local/doc/tse3-0.2.7/songs/Bry.tse3
/usr/local/doc/tse3-0.2.7/songs/Demo.tse2
/usr/local/doc/tse3-0.2.7/songs/Demo.tse3
/usr/local/doc/tse3-0.2.7/songs/Enigma.tse3
/usr/local/doc/tse3-0.2.7/songs/FunkyJob.tse3
/usr/local/doc/tse3-0.2.7/songs/Humphry.tse3
/usr/local/doc/tse3-0.2.7/songs/Trip.tse3
/usr/local/doc/tse3-0.2.7/trax.gif
/usr/local/doc/tse3-0.2.7/tse3.gif
/usr/local/doc/tse3-0.2.7/tse3logo.png
/usr/local/include/tse3/DisplayParams.h
/usr/local/include/tse3/Error.h
/usr/local/include/tse3/EventTrack.h
/usr/local/include/tse3/FileBlockParser.h
/usr/local/include/tse3/Filter.h
/usr/local/include/tse3/FlagTrack.h
/usr/local/include/tse3/KeySigTrack.h
/usr/local/include/tse3/Metronome.h
<<<some lines have been removed to reduce boredom factor>>>
/usr/local/lib/libtse3.la
/usr/local/lib/libtse3.so
/usr/local/lib/libtse3.so.0
/usr/local/lib/libtse3.so.0.0.0
/usr/local/man/man1/tse3play.1.gz
/usr/local/man/man3/tse3.3.gz
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby Void Main » Mon Aug 18, 2003 5:51 pm

I suspect you must have installed the tse3 from that other site. You should have removed it before doing the "apt-get install noteedit" from my site as I also have compiled the tse3 RPM for RH9 and apt-get would have installed it as a prereq to noteedit. Remove noteedit and tse3 and then use apt to install noteedit again:

Code: Select all
# rpm -e noteedit tse3
# apt-get install noteedit


Here's what "rpm -q tse3" should report:

Code: Select all
tse3-0.2.7-vm1


Here's what "rpm -ql tse3" should report:

Code: Select all
/usr/bin/tse3play
/usr/include/tse3
/usr/include/tse3/DisplayParams.h
/usr/include/tse3/Error.h
/usr/include/tse3/EventTrack.h
/usr/include/tse3/FileBlockParser.h
/usr/include/tse3/Filter.h
/usr/include/tse3/FlagTrack.h
/usr/include/tse3/KeySigTrack.h
/usr/include/tse3/Metronome.h
/usr/include/tse3/Midi.h
/usr/include/tse3/MidiCommandFilter.h
/usr/include/tse3/MidiData.h
/usr/include/tse3/MidiEcho.h
/usr/include/tse3/MidiFile.h
/usr/include/tse3/MidiFilter.h
/usr/include/tse3/MidiMapper.h
/usr/include/tse3/MidiParams.h
/usr/include/tse3/MidiScheduler.h
/usr/include/tse3/Mixer.h
/usr/include/tse3/Mutex.h
/usr/include/tse3/Notifier.h
/usr/include/tse3/Panic.h
/usr/include/tse3/Part.h
/usr/include/tse3/Phrase.h
/usr/include/tse3/PhraseEdit.h
/usr/include/tse3/PhraseList.h
/usr/include/tse3/Playable.h
/usr/include/tse3/Progress.h
/usr/include/tse3/RepeatTrack.h
/usr/include/tse3/Serializable.h
/usr/include/tse3/Song.h
/usr/include/tse3/TSE2MDL.h
/usr/include/tse3/TSE3.h
/usr/include/tse3/TSE3MDL.h
/usr/include/tse3/TempoTrack.h
/usr/include/tse3/TimeSigTrack.h
/usr/include/tse3/Track.h
/usr/include/tse3/Transport.h
/usr/include/tse3/app
/usr/include/tse3/app/Application.h
/usr/include/tse3/app/Choices.h
/usr/include/tse3/app/Modified.h
/usr/include/tse3/app/PartDisplay.h
/usr/include/tse3/app/PartSelection.h
/usr/include/tse3/app/Record.h
/usr/include/tse3/app/TrackSelection.h
/usr/include/tse3/cmd
/usr/include/tse3/cmd/Command.h
/usr/include/tse3/cmd/CommandGroup.h
/usr/include/tse3/cmd/CommandHistory.h
/usr/include/tse3/cmd/FlagTrack.h
/usr/include/tse3/cmd/Part.h
/usr/include/tse3/cmd/Phrase.h
/usr/include/tse3/cmd/Song.h
/usr/include/tse3/cmd/Track.h
/usr/include/tse3/file
/usr/include/tse3/file/Write.h
/usr/include/tse3/file/XML.h
/usr/include/tse3/ins
/usr/include/tse3/ins/Destination.h
/usr/include/tse3/ins/Instrument.h
/usr/include/tse3/listen
/usr/include/tse3/listen/DisplayParams.h
/usr/include/tse3/listen/EventTrack.h
/usr/include/tse3/listen/FlagTrack.h
/usr/include/tse3/listen/KeySigTrack.h
/usr/include/tse3/listen/Metronome.h
/usr/include/tse3/listen/MidiCommandFilter.h
/usr/include/tse3/listen/MidiData.h
/usr/include/tse3/listen/MidiEcho.h
/usr/include/tse3/listen/MidiFile.h
/usr/include/tse3/listen/MidiFilter.h
/usr/include/tse3/listen/MidiMapper.h
/usr/include/tse3/listen/MidiParams.h
/usr/include/tse3/listen/MidiScheduler.h
/usr/include/tse3/listen/Mixer.h
/usr/include/tse3/listen/Panic.h
/usr/include/tse3/listen/Part.h
/usr/include/tse3/listen/Phrase.h
/usr/include/tse3/listen/PhraseEdit.h
/usr/include/tse3/listen/PhraseList.h
/usr/include/tse3/listen/Playable.h
/usr/include/tse3/listen/RepeatTrack.h
/usr/include/tse3/listen/Song.h
/usr/include/tse3/listen/TempoTrack.h
/usr/include/tse3/listen/TimeSigTrack.h
/usr/include/tse3/listen/Track.h
/usr/include/tse3/listen/Transport.h
/usr/include/tse3/listen/app
/usr/include/tse3/listen/app/Modified.h
/usr/include/tse3/listen/app/PartSelection.h
/usr/include/tse3/listen/app/Record.h
/usr/include/tse3/listen/app/TrackSelection.h
/usr/include/tse3/listen/cmd
/usr/include/tse3/listen/cmd/CommandHistory.h
/usr/include/tse3/listen/ins
/usr/include/tse3/listen/ins/Destination.h
/usr/include/tse3/plt
/usr/include/tse3/plt/Alsa.h
/usr/include/tse3/plt/Arts.h
/usr/include/tse3/plt/Factory.h
/usr/include/tse3/plt/OSS.h
/usr/include/tse3/plt/RiscOS.cpp
/usr/include/tse3/plt/RiscOS.h
/usr/include/tse3/plt/Win32.cpp
/usr/include/tse3/plt/Win32.h
/usr/include/tse3/util
/usr/include/tse3/util/Demidify.h
/usr/include/tse3/util/MidiScheduler.h
/usr/include/tse3/util/MulDiv.h
/usr/include/tse3/util/NoteNumber.h
/usr/include/tse3/util/Phrase.h
/usr/include/tse3/util/PowerQuantise.h
/usr/include/tse3/util/Snap.h
/usr/include/tse3/util/Song.h
/usr/include/tse3/util/Track.h
/usr/lib/libtse3.la
/usr/lib/libtse3.so
/usr/lib/libtse3.so.0
/usr/lib/libtse3.so.0.0.0
/usr/share/doc/tse3-0.2.7
/usr/share/doc/tse3-0.2.7/AUTHORS
/usr/share/doc/tse3-0.2.7/About.html
/usr/share/doc/tse3-0.2.7/Article.html
/usr/share/doc/tse3-0.2.7/Bugs.html
/usr/share/doc/tse3-0.2.7/Build.html
/usr/share/doc/tse3-0.2.7/COPYING
/usr/share/doc/tse3-0.2.7/Commands.html
/usr/share/doc/tse3-0.2.7/Copyright.html
/usr/share/doc/tse3-0.2.7/Error.html
/usr/share/doc/tse3-0.2.7/Examples.html
/usr/share/doc/tse3-0.2.7/Feedback.html
/usr/share/doc/tse3-0.2.7/HOWTO.html
/usr/share/doc/tse3-0.2.7/History
/usr/share/doc/tse3-0.2.7/History.html
/usr/share/doc/tse3-0.2.7/INSTALL
/usr/share/doc/tse3-0.2.7/InsFiles.html
/usr/share/doc/tse3-0.2.7/KDOC.html
/usr/share/doc/tse3-0.2.7/Mutex.html
/usr/share/doc/tse3-0.2.7/NEWS
/usr/share/doc/tse3-0.2.7/Notifier.html
/usr/share/doc/tse3-0.2.7/Playable.html
/usr/share/doc/tse3-0.2.7/Porting.html
/usr/share/doc/tse3-0.2.7/Psalm150.html
/usr/share/doc/tse3-0.2.7/README
/usr/share/doc/tse3-0.2.7/Song.html
/usr/share/doc/tse3-0.2.7/Structure.html
/usr/share/doc/tse3-0.2.7/THANKS
/usr/share/doc/tse3-0.2.7/TODO
/usr/share/doc/tse3-0.2.7/TSE3MDL.html
/usr/share/doc/tse3-0.2.7/Trax.html
/usr/share/doc/tse3-0.2.7/Trouble.html
/usr/share/doc/tse3-0.2.7/Version.html
/usr/share/doc/tse3-0.2.7/Whitepaper.html
/usr/share/doc/tse3-0.2.7/index.html
/usr/share/doc/tse3-0.2.7/pete.jpeg
/usr/share/doc/tse3-0.2.7/trax.gif
/usr/share/doc/tse3-0.2.7/tse3.gif
/usr/share/man/man1/tse3play.1
/usr/share/man/man3/tse3.3
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Calum » Tue Aug 19, 2003 10:59 am

yes i installed tse3 from its source package using checkinstall to add it to the rpm database. i'll uninstall both then try your apt method again, thanks once more.
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby Calum » Wed Aug 20, 2003 12:03 pm

hooray!
you win void main!

thanks a lot for totally sorting it all out for me singlehandedly!
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby Void Main » Wed Aug 20, 2003 2:42 pm

I'll take my Guiness stout please. :)
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Calum » Thu Aug 21, 2003 4:49 am

i reckon i owe you a few now, and if we ever find ourselves in the same region of the planet, you never know! :-D
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 0 guests

cron