mijn-design

a developer\’s life

Archive for the ‘Linux’ Category

Gentoo Linux & VMware Server 2

Posted by Michael on March 3, 2009

Finally I got it working on my new server. Quite easy, but one problem left: Only with VMware Remote Desktop I have access to my VM’s,
but not with any Remote Desktop Application, neither on Windows Vista nor  on OS X Leopard.

But I will get this working too … sometime …

Advertisements

Posted in Gentoo, Linux, MS Windows, VMware | Leave a Comment »

Open Genera – A Lisp machine on Linux

Posted by Michael on April 29, 2008

Another post here on HowTo run the OpenGenera port by Brad Parker on an Ubuntu installation.
I will try installation in a vmware, last one doesn’t work 100%

Posted in Development, Linux, LISP | 2 Comments »

SBCL x86-64 working (suse64)

Posted by Michael on March 4, 2008

Finally I managed to get a working 64 bit threaded sbcl enviroment working with hunchentoot on SUSE64 /w 400 MB RAM.

Necessary changes :

  • forget about cffi and uffi tests (at least for now) got them at least partially working
  • in cffi/src/libraries.lisp had to change (defparameter *cffi-feature-suffix-map* … (cffi-features:unix . “.so.0”))
    I don’t like this change, cause now every lib needs to be symlinked but haven’t found other working solutions yet
  • run sbcl with “–dynamic-space-size 256

Problems

  • no make’ing of any *.so (needed by clsql for example) make them by hand
  • no database or any storage backend yet got clsql installed, made needed *.so’s by hand

Now I leave it running for some days to check for memory consumption and errors.

Edit /March 06

  • 2 days working, so far no errors, adding basic pages again
  • clsql connects to a MySQL database

Posted in Development, Linux, LISP, MySQL, SBCL, VirtualHost | Leave a Comment »

VMware Fusion & Windows Vista Ultimate

Posted by Michael on March 3, 2008

I had to buy a Vista for testing development / applications with. Did already some Vista installations before and was astonished how smoth installation, updating etc was in VMware Fusion. And it is running stable. But then I see/hear about from fellow developers who struggle with M$ Windows every day: I love Mac OS X Leopard – only one crash in 5 months and OS X is running 16 h/day !

Posted in Development, Linux, Mac, MS Windows, OS X, VMware | 1 Comment »

Lisp + libraries on Mac OS X Leopard & Linux 32/64bit

Posted by Michael on March 2, 2008

I run SBCL now on 4 different OS: Mac OS X Leopard, Gentoo 64, Gentoo 32, Suse 64 and all “behave” different.
On OS X there is no problem with loading any *.dylib – like those for cffi/uffi tests, which make’ing or loading fails on the other OS.

Edit: I have a 4 days test for another vserver runnng Debian 3.1 (32bit), just installed sbcl and tried cffi: same effect, doesn’t make *.so for testing, just freezes with a blinking cursor.
I can make the*.so’s by hand on any platform, but then SBCL can’t load them.

Will I ever understand the “why” and learn the “how” to solve?

Posted in Development, Linux, LISP, Mac | Leave a Comment »

Got my Playground back

Posted by Michael on March 2, 2008

Finally got my playground back. I can only run a 32bit SBCL,  disabled tests for cffi and can’t install uffi/clsql yet.

It’s enough for playing around and learning.  And in the meanwhile I can search for a solution to run a full 64bit Lisp with hunchentoot and some database backend.

Posted in Development, Linux, LISP | Leave a Comment »

*FRUSTRATION* with SBCL on Virtuozzo Virtual Hosts

Posted by Michael on March 1, 2008

Yes, it is frustrating, can only run a 32Bit SBCL on the V-Server. But then no persistent data-storage library works.

With a 64Bit SBCL I run into those memory problems with only 400 MB RAM on the V-Server (Virtuzzo).
Running SBCL with –dynamic-space-size is possible but then I get heap errors on installing libraries like uffi or clsql.
The only alternative I can see is move to another service which offers more RAM.
But all I found yet are quite expensive.

I tried to get back to my previous installation but it doesn’t work anymore 😦 Sometimes I hate computers, when I don’t understand what’s going on. :-/ It’s really strange: Initially I installed a binary sbcl, asdf-install’d needed libs one after the other and finally hunchentoot. Had only a problem with cl+ssl cause it could find the libssl.so but ignored that (don’t use SSL yet).
Now there is already a problem with cffi with tests bypassing them I can compile everthing but it’s not 100% cause I get errors on starting the server enviroment.

I’m getting really confused now: I setup a Gentoo 64 in a VM, installed binary sbcl-10.0.15-x86-64-linux and tried installing few libs. cffi doesn’t install at all, just hangs and doesn’t return from make tests.

Looking around for Lisp friendly webhosting I wonder how sbcl runs with memory as low as 128 MB when I can’t run it with 400 MB RAM or is it related to 64bit ?

Posted in Development, Linux, LISP, SBCL, VirtualHost | Leave a Comment »

clsql, elephant and suse-linux-x64

Posted by Michael on February 27, 2008

Now that I’m getting a little bit more comfort with Emacs/Slime and remote development, a new, big problem hit me :
Neither clsql nor elephant will work. Both come with some C source which compiles fine to *.so but either a function (atol64) is not found or the *.so can’t be loaded at all.
So for the moment I’m a bit lost in the dark, don’t really know how to solve these problems. Searching the internet up and down gave me no hints yet, but I keep trying.

Edit: Tried it and I can load clsql without problems on gentoo, on Mac OS X Leopard but not on SUSE64. What the heck is the reason for it ???
Edit2: Low memory …

Posted in Database, Development, Linux, LISP, SBCL, VirtualHost | Leave a Comment »

A Lisp-Driven Webserver

Posted by Michael on February 12, 2008

Some days ago I found this blog. An here is his lisp-driven website.

Hopefully on day I manage similar stuff.

Posted in Linux, LISP | Leave a Comment »

SBCL Lisp + Hunchentoot on a webserver

Posted by Michael on February 10, 2008

I don’t want just read books but do some real exercises. So I decided to give it a try and get sbcl + hunchentoot running on my public webserver with OpenSuse (64bit).

First installed a binary from sbcl.org and gave clbuild a try no chance without git and darcs and I didn’t want a ghc installation on the webserver. So just for a test did a ./clbuild buildsbcl – again with no luck, sbcl didn’t start just threw an exception.

Returned to a standard binary sbcl installation and asdf-install’ed hunchentoot with all necessary libs. There are some minor glitches I have to work on, but finally got a test page shown with hunchentoot !

Now the real work starts … 🙂

Posted in Linux, LISP | 1 Comment »