Jump to content

problem with compile powermated [solved]


Recommended Posts

recently i've been trying to compile several programs from source and i've been getting errors when i run the config scripts. They usually say something like cannot find X, where X is actually installed (including its libraries) and it properly in use by other programs.

 

So far these are the programs and the libraries/components they can't find:

powermated: can't find alsa...right now i'm listening to xmms with alsa so its there.

http://mandrakeusers.org/index.php?showtopic=23143

checking for snd_mixer_open in -lasound... no
configure: error: You must have ALSA Installed

 

xmms-plugin for powermate

checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.0 not installed - please ins
tall first ***

 

TORCS:

checking for X... no
checking for GL/glut.h... no
configure: error: Can't find GL/glut.h. Please check config.log and if you can't solve the problem send the file to eric.espie@free.fr with the subject "torcs compilation problem"

 

These are not the only programs i have this problem with. Does anyone have any ideas or see any pattern forming?

 

[moved from Software by spinynorman]

Edited by imwithstupid
Link to comment
Share on other sites

have you tried reinstalling the packages that do give you unnessessary error messages with a force command already? and are you sure that you have e.g. the glib package installed? it looks as if it really ain't there imho.

Link to comment
Share on other sites

I was completely wrong. Boy do i feel foolish right now. I wasn't thinking right and forgot to look for the devel packages. :wall: Oh well.

 

The new problem is that powermated won't compile (everything else works just fine). It spits out this error:

PMDaemon.cpp: In member function `bool PMDaemon::performAction(PMDActionType,

int, int*, const char*)':

PMDaemon.cpp:744: internal compiler error: in optimize_mode_switching, at

lcm.c:1225

Please submit a full bug report,

with preprocessed source if appropriate.

See <URL:https://qa.mandrakesoft.com/> for instructions.

make[2]: *** [PMDaemon.o] Error 1

make[2]: Leaving directory `/home/flo/Desktop/powermated-0.3.2/powermated'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/flo/Desktop/powermated-0.3.2'

make: *** [all] Error 2

 

I have contacted the developer and he said to send him the CFLAGS i was using (-g -O2) and the version of gcc i have installed (3.5) Both of us scoured google to find that there is a possible bug in the mandrake 10.1 compile of gcc.

 

How should I go about fixing this?

 

 

(also mods, should this be a new post?)

Edited by imwithstupid
Link to comment
Share on other sites

Problem pretty much solved!

 

I removed all gcc versions on my computer. Then i reinstalled and tried each one. Things only seemed to compile with 3.4 for some reason. However, ver 0.3.2 of powermated wouldn't compile the xmms portion for some reason. So I compiled 0.3.1 which worked quite well with the exception of not being able to use the beep library stuff to have the led pulse to the music (luckily i don't want to do that anyways)

 

I would also like to say that the developer of this software was extremely helpful, friendly, and knowledgable. He is exactly what we love about the open source community.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...