[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compilation problem.


As root I can compile a program using:
gcc -I /usr/include/X11 -L/usr/X11R6/lib demo.c -lX11

and get an executable a.out.

As a user when I type the same thing I get:

ld:cannot open -lX11: No such file of directory

Do I have to give this user special privledges or something???
I don't want to start playing with permissions etc. unless I 
have a bit more knowledge.!

How do I make it so users can compile?  Is there a way to do this so
that only some users can compile?  (It seems like a permissions problem 
to me.

Thanks ahead of time. 

PS Please reply with a copy directly to me.  



Reply to: