Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1599 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  [résolu] help !!! winex arrive pas a trouver SDL

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[résolu] help !!! winex arrive pas a trouver SDL

n°125553
rem5
Posté le 15-07-2002 à 20:03:14  profilanswer
 

au configure de winex pas moyen de lui faire accepter accepter le SDL :
 
[c une mdk 8.2 avec le package libSDL1.2-devel installé...]
 
ligne de commande exécuté :
 
./configure --with-x --enable-sdldrv --enable-opengl --disable-trace --disable-debug
 
résultat :
 
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.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: error: *** SDL version 1.2.0 not found!
 
 
resultat dans le log :
 
configure:6842: checking Checking if the sdldrv should be built
configure:6847: result: yes
configure:6894: checking for sdl-config
configure:6912: found /usr/bin/sdl-config
configure:6925: result: /usr/bin/sdl-config
configure:6933: checking for SDL - version >= 1.2.0
configure:7020: gcc -o conftest -g -O2 -I/usr/include/SDL -D_REENTRANT   -I/usr/X11R6/include  conftest.c -lm  -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 >&5
/usr/bin/ld: cannot find -lesd
collect2: ld returned 1 exit status
configure:7023: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 6957 "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.2.0" );
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
     printf("%s, bad version string\n", "1.2.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;
    }
}
 
 
 
Parce que bon j'ai une solution toute trouvé , je récupére les sources de SDL puis les compile et la j'aurais plus de prb mais comme le rpm est inclu je voit pas pq ca marche pas , et le prb se limite pas a winex mais a tt les prg qui cherchent SDL-devel
 
 
Mais j'aimerais eviter de compiler les sources, parce ca risque quand meme de foutre un peu la merde je pense meme si au final ca marche
 
 
Merci d'avance


Message édité par rem5 le 16-07-2002 à 21:19:42
mood
Publicité
Posté le 15-07-2002 à 20:03:14  profilanswer
 

n°125605
Mjules
Modérateur
Parle dans le vide
Posté le 15-07-2002 à 23:09:16  profilanswer
 

perso, j'ai pas que LibSDL-devel d'installé, j'ai un paquet de LibSDL un peu partout: par ex libSDL_image


---------------
Celui qui pose une question est idiot 5 minutes. Celui qui n'en pose pas le reste toute sa vie. |  Membre du grand complot pharmaceutico-médico-scientifico-judéo-maçonnique.
n°125659
karlkox
Posté le 16-07-2002 à 06:24:06  profilanswer
 

/usr/bin/ld: cannot find -lesd
collect2: ld returned 1 exit status
configure:7023: $? = 1
configure: program exited with status 1


Message édité par karlkox le 16-07-2002 à 06:24:30
n°125663
rem5
Posté le 16-07-2002 à 08:29:36  profilanswer
 

KarLKoX /usr/bin/ld: cannot find -lesd  
collect2: ld returned 1 exit status  
configure:7023: $? = 1  
configure: program exited with status 1  
 
 
il n'a pas l'air de trouver une fct dans /usr/bin/ld
 
mais ld est bien la, j'ai meme essayé d'installer les lib de dev de binutils comme ld appartient a ce package mais sans resultat.
 
je sais pas si c ce que tu voulais dire mais si c ca, je séche tjs.....  :heink:


Message édité par rem5 le 16-07-2002 à 19:37:31
n°125874
rem5
Posté le 16-07-2002 à 19:46:06  profilanswer
 

[:nycius]

n°125880
Jar Jar
Intaigriste
Posté le 16-07-2002 à 20:04:56  profilanswer
 

rem5 a écrit a écrit :

KarLKoX /usr/bin/ld: cannot find -lesd  
collect2: ld returned 1 exit status  
configure:7023: $? = 1  
configure: program exited with status 1  
 
 
il n'a pas l'air de trouver une fct dans /usr/bin/ld
 
mais ld est bien la, j'ai meme essayé d'installer les lib de dev de binutils comme ld appartient a ce package mais sans resultat.


Tu sais lire ? cannot find -lesd
C'est donc /usr/lib/libesd.[a|so] qu'il te manque.


---------------
« No question is too silly to ask, but, of course, some are too silly to answer. » -- Perl book
n°125885
rem5
Posté le 16-07-2002 à 20:40:14  profilanswer
 

Tu sais lire ? cannot find -lesd
C'est donc /usr/lib/libesd.[a|so] qu'il te manque.
 
 
Désolé de pas savoir que lesd = libesd  :fou:  
 
 
mais merci quand même  :jap:

n°125889
Dark_Schne​ider
Close the World, Open the Net
Posté le 16-07-2002 à 20:48:24  profilanswer
 

-l = link
 
ensuite tu précise la librairie ( ici esd = libesd )
 
enlève le config.cache


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
n°125903
rem5
Posté le 16-07-2002 à 21:10:47  profilanswer
 

merci DS pour ces éclaircissement  :)

n°125914
the_fireba​ll
I have fucking failed
Posté le 16-07-2002 à 22:01:04  profilanswer
 

Dark_Schneider a écrit a écrit :

-l = link
 
ensuite tu précise la librairie ( ici esd = libesd )
 
enlève le config.cache




 
c pas plutot -l = lib
 
lesd = libesb
lmachin = libmachin


---------------
Two thousand years of misery, of torture in my name, hypocrisy made paramount, paranoia the law, my name is called religion, sadistic, sacred whore.
mood
Publicité
Posté le 16-07-2002 à 22:01:04  profilanswer
 

n°126018
Dark_Schne​ider
Close the World, Open the Net
Posté le 17-07-2002 à 09:13:24  profilanswer
 

link lib ;) :p


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
n°126214
the_fireba​ll
I have fucking failed
Posté le 17-07-2002 à 19:05:08  profilanswer
 

:hello:


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  [résolu] help !!! winex arrive pas a trouver SDL

 

Sujets relatifs
[Linux - FreeBSD] - Je suis une merde - HELPprobleme linux, help svp
[Help] Cherche soft de bench 3d et surtt 2dHELP - install du jdk sur Suse 7.3
(gentoo) changement de kernel > boot impossible (résolu)j'arrive plus a demarrer sous kde
[HELP] Probleme apres a la fin make winex "cvs"[novice] je n'arrive pas a demmarer Samba! mais on progress....
Help !!! Pb X 
Plus de sujets relatifs à : [résolu] help !!! winex arrive pas a trouver SDL


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR