Simple compile problem

Hi… sorry for the simple question, but I need to compile SDL for another
program to work, and I seem to
be getting an error when running the ./configure && Make && make install

/bin/sh ./build-scripts/mkinstalldirs /usr/local/bin
/usr/bin/install -c -m 755 sdl-config /usr/local/bin/sdl-config
install: /usr/local/bin/sdl-config: Permission denied
make: *** [install-bin] Error 71

this happens after it generates all dependance’s… any help would be great!

Hello !

Hi… sorry for the simple question, but I need to compile SDL for another
program to work, and I seem to
be getting an error when running the ./configure && Make && make install

/bin/sh ./build-scripts/mkinstalldirs /usr/local/bin
/usr/bin/install -c -m 755 sdl-config /usr/local/bin/sdl-config
install: /usr/local/bin/sdl-config: Permission denied
make: *** [install-bin] Error 71

To install SDL with make install in the end you need root rights.

So the commands should look like this :

./configure
make
su
make install

su asks you for the root password.

CU

what are you installing on? your computer ? what distro ?

mattOn Feb 22, 2008, at 6:27 PM, Torsten Giebl wrote:

Hello !

Hi… sorry for the simple question, but I need to compile SDL for
another
program to work, and I seem to
be getting an error when running the ./configure && Make && make
install

/bin/sh ./build-scripts/mkinstalldirs /usr/local/bin
/usr/bin/install -c -m 755 sdl-config /usr/local/bin/sdl-config
install: /usr/local/bin/sdl-config: Permission denied
make: *** [install-bin] Error 71

To install SDL with make install in the end you need root rights.

So the commands should look like this :

./configure
make
su
make install

su asks you for the root password.

CU


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org