Re: Crunch: Error when trying to build from scratch
Ben <[email protected]>
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <[email protected]> |
Cool, I just saw I had an error in the above install routines, I correct it here and complement it with the release file method: # Install Crunch from scratch ``` $ mkdir -p ~/Builds/crunch-scheme ``` ## get the source code from a repository ``` $ cd ~/Builds/crunch-scheme $ git clone https://code.call-cc.org/git/chicken-core.git $ cd chicken-core $ sh scripts/bootstrap.sh ``` ## Or, get the source code from a release ``` $ cd ~/Builds/crunch-scheme $ wget https://code.call-cc.org/dev-snapshots/2024/12/09/chicken-6.0.0pre1.tar.gz $ tar xfvz chicken-6.0.0pre1.tar.gz $ cd chicken-6.0.0pre1/ ``` ## Finally build it ``` $ export PREFIX=$HOME/Builds/crunch-scheme/crunch-scheme $ mkdir -p $PREFIX $ ./configure --prefix $PREFIX --chicken ./chicken-boot $ make $ make install $ cd $PREFIX $ ./bin/chicken-install -test crunch ``` ## Add it to the Environment ``` # Maybe add it to PATH export PATH="$PREFIX/bin:$PATH" # respectively in ~/.profile (or .bashrc) export PATH="$HOME/Builds/crunch-scheme/crunch-scheme/bin:$PATH" ``` On Mon, Dec 9, 2024, at 1:07 PM, [email protected] wrote: >> Thanks, that worked. Maybe this is helpful to others, so I paste the entire routine: >> > > Thanks, that's very kind. > > We have also now made a development-snapshot available, which can be > downloaded here: > > https://code.call-cc.org/dev-snapshots/2024/12/09/chicken-6.0.0pre1.tar.gz > > You can build directly from the contained sources and don't need to bootstrap > anymore. > > > cheers, > felix