make sure you aren't missing any files neccesary i the sl...look for #include noise.h (or whatever other filee it may be looking for) and either that location is set in the environment or included in the shader options (-I /usr/path/here , capital i not lowecase L) when compiling, or in the same directory if that's easiest for you. try the help file on shader (shader -h should do it).
Advanced Renderman is great, and the Renderman Companion is a slightly outdated, but still very useful book. There are plenty of docs that come with, just that a lot of them are a little "hidden"...like in back alleyway links rather than a freeway with signs every where.