Changes between Initial Version and Version 1 of BuildClisp

Show
Ignore:
Timestamp:
02/29/08 14:44:35 (7 years ago)
Author:
pbrochard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildClisp

    v1 v1  
     1= Here is a way to build [http://clisp.cons.org Clisp] with the mit/clx = 
     2 
     3{{{ 
     4tar xzvf clisp-VERSION.tar.gz 
     5cd clisp-VERSION 
     6./configure build 
     7cd build 
     8./makemake --with-dynamic-ffi  --srcdir=../src --with-module="clx/mit-clx"   > Makefile 
     9cp -p ../src/cfgunix.lisp config.lisp 
     10chmod +w config.lisp 
     11echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp 
     12make 
     13make check 
     14su 
     15make install 
     16}}} 
     17 
     18 
     19 
     20''Here is my whole script - I use two differents users (install and local) and my [http://hocwp.free.fr/ln_local/index.html ln_local] script'' 
     21 
     22{{{ 
     23#!/bin/sh -x 
     24 
     25VERSION=$(lynx -dump http://clisp.cons.org/ | grep version | sed -e "s/^.*: //g" -e "s/ (.*$//g") 
     26#VERSION=2.44.1 
     27EXT=tar.gz 
     28EXTRACT=xzvf 
     29 
     30echo Compiling: $VERSION.$EXT 
     31  
     32wget ftp://ftp.gnu.org/pub/gnu/clisp/release/$VERSION/clisp-$VERSION.$EXT 
     33   
     34tar $EXTRACT clisp-$VERSION.$EXT 
     35   
     36cd clisp-$VERSION 
     37  
     38./configure build 
     39   
     40cd build 
     41./makemake --with-dynamic-ffi  --srcdir=../src --prefix="/usr/install/clisp-$VERSION/" --with-module="clx/mit-clx"   > Makefile 
     42cp -p ../src/cfgunix.lisp config.lisp 
     43chmod +w config.lisp 
     44echo '(setq *clhs-root-default* "http://www.lisp.org/HyperSpec/")' >> config.lisp 
     45 
     46make 
     47make check 
     48 
     49echo -n "Install " 
     50su install -c "rm -rf /usr/install/clisp* && make install" 
     51 
     52echo -n "Local " 
     53su local -c "ln_local clean do && cd /usr/install/clisp-$VERSION && ln_local create do" 
     54 
     55cd ../.. 
     56rm -rf clisp-$VERSION clisp-$VERSION.$EXT 
     57}}}