Install SDL

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]#

:slight_smile:

Thanks

MI

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! :slight_smile:

-Sam Lantinga				(slouken at devolution.com)

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

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!

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

“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 :

      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 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 :

     gcc -o prog prog.c -L/usr/local/lib -lSDL -ldl
     -lpthread
    
     It's OK. Great !!!!
    
  • But when I lauch : prog , I have the following message

     muadib$ prog
    
     prog: error in loading shared libraries
     libesd.so.0: cannot open shared object file: No such file or
     directory
    

I am very closed to resolved my problem .

Thanks you for your help.

:slight_smile:

MI

muadib ican wrote:

I installed the NASM assembler . Now is better :

  • when I launch : ./configure , I have always 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 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 :

     gcc -o prog prog.c -L/usr/local/lib -lSDL -ldl
     -lpthread
    
     It's OK. Great !!!!
    
  • But when I lauch : prog , I have the following message

     muadib$ prog
    
     prog: error in loading shared libraries
     libesd.so.0: cannot open shared object file: No such
     file or directory
    

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

“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 :

      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 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 :

     gcc -o prog prog.c -L/usr/local/lib -lSDL -ldl
     -lpthread
    
     It's OK. Great !!!!
    
  • But when I lauch : prog , I have the following message

     muadib$ prog
    
     prog: error in loading shared libraries
     libesd.so.0: cannot open shared object file: No such
     file or directory
    

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 ?

:slight_smile:

MI

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 :

      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 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 :

     gcc -o prog prog.c -L/usr/local/lib -lSDL -ldl
     -lpthread
    
     It's OK. Great !!!!
    
  • But when I lauch : prog , I have the following message

     muadib$ prog
    
     prog: error in loading shared libraries
     libesd.so.0: cannot open shared object file: No such
     file or directory
    

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 ?

:slight_smile:

MI

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

I am a beginner !

Help

:slight_smile:

MI

muadib ican wrote:

I installed the NASM assembler . Now is better :

  • when I launch : ./configure , I have always 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 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 :

     gcc -o prog prog.c -L/usr/local/lib -lSDL -ldl
     -lpthread
    
     It's OK. Great !!!!
    
  • But when I lauch : prog , I have the following message

     muadib$ prog
    
     prog: error in loading shared libraries
     libesd.so.0: cannot open shared object file: No such file or
     directory
    

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