# Install SDL

**URL:** <https://discourse.libsdl.org/t/install-sdl/1244>\
**Category:** SDL Development\
**Created:** [November 15, 1999, 10:56pm UTC](https://discourse.libsdl.org/t/install-sdl/1244 "1999-11-15T22:56:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![muadib\_ican](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@muadib\_ican](https://discourse.libsdl.org/u/muadib_ican)\
**Post date:** [November 15, 1999, 10:56pm UTC](https://discourse.libsdl.org/t/install-sdl/1244/1 "1999-11-15T22:56:15Z")

</div>

I would like to install SDL : do you know a detailled documentation to  
install SDL ?

When I launch : ./configure , I have the following messages :

```
 checking for esd-config... (cached) no
 checking for ESD - version >= 0.2.8... no
 *** The esd-config script installed by ESD could not be found
 *** If ESD was installed in PREFIX, make sure PREFIX/bin is in

 *** your path, or set the ESD_CONFIG environment variable to
 the
 *** full path to esd-config.

```

When I lauch : make

```
  It seems OK

```

When I launch : make install , i have the following messages :

```
 sh ../../strip_fPIC.sh ASM -f elf -fPIC -DPIC mmx_main.asm -o
 .libs/mmx_main.lo
 ASM -f elf -DPIC mmx_main.asm -o .libs/mmx_main.lo
 exec: ASM: not found
 make[2]: *** [mmx_main.lo] Error 1
 make[2]: Leaving directory
 `/usr/objet/SDL/SDL-0.11.2/src/hermes'
 make[1]: *** [install-recursive] Error 1
 make[1]: Leaving directory `/usr/objet/SDL/SDL-0.11.2/src'
 make: *** [install-recursive] Error 1
 [root at localhost SDL-0.11.2]#

```

🙂

Thanks

MI

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [November 16, 1999, 4:10am UTC](https://discourse.libsdl.org/t/install-sdl/1244/2 "1999-11-16T04:10:12Z")

</div>

> I would like to install SDL : do you know a detailled documentation to  
> install SDL ?

I’m going to be releasing SDL 0.11.3 later this week when the Win32  
compiling issues have been fixed. This release will also fix the NASM  
problem people have been having.

No worries! 🙂

```
-Sam Lantinga (slouken at devolution.com)

```

Lead Programmer, Loki Entertainment Software–  
“Any sufficiently advanced bug is indistinguishable from a feature”  
– Rich Kulawiec

---

<div class="post-metadata">

**Author:** ![Bill\_Kendrick](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/b/df788c/32.png) [@Bill\_Kendrick](https://discourse.libsdl.org/u/Bill_Kendrick)\
**Post date:** [November 16, 1999, 9:41am UTC](https://discourse.libsdl.org/t/install-sdl/1244/3 "1999-11-16T09:41:19Z")

</div>

> I’m going to be releasing SDL 0.11.3

Will this be consider “stable?” or “development?”

Also, do any of the digits in the version number represent API changes?  
Will stuff for 0.10.x not work with 0.11.x without code changes?

Thanks!

-bill!

---

<div class="post-metadata">

**Author:** ![Rafael\_R\_Sevilla](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/r/ccd318/32.png) [@Rafael\_R\_Sevilla](https://discourse.libsdl.org/u/Rafael_R_Sevilla)\
**Post date:** [November 16, 1999, 12:08pm UTC](https://discourse.libsdl.org/t/install-sdl/1244/4 "1999-11-16T12:08:05Z")

</div>

muadib ican wrote:

> I would like to install SDL : do you know a detailled documentation to  
> install SDL ?
> 
> When I launch : ./configure , I have the following messages :
> 
> ```
> checking for esd-config... (cached) no
> checking for ESD - version >= 0.2.8... no
> *** The esd-config script installed by ESD could not be
> found
> *** If ESD was installed in PREFIX, make sure PREFIX/bin is
> in
> *** your path, or set the ESD_CONFIG environment variable to
> the
> *** full path to esd-config.
> 
> ```

Don’t sweat this. The only thing that occurs here is that support for  
the Enlightened Sound Daemon (ESD) doesn’t get compiled into your SDL.  
This isn’t such a big thing; only makes the app work better under  
environments like GNOME which do use esd.

> When I lauch : make
> 
> ```
> It seems OK
> 
> ```
> 
> When I launch : make install , i have the following messages :
> 
> ```
> sh ../../strip_fPIC.sh ASM -f elf -fPIC -DPIC mmx_main.asm
> -o .libs/mmx_main.lo
> ASM -f elf -DPIC mmx_main.asm -o .libs/mmx_main.lo
> exec: ASM: not found
> make[2]: *** [mmx_main.lo] Error 1
> make[2]: Leaving directory
> `/usr/objet/SDL/SDL-0.11.2/src/hermes'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/usr/objet/SDL/SDL-0.11.2/src'
> make: *** [install-recursive] Error 1
> [root at localhost SDL-0.11.2]#
> 
> ```

## Have you got the NASM assembler installed? It’s an assembler that’s capable of generating MMX instructions. Don’t have it or need it since my machine’s a Pentium Classic (P54C) which doesn’t have support for MMX. You should be able to live without it (expect a performance hit). Last I remember the configure script should detect whether you have this or not and generate its makefiles accordingly. Apparently something’s wrong… Workaround is to just install it yourself (see the readme files and install instructions for where to get it).–

| Rafael R. Sevilla @Rafael_R_Sevilla |  
| Instrumentation, Robotics, and Control Laboratory |

| College of Engineering, University of the Philippines, Diliman |
| --- |

---

<div class="post-metadata">

**Author:** ![muadib\_ican](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@muadib\_ican](https://discourse.libsdl.org/u/muadib_ican)\
**Post date:** [November 19, 1999, 10:37pm UTC](https://discourse.libsdl.org/t/install-sdl/1244/5 "1999-11-19T22:37:32Z")

</div>

“Rafael R. Sevilla” wrote:

> muadib ican wrote:
> 
> > I would like to install SDL : do you know a detailled documentation to  
> > install SDL ?
> > 
> > When I launch : ./configure , I have the following messages :
> > 
> > ```
> > checking for esd-config... (cached) no
> > checking for ESD - version >= 0.2.8... no
> > *** The esd-config script installed by ESD could not be
> > found
> > *** If ESD was installed in PREFIX, make sure PREFIX/bin is
> > in
> > *** your path, or set the ESD_CONFIG environment variable to
> > the
> > *** full path to esd-config.
> > 
> > ```
> 
> Don’t sweat this. The only thing that occurs here is that support for  
> the Enlightened Sound Daemon (ESD) doesn’t get compiled into your SDL.  
> This isn’t such a big thing; only makes the app work better under  
> environments like GNOME which do use esd.
> 
> > When I lauch : make
> > 
> > ```
> > It seems OK
> > 
> > ```
> > 
> > When I launch : make install , i have the following messages :
> > 
> > ```
> > sh ../../strip_fPIC.sh ASM -f elf -fPIC -DPIC mmx_main.asm
> > -o .libs/mmx_main.lo
> > ASM -f elf -DPIC mmx_main.asm -o .libs/mmx_main.lo
> > exec: ASM: not found
> > make[2]: *** [mmx_main.lo] Error 1
> > make[2]: Leaving directory
> > `/usr/objet/SDL/SDL-0.11.2/src/hermes'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/usr/objet/SDL/SDL-0.11.2/src'
> > make: *** [install-recursive] Error 1
> > [root at localhost SDL-0.11.2]#
> > 
> > ```
> 
> Have you got the NASM assembler installed? It’s an assembler that’s  
> capable of generating MMX instructions. Don’t have it or need it since  
> my machine’s a Pentium Classic (P54C) which doesn’t have support for  
> MMX. You should be able to live without it (expect a performance hit).  
> Last I remember the configure script should detect whether you have this  
> or not and generate its makefiles accordingly. Apparently something’s  
> wrong… Workaround is to just install it yourself (see the readme  
> files and install instructions for where to get it).
> 
> ## –
> 
> | Rafael R. Sevilla dido at pacific.net.ph |  
> | Instrumentation, Robotics, and Control Laboratory |
> 
> | College of Engineering, University of the Philippines, Diliman |
> | --- |

I installed the NASM assembler . Now is better :

- when I launch : ./configure , I have always the following messages :

- When I launch : make , it’s OK

- When I launch : make install , I haven’t errors messages now.

- When I compile a prog file with the following syntaxe :

- But when I lauch : prog , I have the following message

I am very closed to resolved my problem .

Thanks you for your help.

🙂

MI

---

<div class="post-metadata">

**Author:** ![Rafael\_R\_Sevilla](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/r/ccd318/32.png) [@Rafael\_R\_Sevilla](https://discourse.libsdl.org/u/Rafael_R_Sevilla)\
**Post date:** [November 20, 1999, 8:32am UTC](https://discourse.libsdl.org/t/install-sdl/1244/6 "1999-11-20T08:32:47Z")

</div>

muadib ican wrote:

> I installed the NASM assembler . Now is better :
> 
> - when I launch : ./configure , I have always the following  
> messages :
> 
> - When I launch : make , it’s OK
> 
> - When I launch : make install , I haven’t errors messages now.
> 
> - When I compile a prog file with the following syntaxe :
> 
> - But when I lauch : prog , I have the following message
> 
> I am very closed to resolved my problem .
> 
> Thanks you for your help.

## As Sam has said, there’s a bug in the configure script. Try getting one of the bleeding-edge CVS versions. Either that or install ESD; it’s a useful library in and of itself.–

| Rafael R. Sevilla @Rafael_R_Sevilla |  
| Instrumentation, Robotics, and Control Laboratory |

| College of Engineering, University of the Philippines, Diliman |
| --- |

---

<div class="post-metadata">

**Author:** ![muadib\_ican](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@muadib\_ican](https://discourse.libsdl.org/u/muadib_ican)\
**Post date:** [November 20, 1999, 8:41pm UTC](https://discourse.libsdl.org/t/install-sdl/1244/7 "1999-11-20T20:41:15Z")

</div>

“Rafael R. Sevilla” wrote:

> muadib ican wrote:
> 
> > I installed the NASM assembler . Now is better :
> > 
> > - when I launch : ./configure , I have always the following  
> > messages :
> > 
> > - When I launch : make , it’s OK
> > 
> > - When I launch : make install , I haven’t errors messages now.
> > 
> > - When I compile a prog file with the following syntaxe :
> > 
> > - But when I lauch : prog , I have the following message
> > 
> > I am very closed to resolved my problem .
> > 
> > Thanks you for your help.
> 
> As Sam has said, there’s a bug in the configure script. Try getting one  
> of the bleeding-edge CVS versions. Either that or install ESD; it’s a  
> useful library in and of itself.
> 
> ## –
> 
> | Rafael R. Sevilla dido at pacific.net.ph |  
> | Instrumentation, Robotics, and Control Laboratory |
> 
> | College of Engineering, University of the Philippines, Diliman |
> | --- |

What doesn’t it mean “Try getting one of the bleeding-edge CVS versions” ?

Where can I find ESD for install it ?

🙂

MI

---

<div class="post-metadata">

**Author:** ![muadib\_ican](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@muadib\_ican](https://discourse.libsdl.org/u/muadib_ican)\
**Post date:** [November 22, 1999, 9:26pm UTC](https://discourse.libsdl.org/t/install-sdl/1244/8 "1999-11-22T21:26:19Z")

</div>

muadib ican wrote:

> “Rafael R. Sevilla” wrote:
> 
> > muadib ican wrote:
> > 
> > > I installed the NASM assembler . Now is better :
> > > 
> > > - when I launch : ./configure , I have always the following  
> > > messages :
> > > 
> > > - When I launch : make , it’s OK
> > > 
> > > - When I launch : make install , I haven’t errors messages now.
> > > 
> > > - When I compile a prog file with the following syntaxe :
> > > 
> > > - But when I lauch : prog , I have the following message
> > > 
> > > I am very closed to resolved my problem .
> > > 
> > > Thanks you for your help.
> > 
> > As Sam has said, there’s a bug in the configure script. Try getting one  
> > of the bleeding-edge CVS versions. Either that or install ESD; it’s a  
> > useful library in and of itself.
> > 
> > ## –
> > 
> > | Rafael R. Sevilla dido at pacific.net.ph |  
> > | Instrumentation, Robotics, and Control Laboratory |
> > 
> > | College of Engineering, University of the Philippines, Diliman |
> > | --- |
> 
> What doesn’t it mean “Try getting one of the bleeding-edge CVS versions” ?
> 
> Where can I find ESD for install it ?
> 
> 🙂
> 
> MI

I installed the last version of SDL this evening : I have always the same  
problems ( see below ).

I am a beginner !

Help

🙂

MI

---

<div class="post-metadata">

**Author:** ![David\_Raulo](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/d/ebca7d/32.png) [@David\_Raulo](https://discourse.libsdl.org/u/David_Raulo)\
**Post date:** [November 13, 2000, 11:46am UTC](https://discourse.libsdl.org/t/install-sdl/1244/9 "2000-11-13T11:46:09Z")

</div>

muadib ican wrote:

> I installed the NASM assembler . Now is better :
> 
> - when I launch : ./configure , I have always the following messages :
> 
> - When I launch : make , it’s OK
> 
> - When I launch : make install , I haven’t errors messages now.
> 
> - When I compile a prog file with the following syntaxe :
> 
> - But when I lauch : prog , I have the following message

Hi!

It seems that linux dynamic library loader can’t find your own build libraries. So you should add /usr/local/lib in your LD\_LIBRARY\_PATH environment variable (or even in /etc/ld.so.conf).

If you use bash add this in your .bashrc:  
export LD\_LIBRARY\_PATH=$LD\_LIBRARY\_PATH:/usr/local/lib

else if you use a c-shell (or tcsh…) add this in your .cshrc:  
setenv LD\_LIBRARY\_PATH ${LD\_LIBRARY\_PATH}:/usr/local/lib

bye!

david
