Menu

#457 missing quotes in shell code for test invocation

build problems
closed-fixed
clisp (524)
5
2008-03-30
2008-03-29
No

the following 3 files in the current CVS tree:

clisp/src/aclocal.m4,
clisp/src/m4/intparam.m4,
clisp/src/configure

each contain 9 places with the following line:

if test $ac_cv_type_long_long = yes; then

when trying to cross-compile clisp on linux using
mingw cross-compiler (--host=i586-mingw32msvc),
i see errors like:

configure: checking for integer types and behaviour...
creating
configure: line 51896: test: =: unary operator expected
configure: line 52133: test: =: unary operator expected
configure: line 52210: test: =: unary operator expected
configure: line 52243: test: =: unary operator expected
configure: line 52263: test: =: unary operator expected
expr: *: Numerical result out of range
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error

the "unary operator expected" errors are fixed by changing the above lines to

if test "$ac_cv_type_long_long" = yes; then

(i don't know if it was supposed to be non-empty,
but it appears to be empty).

other errors are separate problems.

Discussion

  • Sam Steingold

    Sam Steingold - 2008-03-30

    Logged In: YES
    user_id=5735
    Originator: NO

    thank you for your bug report.
    the bug has been fixed in the CVS tree.
    you can either wait for the next release (recommended)
    or check out the current CVS tree (see http://clisp.cons.org\)
    and build CLISP from the sources (be advised that between
    releases the CVS tree is very unstable and may not even build
    on your platform).

     
  • Sam Steingold

    Sam Steingold - 2008-03-30
    • assigned_to: haible --> sds
    • status: open --> closed-fixed
     

Log in to post a comment.