Arduino + Fedora 18 x86_64

OK, sorry to post in here, this is the very last resource I wanted to use, because I dont want to be annoying.
Ive been googlin and following suggestion and sollution from Arduino Wiki but I have a problem.

I installed Arduino IDE

yum install arduino*

Installed succesfully. Then I pasted all my libraries (the very sameones I use and work under windows IDE), and I have 2 main problems..

  1. Permission
    and
  2. Compiling

WIch can be summarized by the persmission problem...

Whenever I try to compile a sketch under normal user (not root) i have permission problems, wich i used several solution until i could kinda make it open my libraries under normal user

I used (as root)

chmod 777 /user/share/arduino/*
chmod 777 /user/share/arduino/lirbaries/*
chmod 777 /user/bin/arduino

I followed the Arduino Wiki on installing i on Fedora Distro...

http://playground.arduino.cc/Linux/Fedora

If you run the Arduino IDE as a normal user (you should do that of course), you may get this error message : check_group_uucp(): error testing lock file creation Error details:Permission denied
This is probably because you don't have write permissions on /run/lock directory. Try this to see if this solves your problem : sudo chmod 777 /run/lock
/run/lock is created on boot by /usr/lib/tmpfiles.d/legacy.conf (both on systemd and initscripts). So if you want to keep the permissions you set, simply copy the file /usr/lib/tmpfiles.d/legacy.conf to /etc/tmpfiles.d/ and edit it there (set 0777 permissions).

But still i have permission issues, not opening sketch but compiling.

Everytime I try to compile a personal sketch it returns permission error:

**libraries/.h: Permission Denied.

And if by any chance I dont have a permission issue, i have this error (on sketch that perfectly compile under Windows IDE)

porg_char does not name a type

wich is strange because is the very same library i use and perfectly compiles under windows.

If by any chance anyone knows something on how to fix this, I would apreciate it.

Thanks