[CM] clm newbie needs big help!

joseph l anderson lloyd@sfsound.org
Fri, 28 Jun 2002 13:05:12 -0700


Hi all,

Im wanting to get clm up and running on MacOS X. Part of the problem is 
i have no idea what im doing, so am looking for some rather basic step 
by step help to get going. Wondering if anyone's gone through the 
process and can hold hands through the woods on this one.

Downloaded clisp. Having trouble building it. Im on rather unfamiliar 
terms with Unix - so this is adding to the difficulty.

Included in docs for clisp (clisp 2-2.28/unix/PLATFORMS) is the 
following:

> On Apple PowerPC running MacOS X Server:
>
> The /bin/sh shell has at least two bugs which make it unusable for the
> configuration scripts. As a workaround, you have to set the environment
> variable CONFIG_SHELL to "/bin/bash", and start "$CONFIG_SHELL 
> ./configure ..."
> instead of "./configure ...".
>
> The default stack size limit is 512 KB, which is too small for 
> bootstrapping
> CLISP. Even 1 MB is too small. Try "ulimit -S -s 8192" before starting 
> "make".
>
> Remove all optimization options ("-O", "-O2") from the CC and CFLAGS 
> variables
> in the Makefile. Apple's cc crashes when compiling eval.d with 
> optimization.
>
> FFI does not work yet, you will have to ignore the "avcall-*.h" errors
> in ./configure.

I don't have bash on my machine, but MacOS X ships with zsh, which is 
supposed to be an enhanced Korn shell.

So, following their advice i did the following:

% setenv CONFIG_SHELL /bin/zsh
% $CONFIG_SHELL configure --build built-with-gcc

This did get things going, w/ creation of built-with-gcc dir. It seems 
to end up hanging (the script doesnt seem to be exiting), though at:

> cd lib && make all
> make[1]: Nothing to be done for `all'.
> cd src && make all
> make[1]: Nothing to be done for `all'.
> cd man && make all
> make[1]: Nothing to be done for `all'.
> if test -d tests; then cd tests && make all; fi
> make[1]: Nothing to be done for `all'.
> cd lib && make install-lib 
> libdir='/Applications/Languages/clisp-2.28/built-with-gcc' 
> includedir='/Applications/Languages/clisp-2.28/built-with-gcc'
> if [ ! -d /Applications/Languages/clisp-2.28/built-with-gcc ] ; then 
> mkdir /Applications/Languages/clisp-2.28/built-with-gcc ; fi
> /bin/sh ../libtool --mode=install /usr/bin/install -c -m 644 
> libiconv.la /Applications/Languages/clisp-2.28/built-with-
> gcc/libiconv.la
> /usr/bin/install -c -m 644 .libs/libiconv.lai 
> /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.la
> /usr/bin/install -c -m 644 .libs/libiconv.a 
> /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.a
> ranlib /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.a
> chmod 644 /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.a
> libtool: install: warning: remember to run `libtool --finish 
> /usr/local/lib'
> if [ ! -d /Applications/Languages/clisp-2.28/built-with-gcc ] ; then 
> mkdir /Applications/Languages/clisp-2.28/built-with-gcc ; fi
> /usr/bin/install -c -m 644 include/iconv.h 
> /Applications/Languages/clisp-2.28/built-with-gcc/iconv.h
> executing built-with-gcc/readline/configure ...
> configure: no matches found: conftest* [553]
> creating cache ./config.cache

Any thoughts? Do i need to get bash from apple?

Im also unclear on how to do the other stuff listed in the PLATFORMS 
file. Setting default stack size to "unlimit" and then the bit about 
optimization options.

No doubt - once i get clisp going, may have additional questions 
regarding clm installatio.

All help is very appreciated. Thanks in advance to everyone!

j

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joseph L Anderson

Acousmatic Music  .  Sound Recording  .  Radio Production
4210 North West Crescent Valley Drive
Corvallis, Oregon, 97330             email: lloyd@sfsound.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~