Compile error with manslide [Solved]

Anything that pertains to Portage

Moderator: Moderators

Compile error with manslide [Solved]

Postby Lucidor » Sat Aug 18, 2007 8:08

My revdep-rebuild tells me to rebuild manslide, but when I emerge I get the following error:

>>> Compiling source in /var/tmp/portage/media-video/manslide-1.5.9/work ...
I fil inkluderad från mainfrm.h:8,
från main.cpp:2:
tetrahedron.h:4:21: fel: QGLWidget: Filen eller katalogen finns inte
I fil inkluderad från mainfrm.h:8,
från mainfrm.cpp:26:
tetrahedron.h:4:21: fel: QGLWidget: Filen eller katalogen finns inte

The messages are partly in Swedish, but basically they just say that QGLWidget file or directory is missing. AFAIK there is no package with that name, and my googling did not help me out. Another thread here on sabayon forums dealt with problems with manslide that were solved by redigesting the ebuild. I tried that, but this particular problem persists.

Advice, anyone? And yes, If I can get this to work, I will just leave the system static and not emerge anything again, ever...
:D
Last edited by Lucidor on Mon Aug 20, 2007 6:44, edited 1 time in total.
Lucidor
Young Hen
 
Posts: 25
Joined: Sun Jul 29, 2007 18:25
Location: Solna, Sweden

Postby DontPanic » Sat Aug 18, 2007 12:31

I haven't run across this before, but I'm suspicious that there is something wrong with the opengl support in your qt libs.

Which of the qt libs do you have installed?
Code: Select all
# eix x11-libs/qt
   ----- or -----
# equery list x11-libs/qt

Do you have the "opengl" USE flag set in your /etc/make.conf file?

If 'eix x11-libs/qt' worked, can you tell if your qt packages were built with the 'opengl' USE flag?
DontPanic
Old Dear Hen
 
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: Compile error with manslide

Postby Lucidor » Sun Aug 19, 2007 20:54

The eix command listed the following:

Siemens ivan # eix x11-libs/qt
[I] x11-libs/qt
Available versions:
(3) 3.3.4-r8 3.3.8-r2 3.3.8-r3
(4) 4.2.3-r1 4.3.0 4.3.0-r1 4.3.0-r2 (~)4.3.1
{accessibility cups dbus debug doc examples firebird gif glib immqt immqt-bc input_devices_wacom ipv6 jpeg mng mysql nas nis odbc opengl pch png postgres qt3support sqlite sqlite3 ssl tiff xinerama zlib}
Installed versions: 3.3.8-r3(3)(10.38.10 2007-08-04)(cups -debug -doc -examples -firebird -gif -immqt -immqt-bc ipv6 -mysql -nas -nis -odbc -opengl -postgres -sqlite xinerama)
4.3.1(4)(23.00.19 2007-08-09)(accessibility cups dbus -debug -doc -examples -firebird gif glib input_devices_wacom jpeg mng -mysql -nas -nis -odbc -opengl -pch png -postgres qt3support -sqlite -sqlite3 ssl tiff xinerama zlib)
Homepage: http://www.trolltech.com/
Description: The Qt toolkit is a comprehensive C++ application development framework.

* x11-libs/qt-embedded
Available versions: (3) (~)3.3.8
{cups debug doc firebird gif ipv6 mysql nis odbc opengl postgres sqlite}
Homepage: http://www.trolltech.com/products/embedded/
Description: Embedded Linux port of Qt

Found 2 matches.

The colors are missing, but the "-opengl" flags are gray. Not sure why I have two versions installed? Anyway, I do lack the opengl USE flag in make.conf, so I will add it and recompile the library. Thanks for pointing it out!
Lucidor
Young Hen
 
Posts: 25
Joined: Sun Jul 29, 2007 18:25
Location: Solna, Sweden

Re: Compile error with manslide

Postby DontPanic » Mon Aug 20, 2007 0:38

I have two qt packages also.

Right now, due to dependencies, I've found it hard to get around having both qt3 and qt4 installed.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU E6750@ 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM
DontPanic
Old Dear Hen
 
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: Compile error with manslide

Postby Lucidor » Mon Aug 20, 2007 6:44

After recompiling the qt library with the opengl USE flag, all my dependencies were sorted and it was no longer necessary to recompile manslide. Thanks again for the help!

It's a bit strange that so many "required" USE flags are missing as default in make.conf. Wouldn't a better strategy be to have more than needed and then have each user remove them in order to optimize the system? This is not the first time I had to play detective; when I updated to the latest Skype, I had to add a number of flags to get the graphic icons in Skype to work.
Lucidor
Young Hen
 
Posts: 25
Joined: Sun Jul 29, 2007 18:25
Location: Solna, Sweden

Re: Compile error with manslide [Solved]

Postby wolfden » Mon Aug 20, 2007 6:56

It's been brought up and hopefully fixed in next release
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests

cron