Nikodemus Siivola a =C3=A9crit :
> FredVoisin <ordi@...> writes:
>> I have compiled SBCL (0.9.17.2) from cvs on a POWERPC GNU-Linux machin=
>> Then, when I'm trying to compile CLG (Common Lisp bindings to GTK+) fr=
>> CVS (http://sourceforge.net/projects/clg/) I get the following message
>> in sbcl :
>> "debugger invoked on a SIMPLE-ERROR:
>> You need to upgrade SBCL to a version with native C callback support
>> or see the README file about how to add third party callbacks to your
>> current SBCL version."
> I suspect that you SBCL actually has fully functional callback
> support[*]: :ALIEN-CALLBACKS is not in default *FEATURES* on
> PPC/Linux, but SBCL itself actually uses it only to conditionalize the
> test suite, not the build.
> Do this in the directory where you built the SBCL:
> (push :alien-callbacks *features*)
> (save-lisp-and-die "output/new-sbcl.core")
> mv output/sbcl.core output/old-sbcl.core
> mv output/new-sbcl.core output/sbcl.core
> cd tests
> sh run-tests.sh
> ...and let us know if the callback tests pass or fail. (If tests
> pass, the callbacks can just be enabled by default). ...and if the
> test pass, that SBCL should be fine for CLG too.
> [*] I am under the impression that PPC/Linux uses the same calling
> convention as Darwin, but I could be wrong.
> -- Nikodemus Schemer: "Buddha is small, clean, and serio=
> Lispnik: "Buddha is big, has hairy armpits, and laug=
Thank you Nikodemus for your help,
in last cvs I compiled and install again sbcl (0.9.17.18) and then did
as you suggested:
finally, sh run-tests.sh give :
Finished running tests.
Expected failure: float.pure.lisp / (SCALE-FLOAT-OVERFLOW BUG-372)
Expected failure: float.pure.lisp / (ADDITION-OVERFLOW BUG-372)
Unhandled error callback.impure.lisp
Failure: debug.impure.lisp / (UNDEFINED-FUNCTION BUG-346)
Failure: debug.impure.lisp / (UNDEFINED-FUNCTION BUG-353)
Expected failure: debug.impure.lisp / (TRACE ENCAPSULATE NIL)
Expected failure: debug.impure.lisp / (TRACE-RECURSIVE ENCAPSULATE NI=
Expected failure: external-format.impure.lisp / (CHARACTER-DECODE-LAR=
Failure: foreign-stack-alignment.impure.lisp / REGULAR
Failure: foreign-stack-alignment.impure.lisp / CALLBACK
Failure: hash.impure.lisp / (HASH-TABLE WEAKNESS EQL NUMBERS=
Invalid exit status: step.impure.lisp
test failed, expected 104 return code, got 1
how may I go further ?