From: Michael J. Ferrador
Subject: Diff between .RPM and CygWin CLisp 2.30, CLX
Date: 
Message-ID: <3ECBD248.7E263091@orn.com>
I was thinking that clisp-2.30-i686-unknown-cygwin32-1.3.12.tar.gz from
http://sourceforge.net/project/showfiles.php?group_id=1355
could use a README.CygWin, Here is my stab at it -

---

Download and run setup.exe, from  http://cygwin.com/  "Install Me Now"
Next ->  (source) Next ->  (Root) Next ->  (Package dir) Next ->
(Connction) Next ->  (select site) Next ->  (Packages)

I used a removable drive for <package dir>, Base+XF86 fit on a zip 100. Copy
setup.exe to it for portable installs, and it only download upgrades next time.

Devel +>
Packages: gcc2, libncurses-devel, make


More may be needed? These got me past "make", and "make install"

Optional - XFree86, editors, etc...

XFree86 +>
Packages: XFree86-base, XFree86-xwinclip


Package: gcc-2 - until CLisp builds with ver 3 ?
cd /bin
ln -s gcc-2.bin gcc.exe  - other ways? - env var $CC? edit makefile

cd <install dir - /usr/lib ? /usr/local/lib ?>
tar xvzf /cygdrive/<drive>/<path>/clisp-2.30-i686-unknown-cygwin32-1.3.12.tar.gz
cd clisp-2.30

- goto README directions (make, for base/ also do full/ (without-package-lock () ...

---


There does not appear to be CLX in the full linkset, compared to the .RPM
XFree86 might have been a recent addition to CygWin.


deeper questions - should *features* :CYGWIN also include :WIN32 ? (has :UNIX)

From: Michael J. Ferrador
Subject: Re: Diff between .RPM and CygWin CLisp 2.30, CLX
Date: 
Message-ID: <3ECBDF80.B7FC192A@orn.com>
I wrote:
> 
> There does not appear to be CLX in the full linkset, compared to the .RPM
> XFree86 might have been a recent addition to CygWin.

trying a CLX fractal demo - http://groups.google.com/groups?hl=en&lr=&ie=ISO-8859-1&q=CLX+fractal+demo&meta=group%3Dcomp.lang.lisp.*

I have not seen any alternatives to the folowing CLX init code, yet

---

(unless *display*
  #+cmu
  (multiple-value-setq (*display* *screen*) (ext:open-clx-display))
  #-cmu
  (progn
    ;; Portable method
    (setf *display* (xlib:open-display
                     #+allegro (short-site-name)
                     #-allegro (machine-instance)))
    (setf *screen* (xlib:display-default-screen *display*)))

---
;; maybe             #-allegro "localhost"))

Clisp - (machine-instance) returns something like "<machine name> [127.0.0.1]" not usable for the above
Clisp .RPM - (short-site-name) returns "edit src/config.lisp" which is not avail from the .RPM

Beside portable parsing for the $DISPLAY environment variable,
I will probably have to look at more CLX programs.


I am still investigating how to add CLX to CLisp CygWin.
From: Sam Steingold
Subject: Re: Diff between .RPM and CygWin CLisp 2.30, CLX
Date: 
Message-ID: <m31xyr3uv5.fsf@loiso.podval.org>
> * In message <·················@orn.com>
> * On the subject of "Re: Diff between .RPM and CygWin CLisp 2.30, CLX"
> * Sent on Wed, 21 May 2003 20:15:23 GMT
> * Honorable "Michael J. Ferrador" <·····@orn.com> writes:
>
> Clisp - (machine-instance) returns something like "<machine name>
> [127.0.0.1]" not usable for the above Clisp .RPM - (short-site-name)
> returns "edit src/config.lisp" which is not avail from the .RPM

[5]> (xlib:open-display "localhost")
#<XLIB:DISPLAY localhost:0 (The XFree86 Project, Inc R40300000) X11.0
  #x203869B5>
[6]> (xlib:display-default-screen *)
#<XLIB:SCREEN #x2038D379>

> I am still investigating how to add CLX to CLisp CygWin.

try building from the sources.

-- 
Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
I want Tamagochi! -- What for?  Your pet hamster is still alive!