WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I love the program... but it messed up my system SOLVED

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> CWiid
View previous topic :: View next topic  
Author Message
cakofony



Joined: 04 Mar 2007
Posts: 9

Digg It
PostPosted: 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
View user's profile Send private message AIM Address
Shinbo



Joined: 06 Feb 2007
Posts: 1
Location: France

Digg It
PostPosted: 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
View user's profile Send private message Visit poster's website
abstrakraft



Joined: 27 Dec 2006
Posts: 107

Digg It
PostPosted: 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
View user's profile Send private message
cakofony



Joined: 04 Mar 2007
Posts: 9

Digg It
PostPosted: 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 Very Happy
Back to top
View user's profile Send private message AIM Address
abstrakraft



Joined: 27 Dec 2006
Posts: 107

Digg It
PostPosted: 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> CWiid All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group