How to compile GNU Common Lisp 2.6.12 in Lucid Puppy Linux 5.2.8 |
Sunday, December 27th, 2015 14:39:57 GMT |
Puppy Linux |
I had a tough time compiling GNU Common Lisp 2.6.12 from scratch in Lucid Puppy Linux 5.2.8 version 004.
But, I finally managed to do it. Here's how:
As far as I know, Lucid Puppy 5.2.8 doesn't include Tcl/Tk by default. So, if you want Tcl/Tk, you can download their source code here:
I downloaded version 8.6.4 of both Tcl and Tk.
All I had to do was unzip each source code tarball, open the source code folder, open a terminal window, and put in these three commands:
(Though I actually used the command "new2dir make install" (without quotes) because I wanted to make .pet and .sfs files.)
Above the line which says
(Huge thanks to the author of this post for the solution, because without that post I would have had absolutely no clue at all what to do.)
The above fix makes it so the compilation won't be stopped by these errors:
LD_LIBRARY_PATH=/usr/local/lib
make
Or, if you'd rather just install it without building a .pet or .sfs file, type this:
After all those steps, it should be possible to run GNU Common Lisp simply by typing "
Go to the gcl source code folder, open a terminal prompt, and type:
Then, at the GCL prompt, put in these commands:
(load "gcl-tk/demos/widget.lisp")
That last command will fail if your current working directory isn't the gcl source code folder.
./configure
make
make install
"#include <signal.h>"
(without quotes), add this line:
#include <sys/ucontext.h>
./configure --enable-tkconfig=/usr/local/lib/ --enable-tclconfig=/usr/local/lib/
new2dir make install
make install
/usr/local/bin/gcl
gcl
" (without quotes).
If you have Tcl/Tk, here's how you can try them out with GNU Common Lisp. gcl
(si::tkconnect)