| View previous topic :: View next topic |
| Author |
Message |
cakofony
Joined: 04 Mar 2007 Posts: 9
Digg It |
Posted: Wed Mar 07, 2007 7:01 pm Post subject: I love the program... but it messed up my system SOLVED |
|
|
I use 64-bit gentoo on my box, and lately I havent been able to emerge/compile anything. After reviewing the build logs, I found that my /usr/local/include directory was replaced by a cwiid header.
i dont really know how to fix this problem, but I have a thread going in the gentoo forums with this same username
http://forums.gentoo.org/viewtopic-p-3946533.html#3946533
I do really love this program though, and I have had tons of fun with it, though it would be great if this bug was fixed...
Last edited by cakofony on Fri Mar 09, 2007 2:50 am; edited 1 time in total |
|
| Back to top |
|
 |
Shinbo
Joined: 06 Feb 2007 Posts: 1 Location: France
Digg It |
Posted: Thu Mar 08, 2007 10:59 am Post subject: |
|
|
Just do:
rm /usr/local/include
mkdir /usr/local/include
chown root:root /usr/local/include
then reinstall cwiid |
|
| Back to top |
|
 |
abstrakraft
Joined: 27 Dec 2006 Posts: 107
Digg It |
Posted: Thu Mar 08, 2007 8:18 pm Post subject: |
|
|
My apologies - the bug has been fixed, and checked into the svn repository.
No need to worry about your system - the error occurs when /usr/local/include doesn't exist, so you didn't lose any files. _________________ "I seldom let practicality get in the way of my fascination with shiny things and blinky lights."
- some guy
http://abstrakraft.org/cwiid |
|
| Back to top |
|
 |
cakofony
Joined: 04 Mar 2007 Posts: 9
Digg It |
Posted: Thu Mar 08, 2007 8:43 pm Post subject: |
|
|
cool, thanks. apparently it was just messing with portage so I couldn't install anything, but I created the directory and it works fine now  |
|
| Back to top |
|
 |
abstrakraft
Joined: 27 Dec 2006 Posts: 107
Digg It |
Posted: Fri Mar 09, 2007 2:25 pm Post subject: |
|
|
It wasn't actually portage specific - any program that tried to treat /usr/local/include as a directory (such as gcc) would have errored out.
The culprit was lines of the form "cp wiimote.h /usr/local/include", which works fine, assuming /usr/local/include exists, but if it doesn't, copies wiimote.h to a file named include in the /usr/local directory.
I feel bad about this. I use gentoo myself, and I know from being on the other side of the fence that screwing up the OS is a quick way to get people pissed off at you.
Anyway, thanks for pointing it out, thankfully the problem is easily fixed (some might assume that /usr/local/include is over-written - this is not the case, as the bug only occurs when /usr/local/include didn't exist in the first place), and the bug has been patched. _________________ "I seldom let practicality get in the way of my fascination with shiny things and blinky lights."
- some guy
http://abstrakraft.org/cwiid |
|
| Back to top |
|
 |
|