Zdravím,
mám problémy s komplilací aplikací ze zdrojáků. Konkrétně se jedná o
program avifile0.7. Je to mimo jiné plugin pro program transcode, který
bych rád používal pro komprimaci videa do DivX atd. Konkrétně mám
problémy (doufám) s SDL knihovnou. Je vyžadována verze >= 1.0.0.
Instalovanou mám verzi 1.2.3-6mdk z rpm, který je na CD s distribucí.
Podobných problémů jsem měl u jiných programů i s knihovnou QT, tam jsem
ale problém vyřešil pomocí symlinků. A proč vlastně komlipuji zdrojáky a
neinstaluju to rovnou z rpm ? Protože s kompilací mám mnohem větší
úspěšnost, než s instalací z rpm. Používám Mandrake Linux 8.2, verze gcc
je 2.96, soubor sdl-config se nachází v /usr/bin/.
Dole je hlášení, které píše ./configure, pod ním obsah
config.log.
Díky moc.
--
Martin Pelikán
pelikan@wo.cz
*************************************
configure píše toto:
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!
a v config.log je toto:
configure:14923: result: no
configure:14964: gcc -o conftest -g -O2 -mcpu=i686 -march=i686 -ffast-math -pipe
-I/usr/include/SDL -D_REENTRANT -Wall -Wno-unused conftest.c -L/usr/lib -lS
DL -lpthread -lm -lasound -L/usr/lib -ldl -lartsc -lpthread -L/usr/lib -lesd -la
udiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lXv -lXinerama
-ldl >&5
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
configure:14967: $? = 1
configure: failed program was:
#line 14937 "configure"
#include "confdefs.h"
#include <stdio.h>
#include "SDL.h"
int main(int argc, char *argv[])
{ return 0; }
#undef main
#define main K_and_R_C_main
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
return 0;
;
return 0;
}
configure:15000: WARNING: Could not find SDL >= 1.0.0!
This archive was generated by hypermail 2.1.2 : 29. 08. 2002, 09:00 CEST