# Simple compile problem

**URL:** <https://discourse.libsdl.org/t/simple-compile-problem/15155>\
**Category:** SDL Development\
**Created:** [February 23, 2008, 12:14am UTC](https://discourse.libsdl.org/t/simple-compile-problem/15155 "2008-02-23T00:14:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Wafford](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/eric_wafford/32/1686_2.png) [@Eric\_Wafford](https://discourse.libsdl.org/u/Eric_Wafford)\
**Post date:** [February 23, 2008, 12:14am UTC](https://discourse.libsdl.org/t/simple-compile-problem/15155/1 "2008-02-23T00:14:35Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Torsten\_Giebl](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/torsten_giebl/32/2804_2.png) [@Torsten\_Giebl](https://discourse.libsdl.org/u/Torsten_Giebl)\
**Post date:** [February 23, 2008, 12:27am UTC](https://discourse.libsdl.org/t/simple-compile-problem/15155/2 "2008-02-23T00:27:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![matt\_hull](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/aeb1de/32.png) [@matt\_hull](https://discourse.libsdl.org/u/matt_hull)\
**Post date:** [February 23, 2008, 7:47pm UTC](https://discourse.libsdl.org/t/simple-compile-problem/15155/3 "2008-02-23T19:47:46Z")

</div>

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)  
> [http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org](http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)
