[SDL] 2 questions about installing SDL

Will Childman c7liu at uwaterloo.ca
Tue Jan 18 19:04:30 PST 2005


Hi ,

1.
I'm trying to install SDL on my home directory (since I don't have write
permission on root in the school machine). I changed "prefix" in Makefile to my
home directory, and "make" was run successfully. But then I got this error in
"make install": 
mkdir -p -- . /usr/local/lib
/usr/bin/install -c -m 644 libSDLmain.a /usr/local/lib/libSDLmain.a
/usr/bin/install: cannot create regular file `/usr/local/lib/libSDLmain.a':
Permission denied

How do I get around with this? 

2. 
As you can tell, I'm very new to linux. How do I compile the sample programs in
"test" subdirectory in SDL's source pack? 

Thanks!!

Will 
 





More information about the SDL mailing list