Sascha 'saigkill' Manns escribió:
Project: home:saigkill Package: kqlives
Hello Mates,
does anyone know, what this checks?
{ echo "$as_me:$LINENO: checking for dumb_exit in -ldumb" >&5 echo $ECHO_N "checking for dumb_exit in -ldumb... $ECHO_C" >&6; } if test "${ac_cv_lib_dumb_dumb_exit+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6
I've added my libdumb-devel, but this Check fails.
you are near to the problem, but not there, everytime configure fails the best thing you can do is dump the contents of config.log file that is generated in the build dir.. this case the error is configure:13678: checking for dumb_exit in -ldumb configure:13713: gcc -o conftest -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables conftest.c -ldumb >&5 /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libdumb.so: undefined reference to `floor' /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libdumb.so: undefined reference to `trunc' /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libdumb.so: undefined reference to `log' /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libdumb.so: undefined reference to `exp' /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libdumb.so: undefined reference to `pow' collect2: ld returned 1 exit status you must patch configure.ac where it says AC_CHECK_LIB(dumb, dumb_exit, [ALLEGRO_LIBS="-ldumb $ALLEGRO_LIBS"], [AC_MSG_ERROR([Dumb not found])]) should say AC_CHECK_LIB(dumb, dumb_exit, [ALLEGRO_LIBS="-ldumb -lm $ALLEGRO_LIBS"], [AC_MSG_ERROR([Dumb not found])]) apply the patch during %prep and run autoreconf -fiv at the very begging of the %build section, also, replace ./configure for %configure.. -- "If this is the best God can do, I am not impressed" -George Carlin (1937-2008) Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/