FC3 build error

Help
mram
2005-05-28
2013-04-09
  • mram
    mram
    2005-05-28

    Here's the last bunch of lines from config.log

    configure:4692: checking for main in -lSDL_ttf
    configure:4716: gcc -o conftest -g -O2 -I/usr/include/SDL -D_REENTRANT   conftest.c -lSDL_ttf  -lm -lGLU -lGL -lz  -L/usr/X11R6/lib/ -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread >&5
    /usr/bin/ld: cannot find -lSDL_ttf
    collect2: ld returned 1 exit status
    configure:4722: $? = 1

    So I installed SDL_ttf 2.0.7 as "rpm -ivh SDL_ttf-2.0.7-1.i386.rpm" and also did an "rpm -Uvh" which reported it was installed. This was done as 'root'.

    The ./configure was run again and the same error occurs. Here's what ended up in /usr/lib/.

    lrwxrwxrwx  1 root root     23 May 28 11:49 libSDL_ttf-2.0.so.0 -> libSDL_ttf-2.0.so.0.6.1
    -rwxr-xr-x  1 root root  22185 Dec 16 01:48 libSDL_ttf-2.0.so.0.6.1

    I must be missing something. Did the rpm really put all that was required in /usr/lib/?

    The system is an Athlon 2200 with kernel 2.6.11-1.27_FC3 installed.

    Thanks,
    Mark

     
    • Hi,

      this sounds either like the configure script cached the old value of the sdl test. In which case it should work by either deleting configure.cach or by compiling from a freshly unpacked version of trackballs...

      Otherwise, this might be some other problem for which the result of configure.log would be needed to see what can have caused.

      Also, you probably need to install SDL_ttf_devel (or something like that) in order to get all the .h files needed by SDL_ttf. Perhaps this helps you?

      / Mathias