Confused? Type help

> blog post How not to install UCW

How not to install UCW
Thu, 05 Jan 2006 12:53:11

I figured the first step in conquering my targeted music site was setting up an identical environment and running a test program under UCW. This way the admin gets proof the environment is relatively stable and i can give him detailed instructions on how to install it. The next parts of this writing follow a rocky UCW install on a FreeBSD machine, with a bit of testing at the end.

I told the horned one to install CMUCL, which to my surprise was a binary. The first of course to populate the environment were ASDF and ASDF-install, next UnCommon Web. But which version? UCW doesn't have version numbers, or rather not anymore. The download page contains some faults at the moment, so be ware, but you can choose between ucw_dev and ucw_public. I chose ucw_dev.

The install instructions gave a grocery list of dependencies to fetch. If you can get the unreleased version it's a bonus. One of them, iterate, wasn't fetchable because the author of UCW had locked the file permissions on 600 and the maintainer didn't have root access, so i got an earlier version. I connected everything to asdf, ran the ucw startup file and prayed... and wept.

Parenscript didn't compile. Not the latest version at least. But i still had a version on my laptop that missed a file which i copied from the latest version. Miraculously everything compiled. But UCW tells me mod_lisp (the lisp module for Apache), doesn't support publish directory. Whatever that means. Practically it means stuff doesn't work. It works with Araneida though, so i'll stick with it for dabbling purposes.

The thing that worried me the most was stability. The site that shall not be named ran on FreeBSD and CMUCL and was said to be not so stable,so i did a small little test: I let my computer on for a day and a half with on the lisp side of things only the ucw example application loaded. Top told me that at first 12 mb was reserved for CMUCL with 0 procent of it used by the cpu when at rest. After a day lisp took up 56 mb. After a day and a half the numer had waxed to 72 mb and lisp took up 98 percent of my cpu resources, eg it died. Not a very pretty start. But i sort of guessed it wouldn't be. Which makes me wonder if there is a way in feature-ridden lisp to assess which part of the application causes the memory leak? Ah well, my UCW is a bit like the monster of frankenstein at the moment. _dev indeed.


on Thu, 05 Jan 2006 14:23:22 morten said:

Good to hear it's not just me. I tried installing Ucw on my Ubuntu laptop a few months ago, but it didn't work.

A few days ago I tried again, hoping it would work better this time, but it stoped at the parenscript compile for me as well. Where did you get a parenscript that worked?

on Thu, 05 Jan 2006 16:00:17 ties said:

i got it from the gentoo package manager a while ago. But i put mine bzipped on the picture page for the time being. Not pretty but functional.

on Thu, 05 Jan 2006 16:33:16 Baughn said:

UCW wants a /special/ version of Parenscript, downloadable from

Good luck. You'll need it.

on Thu, 05 Jan 2006 19:59:38 asimon said:

From ucw's README:


parenscript is a javascript compiler written by Manuel Odendahl. You will need to get the latest development version:

darcs get

It's generally good practice to read REDMEs...

on Fri, 06 Jan 2006 01:56:17 ties said:

It's generally good practice to read REDMEs...

Well thank you Asimon for the kind advice and for the double post. If you would have read the post, you would have read i read the readme. And i followed the readme. I copy/pasted the download instructions to be exact. But it doesn't work. What did work was an old parenscript release packed by my linux distribution.

on Thu, 12 Jan 2006 16:40:37 muf said:


Want to comment? Type comment. Type something else to randomy chat a bit. I won't bite.