Sdl install on mac

I am running Mac OS X 10.2.8, and just installed SDL. I kept getting
errors when I was installing in my account so I logged in as root and
was able to install. However the libraries can only be accessed if I am
root. If I try to compile a program using SDL in my user account, the
compiler says it can’t
find the SDL header files. Also when I use Project Builder and start a
new project, SDL application is not an option using my user account,
but it is if I am root. I suppose it’s not a big deal but I would like
to know why I can’t install SDL unless I am logged in as root. Also it
would be annoying to have to log in as root whenever I wanted to write
an SDL application. Any help would be greatly appreciated.
Thank you