I'm on a Debian box with most all the cl-* packages apt-gotten. I want
to get *any* sort of GUI toolkit working under Lisp, so I can do an
interface mockup assignment in Lisp. To begin with at least, I don't
care *which* Lisp or toolkit I use.
I can get CLX to work under SBCL, but my naïve attempts at higher level
toolkits haven't worked. For example, in CMUCL I try:
* (demo)
;; lines of text
;; (clc:clc-require :clue)
* (clc:clc-require :clue)
; Loading #p"/usr/share/common-lisp/source/clue/clue.asd".
File-error in function LISP::INTERNAL-LOAD:
"modules:clue-library" does not exist.
[Condition of type KERNEL:SIMPLE-FILE-ERROR]
AFAICT there is no file called "clue-library" installed by any package.
What should I do? Is there a simple step-by-step guide to getting a
Lisp GUI up and running on Debian?
--
Trent Buck, Student Errant
Has a dog Buddha-nature?
This is the most serious question of all.
If you say yes or no,
You lose your own Buddha-nature.
Trent Buck <·········@tznvy.pbz> writes:
> I'm on a Debian box with most all the cl-* packages apt-gotten. I want
> to get *any* sort of GUI toolkit working under Lisp, so I can do an
[...]
> What should I do? Is there a simple step-by-step guide to getting a
> Lisp GUI up and running on Debian?
If you want to have a look at McCLIM, you can follow the instructions
in the files INSTALL.ASDF, INSTALL.SBCL AND INSTALL.CMU of the source
tree.
Paolo
--
Why Lisp? http://lisp.tech.coop/RtL%20Highlight%20Film
Recommended Common Lisp libraries/tools (see also http://clrfi.alu.org):
- ASDF/ASDF-INSTALL: system building/installation
- CL-PPCRE: regular expressions
- UFFI: Foreign Function Interface
> What should I do? Is there a simple step-by-step guide to getting a
> Lisp GUI up and running on Debian?
You might try:
http://common-lisp.net/project/cells-gtk/
"cells-gtk is a complete, portable framework for Common Lisp GUI
development via GTK+2 with Cells InsideTM, licensed under the Lisp LGPL"
I do not know about step-by-step, but you should get quick help from the
associated mailing list.
kenny
--
Cells? Cello? Cells-Gtk?: http://www.common-lisp.net/project/cells/
Why Lisp? http://lisp.tech.coop/RtL%20Highlight%20Film
"Doctor, I wrestled with reality for forty years, and I am happy to
state that I finally won out over it." -- Elwood P. Dowd
Trent Buck <·········@tznvy.pbz> writes:
> I'm on a Debian box with most all the cl-* packages apt-gotten. I want
> to get *any* sort of GUI toolkit working under Lisp, so I can do an
> interface mockup assignment in Lisp. To begin with at least, I don't
> care *which* Lisp or toolkit I use.
cells-gtk seems like a good option (for LW/ACL/CMUCL). It's
undocumented (well, gtk is, but cells isn't yet), but there are
copious examples in the distribution. There are at least two other gtk
bindings on common-lisp.net, and there's also LTK. Paolo already
mentioned McCLIM.
>
> I can get CLX to work under SBCL, but my na�ve attempts at higher level
> toolkits haven't worked. For example, in CMUCL I try:
>
> * (demo)
> ;; lines of text
> ;; (clc:clc-require :clue)
>
> * (clc:clc-require :clue)
> ; Loading #p"/usr/share/common-lisp/source/clue/clue.asd".
>
> File-error in function LISP::INTERNAL-LOAD:
> "modules:clue-library" does not exist.
> [Condition of type KERNEL:SIMPLE-FILE-ERROR]
>
> AFAICT there is no file called "clue-library" installed by any package.
> What should I do? Is there a simple step-by-step guide to getting a
> Lisp GUI up and running on Debian?
Is clue still maintained? Anyway, if you like old stuff, don't mind
ugly looks and an object system that is not CLOS, you may want to try
garnet; it's rather nice.
Andras
> Is clue still maintained? Anyway, if you like old stuff, don't mind
> ugly looks and an object system that is not CLOS, you may want to
> try garnet; it's rather nice.
As far as old stuff goes . . .
I think CLUE is still maintained. I think you'll find it in the CLOCC
stuff. (Look on cliki.net to find all this stuff that I mention.)
Garnet also has a few interested parties still following it.
CLUE is an "intrinsics" toolkit. It's supposed to be like Xt but it's
done in CLOS which makes it pretty nice. There are a few toolkits
built on CLUE that I know of: CLIO, Pictures and XIT. CLIO is a
widget set framework. It has one instantiation called CLIO-OPEN which
is an OpenLook-like widget set. Pictures is a kind of animation
framework. XIT is like Garnet, only it uses CLOS and doesn't have
constraints (as best I can figure).
I think garnet is the most fully-developed of the bunch. OTOH I think
CLUE and perhaps CLIO are the best designed.
--
Fred Gilham ······@csl.sri.com
REPRODUCTIVE RIGHTS: the right not to reproduce, no matter what else
you do. PLANNED PARENTHOOD: an organization that helps you plan to
avoid becoming a parent.
Fred Gilham <······@snapdragon.csl.sri.com> writes:
[...]
> I think garnet is the most fully-developed of the bunch. OTOH I think
> CLUE and perhaps CLIO are the best designed.
Garnet looked most interesting to me, too. If a bit old-fashioned
visually, and non-CLOS. I couldn't get it to build, though, and it
looked sufficiently big and complex that I didn't think I'd be able to
anytime soon.
Cells-gtk builds very easily using sbcl, though, and is interesting in
its own way.
> Garnet looked most interesting to me, too. If a bit old-fashioned
> visually, and non-CLOS. I couldn't get it to build, though, and it
> looked sufficiently big and complex that I didn't think I'd be able
> to anytime soon.
Well, I build Garnet every time I install a new version of CMU Lisp
(which, since I build monthly snapshots, I do frequently). So if
there's a problem it's probably not too hard to fix. Feel free to
report it here.
I no longer consider myself an official Garnet maintainer (at one
point I was probably the only one who could even remotely claim such a
status) but I do at least try to keep up with it.
--
Fred Gilham ······@csl.sri.com
REPRODUCTIVE RIGHTS: the right not to reproduce, no matter what else
you do. PLANNED PARENTHOOD: an organization that helps you plan to
avoid becoming a parent.
On Wed, 09 Mar 2005 21:41:38 +0000, Bruce Stephens wrote:
> Fred Gilham <······@snapdragon.csl.sri.com> writes:
>
> [...]
>
>> I think garnet is the most fully-developed of the bunch. OTOH I think
>> CLUE and perhaps CLIO are the best designed.
>
> Garnet looked most interesting to me, too. If a bit old-fashioned
> visually, and non-CLOS. I couldn't get it to build, though, and it
> looked sufficiently big and complex that I didn't think I'd be able to
> anytime soon.
>
> Cells-gtk builds very easily using sbcl, though, and is interesting in
> its own way.
Oh, does it? I'm currently trying to get it to compile on my GNU/Linux/PPC
but it fails rather early in the build process with the following compiler
message:
; registering #<SYSTEM :GTK-FFI {4863BE11}> as GTK-FFI
; compiling file
"/usr/local/src/LISP/cells-gtk/root/gtk-ffi/gtk-ffi.lisp" (written 27 FEB
2005 05:17:49 AM):
debugger invoked on a SB-KERNEL:SIMPLE-PACKAGE-ERROR in thread 8427:
The name "LISP" does not designate any package.
Cheers Ralf Mattes
I got the same problem, but I just changed :lisp to :common-lisp and
went from there. I still had some issues (a warning about the lack of
libcellsgtk.so and some places where it apparently tried to redefine
constants, but nothing major) but I was able to get gtk-ffi.lisp
compiled with SBCL 0.8.16 on x86.
-Peter
Trent Buck <·········@tznvy.pbz> wrote in message news:<·······················@harpo.marx>...
> I'm on a Debian box with most all the cl-* packages apt-gotten. I want
> to get *any* sort of GUI toolkit working under Lisp, so I can do an
> interface mockup assignment in Lisp. To begin with at least, I don't
> care *which* Lisp or toolkit I use.
>
> I can get CLX to work under SBCL, but my na=EFve attempts at higher level
> toolkits haven't worked. For example, in CMUCL I try:
>
> * (demo)
> ;; lines of text
> ;; (clc:clc-require :clue)
> =09
> * (clc:clc-require :clue)
> ; Loading #p"/usr/share/common-lisp/source/clue/clue.asd".
>
> File-error in function LISP::INTERNAL-LOAD:
> "modules:clue-library" does not exist.
> [Condition of type KERNEL:SIMPLE-FILE-ERROR]
>
> AFAICT there is no file called "clue-library" installed by any package.=20
> What should I do? Is there a simple step-by-step guide to getting a
> Lisp GUI up and running on Debian?
>
www.gtk-server.org
I just tried it today with my CLisp on Windows (Linux port is also
available). It's easy to install and it comes with demos and examples.
Very nice!
Andrei
Trent Buck <·········@tznvy.pbz> writes:
[...]
> I can get CLX to work under SBCL, but my na�ve attempts at higher level
> toolkits haven't worked. For example, in CMUCL I try:
>
> * (demo)
> ;; lines of text
> ;; (clc:clc-require :clue)
>
> * (clc:clc-require :clue)
> ; Loading #p"/usr/share/common-lisp/source/clue/clue.asd".
That works for me in SBCL. (After installing cl-clx-sbcl and cl-clue,
obviously.)
No idea whether any demos work.
[...]
Trent Buck wrote:
> I'm on a Debian box with most all the cl-* packages apt-gotten. I want
> to get *any* sort of GUI toolkit working under Lisp, so I can do an
> interface mockup assignment in Lisp. To begin with at least, I don't
> care *which* Lisp or toolkit I use.
>
> I can get CLX to work under SBCL, but my na�ve attempts at higher level
> toolkits haven't worked. For example, in CMUCL I try:
>
> * (demo)
> ;; lines of text
> ;; (clc:clc-require :clue)
>
> * (clc:clc-require :clue)
> ; Loading #p"/usr/share/common-lisp/source/clue/clue.asd".
>
> File-error in function LISP::INTERNAL-LOAD:
> "modules:clue-library" does not exist.
> [Condition of type KERNEL:SIMPLE-FILE-ERROR]
>
> AFAICT there is no file called "clue-library" installed by any package.
> What should I do? Is there a simple step-by-step guide to getting a
> Lisp GUI up and running on Debian?
>
Give Ltk a try - it is especially easy to set up and running:
http://www.peter-herth.de/ltk
Peter
--
pet project: http://dawn.netcologne.de
homepage: http://www.peter-herth.de
lisp stuff: http://www.peter-herth.de/lisp.html
get Ltk here: http://www.peter-herth.de/ltk/
Spake Peter Herth:
> Give Ltk a try - it is especially easy to set up and running:
>
> http://www.peter-herth.de/ltk
Wonderful! It just worked!
Thanks, Peter.
--
Trent Buck, Student Errant
Talk is cheap. Show me the code. -- Linus Torvalds
Trent Buck wrote:
> Spake Peter Herth:
>
>>Give Ltk a try - it is especially easy to set up and running:
>>
>>http://www.peter-herth.de/ltk
>
>
> Wonderful! It just worked!
>
> Thanks, Peter.
>
Every happy Ltk user makes me happy :)
Have fun!
Peter
--
pet project: http://dawn.netcologne.de
homepage: http://www.peter-herth.de
lisp stuff: http://www.peter-herth.de/lisp.html
get Ltk here: http://www.peter-herth.de/ltk/
What about having MAINLOOP work is a separate thread where available or
waiting on SERVE-EVENT in CMUCL/SBCL?
Cheers
--
Marco
Peter Herth wrote:
> Trent Buck wrote:
>
>> I'm on a Debian box with most all the cl-* packages apt-gotten. I want
>> to get *any* sort of GUI toolkit working under Lisp, so I can do an
>> interface mockup assignment in Lisp. To begin with at least, I don't
>> care *which* Lisp or toolkit I use.
>>
>> I can get CLX to work under SBCL, but my na�ve attempts at higher level
>> toolkits haven't worked. For example, in CMUCL I try:
>>
>> * (demo)
>> ;; lines of text
>> ;; (clc:clc-require :clue)
>>
>> * (clc:clc-require :clue)
>> ; Loading #p"/usr/share/common-lisp/source/clue/clue.asd".
>>
>> File-error in function LISP::INTERNAL-LOAD:
>> "modules:clue-library" does not exist.
>> [Condition of type KERNEL:SIMPLE-FILE-ERROR]
>>
>> AFAICT there is no file called "clue-library" installed by any
>> package. What should I do? Is there a simple step-by-step guide to
>> getting a
>> Lisp GUI up and running on Debian?
>>
>
> Give Ltk a try - it is especially easy to set up and running:
>
> http://www.peter-herth.de/ltk
>
> Peter
>
Marco Antoniotti wrote:
> What about having MAINLOOP work is a separate thread where available or
> waiting on SERVE-EVENT in CMUCL/SBCL?
That ist certainly an option - just be sure not to make too bold things
with Ltk in other threads than mainloop, I have not tested that. But
as you can call start-wish and mainloop by yourself, give it a try and
report your results! :)
Peter
--
pet project: http://dawn.netcologne.de
homepage: http://www.peter-herth.de
lisp stuff: http://www.peter-herth.de/lisp.html
get Ltk here: http://www.peter-herth.de/ltk/