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
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/
Yes, that's certainly easy, but I'm working under Redhat.
Any other suggestions?
> [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)
> 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
> 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
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
Instead of commenting it out you can simply do a (push :gray-streams
*features*) into your .cmucl-init.lisp
ciao,
Jochen