[STUMP] Any body here successfully run stumpwm using ECL ?

63 views
Skip to first unread message

z_axis

unread,
Oct 11, 2012, 7:35:29 AM10/11/12
to stumpw...@nongnu.org
I have built stumpwm using SBCL,CCL,CLISP and ECL successfully. The
executable created by ECL is smallest but it doesnot work.

Now the stumpwm executales created by SBCL,CCL and CLISP work great!

I donot know why the ECL created image doesnot work ?


Best Regards!


_______________________________________________
Stumpwm-devel mailing list
Stumpw...@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Wojciech Meyer

unread,
Oct 11, 2012, 8:30:52 AM10/11/12
to z_axis, stumpw...@nongnu.org
On Thu, Oct 11, 2012 at 12:35 PM, z_axis <z_a...@163.com> wrote:
> I have built stumpwm using SBCL,CCL,CLISP and ECL successfully. The
> executable created by ECL is smallest but it doesnot work.
>
> Now the stumpwm executales created by SBCL,CCL and CLISP work great!
>
> I donot know why the ECL created image doesnot work ?

FWIW, I tried ECL on ARM it didn't work for either, it compiles fine
but the resulting image doesn't work.

W

z_axis

unread,
Oct 11, 2012, 8:07:11 PM10/11/12
to Wojciech Meyer, stumpw...@nongnu.org
Yes, And it is difficult to find the reason why ECL cannot run stumpwm ?
From make-image.lisp, it seems that stumpwm does supports ECL.

在 Thu, 11 Oct 2012 20:30:52 +0800,Wojciech Meyer
<wojciec...@googlemail.com> 写道:

> On Thu, Oct 11, 2012 at 12:35 PM, z_axis <z_a...@163.com> wrote:
>> I have built stumpwm using SBCL,CCL,CLISP and ECL successfully. The
>> executable created by ECL is smallest but it doesnot work.
>>
>> Now the stumpwm executales created by SBCL,CCL and CLISP work great!
>>
>> I donot know why the ECL created image doesnot work ?
>
> FWIW, I tried ECL on ARM it didn't work for either, it compiles fine
> but the resulting image doesn't work.
>
> W


--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/

Dirk Sondermann

unread,
Oct 13, 2012, 9:33:38 PM10/13/12
to stumpw...@nongnu.org
On 10/11/12 13:35, z_axis wrote:
> I have built stumpwm using SBCL,CCL,CLISP and ECL successfully.
> The executable created by ECL is smallest but it doesnot work.

With the attached patch, I was able to build a working image
using ECL 12.7.1.

The patch contains two changes:
* Adding ASDF as a dependency in stumpwm.asd avoids the error
"Package ((ASDF . #<ASDF package>)) referenced in compiled
file NIL but has not been created" when running the image.
* The redefinition of ECL's compile-file-pathname function is a
workaround to avoid the error "Filesystem error with pathname
#P"SYS:libLIBCLX.A.NEWEST"." while building the image (by
preventing library file names from being translated twice).

ECL has to be built...
* with CLX enabled (using portable CLX results in "In function
OPEN-UNIX-SOCKET-STREAM, the value of the first argument is
"/tmp/.X11-unix/X0" which is not of the expected type STRING.")
* without thread support (enabling threads results in "Attempted
to recursively lock #<lock (nonrecursive) "CLX Buffer Lock">
which is already owned by #<process SI:TOP-LEVEL>.")

--
Dirk
build-with-ecl.patch

z_axis

unread,
Oct 13, 2012, 9:58:13 PM10/13/12
to stumpw...@nongnu.org
Thanks for your working.

在 Sun, 14 Oct 2012 09:33:38 +0800,Dirk Sondermann
<ds-st...@dyximaq.de> 写道:

> compile-file-pathname


--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
Reply all
Reply to author
Forward
0 new messages