From: Ozkan S. <se...@gm...> - 2010-04-14 08:23:08
|
On Wed, Apr 14, 2010 at 10:37 AM, Martin Rubey <mar...@ma...> wrote: > Ozkan Sezer <se...@gm...> writes: > > many thanks for the patch. The gmp configures fine now. Unfortunately, > I'm still having trouble configuring ecl. > > The config.log is at > > http://sprunge.us/SWHX > > the relevant bit is the very end, I think: > > configure:8035: checking size of long long > configure:8085: error: in `/home/Mari/ecl-10.3.1-x64/build': > configure:8088: error: cannot run test program while cross compiling > See `config.log' for more details. > I am not familiar with ecl, nor with its configury, although the problem seems to be with its configury itself. Checking for a size with knowledge that it cannot while cross-compiling should be an oversight in that software's configuration system. Updating it to use newer autoconf would help, I guess, but other developers here may have more to say on that. > The relevant bit of ecl's configure is (hopefully) below... > > Thanks again, > > Martin > > > { $as_echo "$as_me:$LINENO: checking size of long long" >&5 > $as_echo_n "checking size of long long... " >&6; } > if test "$GCC" = yes; then > ac_cv_c_long_long=yes > else > cat >conftest.$ac_ext <<_ACEOF > /* confdefs.h. */ > _ACEOF > cat confdefs.h >>conftest.$ac_ext > cat >>conftest.$ac_ext <<_ACEOF > /* end confdefs.h. */ > > int > main () > { > long long int i; > ; > return 0; > } > _ACEOF > rm -f conftest.$ac_objext > if { (ac_try="$ac_compile" > case "(($ac_try" in > *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; > *) ac_try_echo=$ac_try;; > esac > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" > $as_echo "$ac_try_echo") >&5 > (eval "$ac_compile") 2>conftest.er1 > ac_status=$? > grep -v '^ *+' conftest.er1 >conftest.err > rm -f conftest.er1 > cat conftest.err >&5 > $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 > (exit $ac_status); } && { > test -z "$ac_c_werror_flag" || > test ! -s conftest.err > } && test -s conftest.$ac_objext; then > ac_cv_c_long_long=yes > else > $as_echo "$as_me: failed program was:" >&5 > sed 's/^/| /' conftest.$ac_ext >&5 > > ac_cv_c_long_long=no > fi > > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext > fi > if test $ac_cv_c_long_long = yes; then > if test "$cross_compiling" = yes; then > { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 > $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} > { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross > compili > ng > See \`config.log' for more details." >&5 > $as_echo "$as_me: error: cannot run test program while cross compiling > See \`config.log' for more details." >&2;} > { (exit 1); exit 1; }; }; } > else > -- Ozkan |