Page 1 of 1

Suse 11 installation problem

Posted: 16 May 2009 11:33
by skipper
Hi all,

I'm running on suse 11 linux and I downloaded the and unpacked the files to opt/zygrib and as root I typed make and got the following error msg:

laptop-1:/opt/zyGrib # make
rm -f ./zyGrib
cd src/bzip2; /usr/lib/qt4/bin/qmake; make
/bin/sh: /usr/lib/qt4/bin/qmake: No such file or directory
make[1]: Entering directory `/opt/zyGrib/src/bzip2'
make[1]: *** No rule to make target `/usr/lib/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Stop.
make[1]: Leaving directory `/opt/zyGrib/src/bzip2'
make: *** [all] Error 2
laptop-1:/opt/zyGrib #

I got the same error msg having installed as much of qt4 as I could find via yast.

Any help to correct my errors appreciated!

Regards,

David

Re: Suse 11 installation problem

Posted: 16 May 2009 18:34
by DomH
skipper wrote:Hi all,

I'm running on suse 11 linux and I downloaded the and unpacked the files to opt/zygrib and as root I typed make and got the following error msg:

laptop-1:/opt/zyGrib # make
rm -f ./zyGrib
cd src/bzip2; /usr/lib/qt4/bin/qmake; make
/bin/sh: /usr/lib/qt4/bin/qmake: No such file or directory
make[1]: Entering directory `/opt/zyGrib/src/bzip2'
make[1]: *** No rule to make target `/usr/lib/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Stop.
make[1]: Leaving directory `/opt/zyGrib/src/bzip2'
make: *** [all] Error 2
laptop-1:/opt/zyGrib #

I got the same error msg having installed as much of qt4 as I could find via yast.

Any help to correct my errors appreciated!

Regards,

David
Hi,
I do not know suse, but
you have to verify if qmake is in /usr/lib/qt4/bin/ and not elsewhere
also verify that you use qmake of qt4 and not the qmake of qt3
(I had both problems when starting to use zygrib, and I hat to create symbolic links to have the right one)

Re: Suse 11 installation problem

Posted: 16 May 2009 19:09
by skipper
Well, thanks for that :)

I did a search and find that qmake's in usr/bin - and that I have qt3 and qt4 installed - also whilst waiting for a reply i started to download the whole thing from qt4 web site.

Question: as root I type qmake in /opt/zygrib?
And that's it?

Regards,

David

Re: Suse 11 installation problem

Posted: 16 May 2009 20:11
by DomH
skipper wrote:Well, thanks for that :)

I did a search and find that qmake's in usr/bin - and that I have qt3 and qt4 installed - also whilst waiting for a reply i started to download the whole thing from qt4 web site.

Question: as root I type qmake in /opt/zygrib?
And that's it?

Regards,

David
No, you have to locate where is the qmake for qt4 (for me : /usr/lib/qt4/bin)
In the Makefile in src repository (for you /opt/zygrib/src) you modify the first line with the correct location.
You sometimes find a qmake-qt4 in /usr/bin in this case you could replace in Makefile qmake by qmake-qt4 and the firt line the repository by /usr/bin.

Hope to be clear enough