Yes, sorry about that. It's a simple copy-and-paste error in the code that upsets some versions of GCC. To fix this yourself, simply remove the "RKListViewItem::" from "RKListViewItem::width" on line 96 of rkward/misc/rkobjectlistview.h. The next version of rkward will have this fixed, of course.
Regards
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
I've got the qt-devel package installed. SuSE 10.1 on an AMD 64 system.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, well what do the last ~50 lines or so of config.log say?
Some errors I could think of: Do you have qt3-devel installed? qt-devel is Qt 4.1 on SuSE, and that won't work, yet (and the ./configure script is not smart enough to detect what's wrong).
Maybe it's just a problem finding the correct path. You can help ./configure by using the options --with-qt-dir, --with-qt-includes, and --with-qt-libraries. I think you should try --with-qt-dir=/usr/lib/wt3 --with-qt-includes=/usr/lib/qt3/include/ --with-qt-libraries=/usr/lib/qt3/lib64/ but you should probably second check those paths on your system.
Do you get any other KDE-applications to compile?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, ./configure now ends with this, I've got the qt thing fixed.
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!
The corresponding section of the config.log.
configure:29076: checking for KDE
configure: 29129: /opt/kde3/include/ksharedptr.h
taking that
configure: 29159: /opt/kde3/lib/libkio.la
configure: 29159: ${exec_prefix}/lib/libkio.la
configure: 29159: /usr/lib/kde/lib/libkio.la
configure: 29159: /usr/local/kde/lib/libkio.la
configure: 29159: /usr/kde/lib/libkio.la
configure: 29159: /usr/lib/kde/libkio.la
configure: 29159: /usr/lib/kde3/libkio.la
configure: 29159: /usr/lib/libkio.la
configure: 29159: /usr/X11R6/lib/libkio.la
configure: 29159: /usr/local/lib/libkio.la
configure: 29159: /opt/kde3/lib/libkio.la
configure: 29159: /opt/kde/lib/libkio.la
configure: 29159: /usr/X11R6/kde/lib/libkio.la
configure: 29177: /opt/kde3/lib/kde3/plugins/designer/kdewidgets.la
taking that
configure:29190: error:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!
I tried compiling kbibtex and installed it to be sure. It worked.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Probably the configure script is too old to correctly detect your KDE-installation (the lib64-path). I think you should try the additional ./configure option
--with-extra-libs=/opt/kde3/lib64/
or if that doesn't work, maybe
--libdir=/opt/kde3/lib64/
(though I believe the latter will not work). If all else fails, you might want to do
ln -s /opt/kde3/lib64/ /opt/kde3/lib/
and maybe then configure will find that path.
Hope this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It doesn't work for me. I tried --with-extra-libs=/opt/kde3/lib64/ --libdir=/opt/kde3/lib64/ and the ln -s /opt/kde3/lib64/ /opt/kde3/lib/ stuff with no sucess: still the qt-mt not found error is there. Other kde programs compile without a problem (k3b, qtiplot, labplot...) but rkward and celestia give me the same error.
My system is an amd64 with SuSE 10 for 64 bits, and all the qt* rpms are installed.
Any idea? Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, I have the latest version of R, 2.3.6, I downloaded the last version of RKWard. Distrobution is SuSE 10.1.
Thought I had all the dependencies met but it won't compile.
I get this instead:
Making all in plugin
make[3]: Entering directory `/home/asparks/Packages/rkward-0.3.6/rkward/plugin'
source='rkcomponentproperties.cpp' object='rkcomponentproperties.o' libtool=no \ depfile='.deps/rkcomponentproperties.Po' tmpdepfile='.deps/rkcomponentproperties.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o rkcomponentproperties.o `test -f 'rkcomponentproperties.cpp' || echo './'`rkcomponentproperties.cpp
../misc/rkobjectlistview.h:96: error: extra qualification ‘RKListViewItem::’ on member ‘width’
make[3]: *** [rkcomponentproperties.o] Error 1
make[3]: Leaving directory `/home/asparks/Packages/rkward-0.3.6/rkward/plugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/asparks/Packages/rkward-0.3.6/rkward'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/asparks/Packages/rkward-0.3.6'
make: *** [all] Error 2
Thanks.
Yes, sorry about that. It's a simple copy-and-paste error in the code that upsets some versions of GCC. To fix this yourself, simply remove the "RKListViewItem::" from "RKListViewItem::width" on line 96 of rkward/misc/rkobjectlistview.h. The next version of rkward will have this fixed, of course.
Regards
Thomas
Ah, thanks. I came by to correct my mistake about the version of R I had and had an answer.
Kudos!
Running ./configure nets this output.
checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
I've got the qt-devel package installed. SuSE 10.1 on an AMD 64 system.
Ok, well what do the last ~50 lines or so of config.log say?
Some errors I could think of: Do you have qt3-devel installed? qt-devel is Qt 4.1 on SuSE, and that won't work, yet (and the ./configure script is not smart enough to detect what's wrong).
Maybe it's just a problem finding the correct path. You can help ./configure by using the options --with-qt-dir, --with-qt-includes, and --with-qt-libraries. I think you should try --with-qt-dir=/usr/lib/wt3 --with-qt-includes=/usr/lib/qt3/include/ --with-qt-libraries=/usr/lib/qt3/lib64/ but you should probably second check those paths on your system.
Do you get any other KDE-applications to compile?
Sorry about that, right now I'm using my laptop so I can't check, but it is qt3-devel that's installed.
I'll check when I get home. Thanks.
Ok, ./configure now ends with this, I've got the qt thing fixed.
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!
The corresponding section of the config.log.
configure:29076: checking for KDE
configure: 29129: /opt/kde3/include/ksharedptr.h
taking that
configure: 29159: /opt/kde3/lib/libkio.la
configure: 29159: ${exec_prefix}/lib/libkio.la
configure: 29159: /usr/lib/kde/lib/libkio.la
configure: 29159: /usr/local/kde/lib/libkio.la
configure: 29159: /usr/kde/lib/libkio.la
configure: 29159: /usr/lib/kde/libkio.la
configure: 29159: /usr/lib/kde3/libkio.la
configure: 29159: /usr/lib/libkio.la
configure: 29159: /usr/X11R6/lib/libkio.la
configure: 29159: /usr/local/lib/libkio.la
configure: 29159: /opt/kde3/lib/libkio.la
configure: 29159: /opt/kde/lib/libkio.la
configure: 29159: /usr/X11R6/kde/lib/libkio.la
configure: 29177: /opt/kde3/lib/kde3/plugins/designer/kdewidgets.la
taking that
configure:29190: error:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!
I tried compiling kbibtex and installed it to be sure. It worked.
Probably the configure script is too old to correctly detect your KDE-installation (the lib64-path). I think you should try the additional ./configure option
--with-extra-libs=/opt/kde3/lib64/
or if that doesn't work, maybe
--libdir=/opt/kde3/lib64/
(though I believe the latter will not work). If all else fails, you might want to do
ln -s /opt/kde3/lib64/ /opt/kde3/lib/
and maybe then configure will find that path.
Hope this helps.
Hah! --libdir=/opt/kde3/lib64/ worked. Thanks. I tried --with-extra-libs=/opt/kde3/lib64/ already and that didn't work.
But I'm looking at it on my SuSE x64 machine now. :)
Thank you very much!
It doesn't work for me. I tried --with-extra-libs=/opt/kde3/lib64/ --libdir=/opt/kde3/lib64/ and the ln -s /opt/kde3/lib64/ /opt/kde3/lib/ stuff with no sucess: still the qt-mt not found error is there. Other kde programs compile without a problem (k3b, qtiplot, labplot...) but rkward and celestia give me the same error.
My system is an amd64 with SuSE 10 for 64 bits, and all the qt* rpms are installed.
Any idea? Thanks!
Forgot it, my fault. I need to read more carefully... everything is explained before.
Now it works. Gorgeous program!!!