Hello.
I'm trying to learn lisp on windows.
I downloaded lispbox and reading Practical Lisp.
So far so good. Emacs+SLIME works good and I like it.
But when I tried to find out how to install and run UCW I stuck.
Too many web sites to go. Too many packages to download.
I did install darcs and pulled ucw and all it's dependenies.
But then I do not know how to use asdf to bring all this together.
Is there any tutorial on how to install and run UCW on windows ?
In the latest release of UCW there are two documents (QUICKSTART,
QUICKSTART_DEV),
trying to explain how to configure and to build up a simple app.
http://www.uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_dev;a=tree;f=/docs
Regards,
Alberto Santini
I was able to instal asdf. I downloaded all ucw dependencies.
I run emacs+slime.
ASDF is loaded on startup and can see and load all libraries including
ucw.
In emacs repl I tried
(asdf:operate 'asdf:load-op 'ucw)
It loads fine, shows lot's of messages but no errors.
Now what ? browsing localhost:8080 gives nothing.
I also tried
(load "c:/lisp/lib/ucw_dev/start.lisp")
Same thing. Loads ok, gives lot's of messages and nothing, no site on
localhost:8080
Here's the follow up.
It looks like ucw hangs when trying to start.
Here's last messages:
;; Loaded file C:\lisp\lib\puri-1.3.1.3\puri.asd
;; Loading file C:\lisp\lib\puri-1.3.1.3\src.fas ...
;; Loaded file C:\lisp\lib\puri-1.3.1.3\src.fas
;; Loading file C:\lisp\lib\ucw_dev\src\backend\shared.fas ...
;; Loaded file C:\lisp\lib\ucw_dev\src\backend\shared.fas
;; Loading file C:\lisp\lib\ucw_dev\src\backend\httpd.fas ...
;; Loaded file C:\lisp\lib\ucw_dev\src\backend\httpd.fas
;; Loading file C:\lisp\lib\ucw_dev\src\backend\multithread-httpd.fas
...
;; Loaded file C:\lisp\lib\ucw_dev\src\backend\multithread-httpd.fas
0 errors, 0 warnings
2006-01-25T20:26.57 +INFO+ IT.BESE.UCW::UCW-LOGGER: Starting up
standard server
#<STANDARD-SERVER HTTPD-BACKEND 2 #x1A3483F5>.
----------------------------------------------------------------------------------------
That's it. Looks like it did not start properly.
So i'm missing somethig.
I tried use portableaserve and araneida.
But in both cases they gave some other errors about some stuff
undefined.
Looks like UCW and web development in general not ready for windows
yet.
That puzzles me.
If lisp community want publicity, success and wide adoption, windows
platform must be first priority.
"Vagif Verdi" <···········@gmail.com> writes:
>
> That puzzles me.
> If lisp community want publicity, success and wide adoption, windows
> platform must be first priority.
>
First of all, my lisp runs on a windows platform just fine.
Oh---you mean MICORSOFT windows. (Interested parties can google the
misspelled version and click on the first link. Hilarious.)
Well, you're certainly right about the publicity part. I woke up on
New Years day and what did I see when I looked at the my first web
page of the new year? A new, serious Micorsoft security flaw. Now
THAT'S publicity! THAT'S the way to start off a new year! THAT'S the
way to make your users feel happy.
No, that would be absurd. I must take you seriously and assume that
you meant windows, not Micorsoft windows.
My suggestion is to install FreeBSD and the latest Xorg release. You
will get a nice windowing system that runs Lisp well. If you miss all
the desktop environment stuff then there are at least two options: KDE
and Gnome. I never touch the stuff myself---it's TWM for me.
--
Fred Gilham ······@csl.sri.com
The opponents of income taxation in 1912 said that we would see the
day when taxes would extract 25% of people's income. Such Cassandras
were ridiculed. -- Gary North
Vagif Verdi schrieb:
> Here's the follow up.
>
> It looks like ucw hangs when trying to start.
> Here's last messages:
>
> ;; Loaded file C:\lisp\lib\puri-1.3.1.3\puri.asd
> ;; Loading file C:\lisp\lib\puri-1.3.1.3\src.fas ...
> ;; Loaded file C:\lisp\lib\puri-1.3.1.3\src.fas
> ;; Loading file C:\lisp\lib\ucw_dev\src\backend\shared.fas ...
> ;; Loaded file C:\lisp\lib\ucw_dev\src\backend\shared.fas
> ;; Loading file C:\lisp\lib\ucw_dev\src\backend\httpd.fas ...
> ;; Loaded file C:\lisp\lib\ucw_dev\src\backend\httpd.fas
> ;; Loading file C:\lisp\lib\ucw_dev\src\backend\multithread-httpd.fas
> ...
> ;; Loaded file C:\lisp\lib\ucw_dev\src\backend\multithread-httpd.fas
> 0 errors, 0 warnings
> 2006-01-25T20:26.57 +INFO+ IT.BESE.UCW::UCW-LOGGER: Starting up
> standard server
> #<STANDARD-SERVER HTTPD-BACKEND 2 #x1A3483F5>.
> ----------------------------------------------------------------------------------------
>
> That's it. Looks like it did not start properly.
> So i'm missing somethig.
>
> I tried use portableaserve and araneida.
> But in both cases they gave some other errors about some stuff
> undefined.
>
> Looks like UCW and web development in general not ready for windows
> yet.
> That puzzles me.
> If lisp community want publicity, success and wide adoption, windows
> platform must be first priority.
I never tried UCW or Araneida myself, but I am using portable
AllegroServe which works fine under Windows. One reason why you did not
have success with using any of these libs: perhaps they need threading
support which is not given under Lispbox (clisp) as far as I understand
it.
You have been very patient and tried a lot. If you still don't want to
give up then I suggest you to download the free personal edition of
Lispworks and try to get UCW, paserve or Araneida running on that
(Lispworks does have thread support).
For portable AllegroServe I would suggest you to download the CVS
version. For me it is very easy to install. Basically I just need to
download the files into a directory, say C:/lisp/ (with a program like
WinCVS) and start Lispworks. From there I type
(load "C:/lisp/portableaserve/INSTALL") and wait a few seconds. The
first time it takes a while because it begins to compile everything.
But after that you could go through the tutorials, etc. And next time
loading it (same command) is faster.
André
--
Thank you for your reply.
You are right about threads.
It was complaining about threads when trying to run swank.
I also tried another framework - webactions that comes with portable
aserve.
I had more luck with it, but it also has it's quirks.
I'll try lispworks.
I initially hesitate "trial" versions of lisp, because i'm afraid
they'll get in the way during development (time constraints or number
of loaded modules etc.)
BTW is there any significant drawback in lispworks personal edition
comparing to free lisp implementations ?
Vagif Verdi schrieb:
> Thank you for your reply.
> You are right about threads.
> It was complaining about threads when trying to run swank.
>
> I also tried another framework - webactions that comes with portable
> aserve.
> I had more luck with it, but it also has it's quirks.
WebActions are a really cool thing.
In theory you, as the programmer, never need to write a single line of
html. A webdesigner can change the page without informing you and
without needing your help. When he wants to do changes no programmers
are needed who should update their lisp code to spew out different html
tags.
It also implements the model-view-controler pattern. Neat ;-)
>
> I'll try lispworks.
> I initially hesitate "trial" versions of lisp, because i'm afraid
> they'll get in the way during development (time constraints or number
> of loaded modules etc.)
I think in your current position as a lisp student it is more important
that you have success with the things you try. Downloading Lispworks
only takes you a couple of minutes, and if it works for you then you
can continue learning.
Later in the process, when you already know more about Lisp it will be
a bit easier to get libs running. So I suggest you first take the
simple road which could be the trial version of a commercial Lisp.
Perhaps Corman Lisp also works. The IDE is not free, but when you like
emacs+slime you can use the compiler free for non-commercial projects.
[ http://www.cormanlisp.com/ ]
> BTW is there any significant drawback in lispworks personal edition comparing to free lisp
> implementations?
Depends on your needs. For me there were no drawbacks. Compared with
CLisp it might produce faster (natively compiled) code but it has
memory restrictions and you can't produce .exe files.
"Vagif Verdi" <···········@gmail.com> writes:
> If lisp community want publicity, success and wide adoption, windows
> platform must be first priority.
Bouhahahaha! :-)
--
__Pascal Bourguignon__ http://www.informatimago.com/
You never feed me.
Perhaps I'll sleep on your face.
That will sure show you.
"Vagif Verdi" <···········@gmail.com> writes:
> Here's the follow up.
>
> It looks like ucw hangs when trying to start.
> Here's last messages:
>
> ;; Loaded file C:\lisp\lib\puri-1.3.1.3\puri.asd
> ;; Loading file C:\lisp\lib\puri-1.3.1.3\src.fas ...
> ;; Loaded file C:\lisp\lib\puri-1.3.1.3\src.fas
> ;; Loading file C:\lisp\lib\ucw_dev\src\backend\shared.fas ...
> ;; Loaded file C:\lisp\lib\ucw_dev\src\backend\shared.fas
> ;; Loading file C:\lisp\lib\ucw_dev\src\backend\httpd.fas ...
> ;; Loaded file C:\lisp\lib\ucw_dev\src\backend\httpd.fas
> ;; Loading file C:\lisp\lib\ucw_dev\src\backend\multithread-httpd.fas
> ...
> ;; Loaded file C:\lisp\lib\ucw_dev\src\backend\multithread-httpd.fas
clisp has no threads yet. But you can still use it with UCW. Here is
the function I use to start the UCW server (not with araneida, with
UCW behind Apache with mod_lisp):
(defun server ()
(unwind-protect (ucw:startup-server ucw:*default-server*)
(ucw:shutdown-server ucw:*default-server*)))
Then, when I want to modify the running UCW, I just interrupt it with
C-c, enter the lisp forms in the debugger, and continue to go on with
the new version.
--
__Pascal Bourguignon__ http://www.informatimago.com/
You're always typing.
Well, let's see you ignore my
sitting on your hands.
Vagif Verdi wrote:
> Hello.
> I'm trying to learn lisp on windows.
> I downloaded lispbox and reading Practical Lisp.
> So far so good. Emacs+SLIME works good and I like it.
> But when I tried to find out how to install and run UCW I stuck.
> Too many web sites to go. Too many packages to download.
> I did install darcs and pulled ucw and all it's dependenies.
> But then I do not know how to use asdf to bring all this together.
>
> Is there any tutorial on how to install and run UCW on windows ?
>
Hmmm. Just try building packages one by one to get the hang of ASDF.
Basically you need to push the path to a package onto a global list:
(push (make-pathname
:directory '(:absolute "0dev" "cells-gtk" "utils-kt"))
asdf:*central-registry*)
or:
(push "\\0dev\\cells-gtk\\utils-kt" asdf:*central-registry*)
The directory you want is the one containing the .ASD file for the package.
Then you: (asdf:oos 'asdf:load-op :utils-kt)
If you can get one dependency to build (one without other dependencies)
then you are probably good to go. But...
Once you get all the paths onto the ASDF registry, you should then be
able to kick off just the UCW build and ASDF will find the dependencies
as it goes.
kenny
On Tue, 24 Jan 2006 08:03:28 GMT, Kenny Tilton <·············@nyc.rr.com> wrote:
> (push "\\0dev\\cells-gtk\\utils-kt" asdf:*central-registry*)
That one won't work. You need slashes at the end:
(push "\\0dev\\cells-gtk\\utils-kt\\" asdf:*central-registry*)
--
Lisp is not dead, it just smells funny.
Real email: (replace (subseq ·········@agharta.de" 5) "edi")
Edi Weitz wrote:
> On Tue, 24 Jan 2006 08:03:28 GMT, Kenny Tilton <·············@nyc.rr.com> wrote:
>
>
>> (push "\\0dev\\cells-gtk\\utils-kt" asdf:*central-registry*)
>
>
> That one won't work. You need slashes at the end:
>
> (push "\\0dev\\cells-gtk\\utils-kt\\" asdf:*central-registry*)
>
Ah, that is how I always end up using make-pathanme. :)
thx, kenny
Pascal Bourguignon wrote:
>
> Here is the Makefile I use to install and compile the dependencies of
> one of my project, including UCW.
[lots of line noise elided]
Where are the parens?
"Joe Marshall" <··········@gmail.com> writes:
> Pascal Bourguignon wrote:
>>
>> Here is the Makefile I use to install and compile the dependencies of
>> one of my project, including UCW.
>
> [lots of line noise elided]
>
> Where are the parens?
Yes, I know... :-(
--
__Pascal Bourguignon__ http://www.informatimago.com/
NOTE: The most fundamental particles in this product are held
together by a "gluing" force about which little is currently known
and whose adhesive power can therefore not be permanently
guaranteed.
On 23 Jan 2006 23:51:07 -0800, "Vagif Verdi" <···········@gmail.com>
tried to confuse everyone with this message:
>Hello.
>I'm trying to learn lisp on windows.
>I downloaded lispbox and reading Practical Lisp.
>So far so good. Emacs+SLIME works good and I like it.
>But when I tried to find out how to install and run UCW I stuck.
>Too many web sites to go. Too many packages to download.
>I did install darcs and pulled ucw and all it's dependenies.
>But then I do not know how to use asdf to bring all this together.
>
>Is there any tutorial on how to install and run UCW on windows ?
>
If you have Lispbox installed, it's very easy. Open
../slime-1.2.1/site-init.lisp, and add
(register-source-directory (lispbox-file "c:/lisp/"))
to the end of it. Substitute "c:/lisp/" to the directory where you
copied all of the libraries. The next time you start Slime, ASDF would
be able to find all necessary libraries.
--
|WAR HAS NEVER SOLVED ANYTHING|,----- Timofei Shatrov aka Grue---------.
|(except for ending slavery, ||mail: grue at mail.ru ================ |
| fascism and communism) ||============= http://grue3.tripod.com |
|...and Saddam's dictatorship |`----------------------------------[4*72]