I am getting the no sdl message at the end of runing confgure for 
avifile CVS-20524-08:42-2.96
 have attached my config.log.

I have sdl 1.2.3-6  so that should be okay?

I have just upgraded to M 8.2 the same version of avifile complied fine 
on earlier distros.
Can I fix this. avifile is great have been using it since the early 
days. Would be dissapointed to
have to do with out it.

Mark






Here's the tail end of my configure dialog note it says no SDL
however I have all the sdl and sdl development libs and all seem to
be in the same place.

The relevent part of my config.log below as well.


.................
Note: If you have installed/removed some package in your system
      do not forget to remove config.cache file before using configure
Configuration for avifile CVS-020524-08:42-2.96
Compiler C:       gcc -g  -march=i686 -ffast-math -pipe
Compiler C++:     c++ -g  -march=i686 -ffast-math -pipe
Install path:     /usr/local
Qt:               yes
Sdl:              no
Xft:              yes
Oss audio:        yes
Sun audio:        no
Mga_vid:          no
Plugins:
  ac3passthrough  yes  (with SBLive only)
  divx4           no   (DivX ;-), OpenDivX, DivX4)
  xvid            no   (DivX4, XviD)
  ffmpeg          yes  (DivX ;-), OpenDivX, MJPEG, AC3)
  os motion jpeg  yes  (MJPEG)
  win32           yes  (DivX, WMF1/2, DV, MJPEG, Ati, Asus,...)
  MAD             yes  (MPEG Layer I/II/III)
  vorbis          no
  lame runtime    no

snip ./configure

checking for sdl-config... sdl-config
setting SDL_CONFIG to /usr/bin/sdl-config
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.0.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/bin/sdl-config
configure: warning: Could not find SDL >= 1.0.0!


snip config.log

configure:9564: checking for sdl-config
configure:9641: checking for sdl-config
configure:9676: checking for SDL - version >= 1.0.0
configure:9760: gcc -o conftest -g -O2 -march=i686 -ffast-math -pipe  
-I/usr/include/SDL -D_REENTRANT  -Wall -Wno-unused  conftest.c  -L/usr/lib -lSDL 
-lpthread -lm -lasound -L/usr/lib -ldl -lartsc -lpthread -L/usr/lib -lesd -laudiofile 
-lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv -lXinerama -ldl 1>&5
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
configure: failed program was:
#line 9699 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "SDL.h"

char*
my_strdup (char *str)
{
  char *new_str;

  if (str)
    {
      new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
      strcpy (new_str, str);
    }
  else
    new_str = NULL;

  return new_str;
}

int main (int argc, char *argv[])
{
  int major, minor, micro;
  char *tmp_version;

  /* This hangs on some systems (?)
  system ("touch conf.sdltest");
  */
  { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }

  /* HP/UX 9 (%@#!) writes to sscanf strings */
  tmp_version = my_strdup("1.0.0");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "1.0.0");
     exit(1);
   }

   if ((1 > major) ||
      ((1 == major) && (2 > minor)) ||
      ((1 == major) && (2 == minor) && (3 >= micro)))
    {
      return 0;
    }
  else
    {
      printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum 
version\n", 1, 2, 3);
      printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it 
is\n", major, minor, micro);
      printf("*** best to upgrade to the required version.\n");
      printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
      printf("*** to point to the correct copy of sdl-config, and remove the file\n");
      printf("*** config.cache before re-running configure\n");
      return 1;
    }
}
 

Reply via email to