Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AllegroServe, Gray streams, CLOCC and all that ...

5 views
Skip to first unread message

Will Fitzgerald

unread,
Oct 25, 2001, 7:38:40 PM10/25/01
to
Hello,

I've installed CMUCL under Linux, and have started trying to load Jochen
Schmidt's Allegroserve port
(http://sourceforge.net/projects/portableaserve/).

There are a number of dependencies, including Gray streams for CMUCL.

Is there a standard way of installing standard libraries (from CLOCC?) so
that Portable Allegroserve happens somewhat easily?

Will Fitzgerald


Stig E. Sandoe

unread,
Oct 25, 2001, 8:15:52 PM10/25/01
to
"Will Fitzgerald" <will.fi...@worldnet.att.net.no.spam.please> writes:

If you use Debian sid/unstable and have added cCLan to your sources.list:

$ apt-get install portableaserve
...
$ lisp
...
* (require :aserve)

I hope that's easy enough.

cCLan: <URL: http://cclan.sourceforge.net/>

--
------------------------------------------------------------------
Stig E Sandoe st...@ii.uib.no http://www.ii.uib.no/~stig/

Will Fitzgerald

unread,
Oct 26, 2001, 9:20:47 AM10/26/01
to
st...@ii.uib.no (Stig E. Sandoe) wrote in message news:<87pu7bc...@palomba.bananos.org>...

> "Will Fitzgerald" <will.fi...@worldnet.att.net.no.spam.please> writes:
>
> > Hello,
> >
> > I've installed CMUCL under Linux, and have started trying to load Jochen
> > Schmidt's Allegroserve port
> > (http://sourceforge.net/projects/portableaserve/).
> >
> > There are a number of dependencies, including Gray streams for CMUCL.
> >
> > Is there a standard way of installing standard libraries (from CLOCC?) so
> > that Portable Allegroserve happens somewhat easily?
>
> If you use Debian sid/unstable and have added cCLan to your sources.list:
>
> $ apt-get install portableaserve
> ...
> $ lisp
> ...
> * (require :aserve)
>
> I hope that's easy enough.
>
> cCLan: <URL: http://cclan.sourceforge.net/>


Yes, that's certainly easy, but I'm working under Redhat.

Any other suggestions?

Christophe Rhodes

unread,
Oct 26, 2001, 9:27:23 AM10/26/01
to
fitzg...@inetmi.com (Will Fitzgerald) writes:

> [cCLan installation method]


>
> Yes, that's certainly easy, but I'm working under Redhat.
>
> Any other suggestions?

Well, you could
* download the debian common-lisp-controller, cmucl, cmucl-normal and
cmucl-source packages from Debian unstable;
* run alien to convert them to debs, then install them (you may need
to lie to rpm about your libc version, and so on);
* run the postinstallation scripts of these packages by hand, to
compile the relevant bits (cmucl-graystream, for instance);
* download the cCLan package of portableaserve, and other bits;
similarly, run alien, install, run the postinst by hand.

The tricky bit is convincing cmucl that it wants to install on your
system; after that, it should be easy :)

(Disclaimer: I don't use RedHat. Previous attempts of installing cCLan
debs on RH have reportedly been moderately to very successful).

Christophe
--
Jesus College, Cambridge, CB5 8BL +44 1223 510 299
http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar
(str schar arg) (first (last +))) (make-dispatch-macro-character #\! t)
(set-dispatch-macro-character #\! #\$ #'pling-dollar)

Jochen Schmidt

unread,
Oct 26, 2001, 10:02:35 AM10/26/01
to
Will Fitzgerald wrote:

> Hello,
>
> I've installed CMUCL under Linux, and have started trying to load Jochen
> Schmidt's Allegroserve port
> (http://sourceforge.net/projects/portableaserve/).
>
> There are a number of dependencies, including Gray streams for CMUCL.

There should not be more dependencies than that and MK:DEFSYSTEM.
I personally think Gray streams _should_ be in anyones lisp-image and
MK:DEFSYSTEM is so widely used that it really pays to get a copy.

> Is there a standard way of installing standard libraries (from CLOCC?) so
> that Portable Allegroserve happens somewhat easily?

Hm...

jsc@excalibur:~/ > cvs
-d:pserver:anon...@cvs.portableaserve.sourceforge.net:/cvsroot/portableaserve
login

(on password prompt simply hit enter...)

jsc@excalibur:~/ > cvs -z3
-d:pserver:anon...@cvs.portableaserve.sourceforge.net:/cvsroot/portableaserve
co portableaserve

jsc@excalibur:~/ > cd portableaserve
jsc@excalibur:~/ > lisp
;; Loading #p"/usr/lib/cmucl/lib/defsystem.x86f".
CMU Common Lisp 18c, running on shsp0629
Send questions and bug reports to your local CMU CL maintainer,
or to cmucl...@cons.org. and cmuc...@cons.org. respectively.
Loaded subsystems:
Python 1.0, target Intel x86
CLOS based on PCL version: September 16 92 PCL (f)
CLX X Library MIT R5.02
Motif toolkit and graphical debugger 1.0
Hemlock 3.5
* (load "INSTALL")

Then Portable AServe should compile and finally run an instance of
the server on http://localhost:2001 serving the example pages.

What did you try so far?

ciao,
Jochen

--
http://www.dataheaven.de

Pierre R. Mai

unread,
Oct 26, 2001, 1:22:11 PM10/26/01
to
"Will Fitzgerald" <will.fi...@worldnet.att.net.no.spam.please> writes:

> Hello,
>
> I've installed CMUCL under Linux, and have started trying to load Jochen
> Schmidt's Allegroserve port
> (http://sourceforge.net/projects/portableaserve/).
>
> There are a number of dependencies, including Gray streams for CMUCL.

Gray Streams are part of the standard CMU CL distribution (if you
installed that). You can load the library with

* (load "library:subsystems/gray-streams-library")

Future releases of CMU CL will allow you to use require to load such
standard libraries.

> Is there a standard way of installing standard libraries (from CLOCC?) so
> that Portable Allegroserve happens somewhat easily?

I don't know what other dependencies Portable Allegroserve has...

Regs, Pierre.

--
Pierre R. Mai <pm...@acm.org> http://www.pmsf.de/pmai/
The most likely way for the world to be destroyed, most experts agree,
is by accident. That's where we come in; we're computer professionals.
We cause accidents. -- Nathaniel Borenstein

Will Fitzgerald

unread,
Oct 29, 2001, 11:24:40 AM10/29/01
to
"Will Fitzgerald" <will.fi...@worldnet.att.net.no.spam.please> wrote in message news:<4o1C7.83663$WW.44...@bgtnsc05-news.ops.worldnet.att.net>...

I was successful in loading Portable Allegroserve into a 'virgin'
CMUCL image under RedHat Linux -- here's what I had to do (after
getting the code, of course).

1. Start CMUCL

2. Load the Gray streams for CMUCL
(load "library:subsystems/gray-streams-library")

3. Load the defsystem code (listed as "DEFSYSTEM Interim 3.2") from, I
think, the CLOCC project. I stored this locally in my directory.
(load "defsystem.lisp")

4. Comment out the following lines from the Portable Allegroserve file
INSTALL.LISP:

;(unless (member :gray-streams *features*)
; (mk:oos :cmucl-graystream :load))

5. Load INSTALL.LISP
(load "INSTALL.LISP")


Thanks for all who responded.

Will Fitzgerald

Jochen Schmidt

unread,
Oct 29, 2001, 12:02:12 PM10/29/01
to
Will Fitzgerald wrote:

Instead of commenting it out you can simply do a (push :gray-streams
*features*) into your .cmucl-init.lisp

ciao,
Jochen

0 new messages