Thread: [Kmatplot-general] build problems
Brought to you by:
kamil
From: Sam H. <sa...@ne...> - 2002-05-22 13:37:36
|
ANY advice on the build problems ofg Kmatplot.... i woudl REALLY liek to = get=20 thsi version workign, sice after all i upgraded the whole of kde and qt j= ust=20 to use the latest kmatplot..... the error again... checking for Qt... configure: error: Qt (>=3D Qt 2.2.2) (libraries) not f= ound.=20 Please check your installation! the config.log shows that it is looking for -lqt... this library doesnt r= eally=20 exist in qt3, unless you build without threads, which sort of defeats the= =20 purpose of upgrading to qt3..... please please sombody help!!!! this program is why i use kde..... Sam |
From: Hugo v. d. M. <s13...@ba...> - 2002-05-22 14:42:41
|
<blowing off steam> If people stop tripping the power here I'd also find it easier to reply to emails... grrr </blowing off steam> > please please sombody help!!!! this program is why i use kde..... Note that KDE isn't necessary for kmatplot 0.4. > ANY advice on the build problems ofg Kmatplot.... i woudl REALLY liek to get > thsi version workign, sice after all i upgraded the whole of kde and qt just > to use the latest kmatplot..... > > the error again... > checking for Qt... configure: error: Qt (>= Qt 2.2.2) (libraries) not found. > Please check your installation! You know more about these things than I do, I believe, thus I doubt I can help you. But I'll try anyway: Try setting the "QTDIR" environment variable to the base of your QT3 installation / development files? > the config.log shows that it is looking for -lqt... this library doesnt really > exist in qt3, unless you build without threads, which sort of defeats the > purpose of upgrading to qt3..... Debian qt3 has a libqt.so ... What distro are you using, does it have proper qt3 packages / support? (Or did you install qt3 from sources.) Hugo van der Merwe |
From: Sam H. <sa...@ne...> - 2002-05-22 15:21:31
|
> <blowing off steam> If people stop tripping the power here I'd also fin= d > it easier to reply to emails... grrr </blowing off steam> ah well, thats stellenbosch for ya ;) > Try setting the "QTDIR" environment variable to the base of your QT3 > installation / development files? thats not it, kmatplot is finding the directory OK, its looking for the w= rong=20 file > Debian qt3 has a libqt.so ... What distro are you using, does it have > proper qt3 packages / support? (Or did you install qt3 from sources.) LFS, but libqt.so is the non-threaded version of QT3 so it shouldnt reall= y be=20 there.... what version of QT is needed? the website says Qt 3.0.1 but the= =20 configure script says Qt 2.2.2... do i need both 2 and 3 versions? cheers, Sam |
From: Hugo v. d. M. <s13...@ba...> - 2002-05-22 19:54:02
|
> > <blowing off steam> If people stop tripping the power here I'd also find > > it easier to reply to emails... grrr </blowing off steam> > ah well, thats stellenbosch for ya ;) <g> > thats not it, kmatplot is finding the directory OK, its looking for the wrong > file > > Debian qt3 has a libqt.so ... What distro are you using, does it have > > proper qt3 packages / support? (Or did you install qt3 from sources.) > LFS, but libqt.so is the non-threaded version of QT3 so it shouldnt really be > there.... what version of QT is needed? the website says Qt 3.0.1 but the > configure script says Qt 2.2.2... do i need both 2 and 3 versions? I build kmatplot in a chroot which only has qt3, version 3.0.3. I have not been building with the threaded lib either. Yes, it does seem kmatplot specifically wants the non-threaded version... I don't know enough of autotools to know how one would try to change this... BTW, in the words of Kamil: "KMatplot 0.4 needs Qt 3.0.1. It won't work with earlier versions probably." The README needs updating too, it claims 2.3 Hugo |
From: Laurent J. <lja...@fy...> - 2002-05-22 22:48:27
|
Hello Hugo, I have solved the problem of the not found /etc/kmatplotrc. This problem comes from two points: one in the kmatplot source, the other= in=20 the compilation process. To obtain a correct link of kmatplot with /etc/kmatplotrc, you have to 1=B0) add a line=20 export QSETTINGSDIR=3D/etc in the beginning of your kmatplot-0.4/debian/rules. If you don't do that, the variable QSETTINGDIR is not set in the building= of=20 the main Makefile by configure, whatever is the --with-qsettings-dir opti= on. 2=B0) uncomment the line 132 of /kmatplot-0.4/kmatplot/ksglobalsettings.c= pp // s.insertSearchPath( QSettings::Unix, "/etc" ); This seems to add the directory /etc to the list of places where kmatplot= =20 search kmatplotrc (but it is not activate by default). I have found that by applying=20 egrep -r /usr/local * on the global kmatplot source. This works for me. I have modified /etc/kmatplotrc to test that and it ha= s=20 been directly reported on the kmatplot Setting->Configure Kmatplot->Paths Now it's time for me to sleep ;-) Bye, Laurent. |
From: Hugo v. d. M. <s13...@ba...> - 2002-05-23 09:15:24
|
> I have solved the problem of the not found /etc/kmatplotrc. Thanks! > export QSETTINGSDIR=/etc This I already have for the call to configure, which is the only time it's needed, it seems. (It works right now.) > If you don't do that, the variable QSETTINGDIR is not set in the building of > the main Makefile by configure, whatever is the --with-qsettings-dir option. QSETTINGSDIR was set etc. It's this that was missing: > 2°) uncomment the line 132 of /kmatplot-0.4/kmatplot/ksglobalsettings.cpp > // s.insertSearchPath( QSettings::Unix, "/etc" ); Thanks. Does --with-qsettings-dir then actually do anything? I have not yet bothered testing what happens if I don't supply it. Hugo |
From: Laurent J. <lja...@fy...> - 2002-05-23 09:23:26
|
On Thursday 23 May 2002 11:14, Hugo van der Merwe wrote: > QSETTINGSDIR was set etc.=20 In my case, QSETTINGSDIR was empty in the main Makefile until I put the=20 export line in the debian/rules. Then, QSETTINGSDIR has been set to /etc = in=20 the main Makefile. > It's this that was missing: > > 2=B0) uncomment the line 132 of /kmatplot-0.4/kmatplot/ksglobalsettin= gs.cpp > > // s.insertSearchPath( QSettings::Unix, "/etc" ); > > Thanks. Does --with-qsettings-dir then actually do anything? I have not > yet bothered testing what happens if I don't supply it. I think it does something in the kmatplot configuration but not in the ma= in=20 Makefile. Why ? Not related: Kamil, do you receive our messages from the kmatplot mailing= =20 list ? Laurent. |