Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As per the directions at http://moto4lin.sourceforge.net/wiki/SVN_Installation, I am trying to compile moto4lin with QT3.3 (it mentions that 3.3.6 works well, but not required; it merely says QT3.3 or newer but older then QT4), but when I try to compile, I get the following error:
Code:
$ cd moto4lin
$ /usr/lib/qt3/bin/qmake
$ make
cd moto_ui && qmake moto_ui.pro -o Makefile
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
cd moto_ui && make -f Makefile
make[1]: Entering directory `/home/arklinux/moto4lin/moto_ui'
/usr/lib/qt4/bin/uic form1_base.ui -o ui/ui_form1_base.h
uic: File generated with too old version of Qt Designer
File 'form1_base.ui' is not valid
make[1]: *** [ui/ui_form1_base.h] Error 1
make[1]: Leaving directory `/home/arklinux/moto4lin/moto_ui'
make: *** [sub-moto_ui] Error 2
Here is the output of my 'qmake -v':
Code:
$ /usr/lib/qt3/bin/qmake -v
Qmake version: 1.07a (Qt 3.3.8b)
Qmake is free software from Trolltech ASA.
I am trying to compile on ArkLinux. Any help much appreciated.
Not sure fully what the problem is, but I do notice in the MAKE command being issued above, that the build process is looking for /usr/lib/qt4/bin/uic despite the fact that the instructions specify qt3.
Have you tried adding the qt3 directory on your machine, to the beginning of your path, as per the instructions?
Never know, it may help..
Something like:
# export PATH="/path/to/qt3/dir/here:$PATH"
should work. Do that before running the make process. Of course, substitute in the real path to your qt-3.3 directory.
Thanks, the 'export PATH' got it most of the way compiled. I'm not sure if anybody can help with this next problem (since it's probably related mainly to moto4lin itself and not to make), but it wouldn't hurt to at least try:
Code:
from moto_ui/form1.cpp:41:
moto_ui/p2kproc.h:115: error: expected class-name before '{' token
moto_ui/p2kproc.h:151: error: field 'mtxInUse' has incomplete type
make: *** [form1.o] Error 1
That is an error generated by make after about 30 seconds of compiling. When I look in the moto_ui/form1.cpp, there is no mtxInUse.
Oops! I did not notice either, that TWO different line numbers were referred to in the errors you posted.
How about posting the areas around the lines in question, say something like 100 - 125 and 140 - 160 from that header file.
The stuff in there may be beyond my own ability to decipher the problem, but if someone is to be able to help, it would be best to see in context, the whole areas in question.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.