FET Forum

FET Development => Report a Bug => Topic started by: Tarzan1984 on August 04, 2010, 10:17:02 PM

Title: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Tarzan1984 on August 04, 2010, 10:17:02 PM
Hi
Mandriva 2010.1 with KDE 4.4, libqt3-devel and libqt4-devel are installed.
When I'm trying to make I'm getting something like that:http://wklej.org/id/372916/
Any advice?
Thank you for everything :)
Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Liviu Lalescu on August 05, 2010, 06:21:24 AM
Type "qmake -version" and tell me what you get. You should get that it belongs to Qt 4. If it belongs to Qt 3, then instead of qmake write qmake-qt4 as the first command when compiling FET.
Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Tarzan1984 on August 05, 2010, 09:21:40 AM
Hi.
[tarzan@localhost ~]$ qmake --version
QMake version 2.01a
Using Qt version 4.6.2 in /usr/lib

What now ?
Thank for any advice :)
Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Liviu Lalescu on August 05, 2010, 11:27:33 AM
QuoteHi.
[tarzan@localhost ~]$ qmake --version
QMake version 2.01a
Using Qt version 4.6.2 in /usr/lib

What now ?
Thank for any advice :)

I don't know.

Maybe the g++ compiler is not OK. Type "g++ --version" and tell me what you get.

I can tell you that there is a person doing Mandriva packaging of FET and he got no errors: http://mrb.mandrivausers.ro/index.php?search_for=fet&search_submit=Search
Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Tarzan1984 on August 05, 2010, 11:44:33 AM
Hi.
[tarzan@localhost ~]$ g++ --version
g++ (GCC) 4.4.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I was looking for something at http://mrb.mandrivausers.ro/index.php?search_for=fet&search_submit=Search
but there are only packages for 64bit linux, and I have 32 bit Mandriva :/
Anything else?
Thanks for any advice :)
Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Liviu Lalescu on August 05, 2010, 11:55:05 AM
I attach the Mandriva .spec file, please look into it for prerequisites (section BuildRequisites). Maybe if you install those packages you will succeed.

Also, you don't need libqt3-devel for FET. Maybe you can try to uninstall it (but careful, this may render your Mandriva unfunctional if it is used in some places).

Please let me know.
Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Tarzan1984 on August 05, 2010, 03:08:28 PM
Hi.
I don't understand ...:
QuoteI attach the Mandriva .spec file, please look into it for prerequisites (section BuildRequisites). Maybe if you install those packages you will succeed.
Please translate it to no advanced user.
And:
QuoteAlso, you don't need libqt3-devel for FET. Maybe you can try to uninstall it (but careful, this may render your Mandriva unfunctional if it is used in some places).
I need libqt3-devel on my mandriva for few programs :)

Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Liviu Lalescu on August 05, 2010, 03:19:05 PM
QuoteHi.
I don't understand ...:
QuoteI attach the Mandriva .spec file, please look into it for prerequisites (section BuildRequisites). Maybe if you install those packages you will succeed.
Please translate it to no advanced user.


Unpack the tar.bz2 and open the .spec file with a text editor. Read the section BuildRequisites and try to install those packages on your system. Then recompile FET.

Quote

And:
QuoteAlso, you don't need libqt3-devel for FET. Maybe you can try to uninstall it (but careful, this may render your Mandriva unfunctional if it is used in some places).
I need libqt3-devel on my mandriva for few programs :)


OK, sorry.
Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Tarzan1984 on August 05, 2010, 03:40:58 PM
Hi.
I can't find .spec file in fet folder :/
[tarzan@localhost fet]$ ls
AUTHORS    CONTRIBUTORS  doc/       fet.pro   README      src/    tmp/  translations/
ChangeLog  COPYING       examples/  Makefile  REFERENCES  THANKS  TODO  TRANSLATORS
Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Liviu Lalescu on August 05, 2010, 03:42:44 PM
QuoteHi.
I can't find .spec file in fet folder :/
[tarzan@localhost fet]$ ls
AUTHORS    CONTRIBUTORS  doc/       fet.pro   README      src/    tmp/  translations/
ChangeLog  COPYING       examples/  Makefile  REFERENCES  THANKS  TODO  TRANSLATORS

Get the file in this thread, reply #5 (I was referring to that tar.bz2 :-)
Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Tarzan1984 on August 05, 2010, 07:57:55 PM
I've founded there:
autoconf
automake
gcc
gcc-c++
make
fontconfig-devel
  freetype2-devel
glibc-devel
libexpat-devel
libpng-devel
  libqt4-devel
  glib2-devel

Every of this packages I've installed in my system. :(
What is wrong ??
Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: symbianflo on August 05, 2010, 07:58:16 PM
hi
sorry to bother you
but few things you should know about mdv and qt4
( btw what do you need the deprecated qt3-devel for? are you a packager/developer?  )
First of all from your paste/bin is missing how you launch this %make  with qt3 or qt4?
So if you have qt3 also you should know  how to use them ...
In your case you should export qt4_qmake  or compile with the right qmake , try this :

cd %{name}-%{version} && /usr/lib/qt4/bin/qmake && make
(su /passsword  or sudo if you have it config)
make install

Anyhow here:
http://mrb.mandrivausers.ro/index.php?dirName=MRB/2010.1/x86_64/MRB-rpms 
you have the rpms for mdv 2010.1/x86_64

And here you have the srpm:
http://mrb.mandrivausers.ro/index.php?dirName=MRB/2010.1/x86_64/MRB-srpms

PS: you have to change " %{name}-%{version} " with the name and version that you whant to build .
c ya

@Liviu
daca pot cu mare placere
ciau  :D
Title: Re: FET on Mandriva 2010.1 (KDE 4.4)
Post by: Tarzan1984 on August 05, 2010, 09:41:58 PM
Hi.
Sorry for any problems, but simplest solution was that I've downloaded one more, and the problem dissapeard :D
Thank you for everything anway :)