From: ···········@gmail.com
Subject: Common Lisp build error
Date: 
Message-ID: <a8f9bb46-2003-4abd-9d01-84d72d39f218@q77g2000hsh.googlegroups.com>
Hi,

I have a macbook that runs leopard and I just installed Darwin so that
I could install clisp.  I followed the instructions on
clisp.darwinports.com.  After installing ncurses, gettext, and so on
when it came time to install lisp I got this error:

--->  Building clisp with target all
Error: Target org.macports.build returned: shell command "cd /opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_clisp/
work/clisp-2.43/src && ulimit -s 16384 &&  unset LD_PREBIND
LD_PREBIND_ALLOW_OVERLAP &&  make" returned error 2
Command output: make[3]: Nothing to be done for `am--refresh'.
make[2]: Nothing to be done for `all-am'.
make -C gllib CFLAGS="-D_NONSTD_SOURCE -Igllib -W -Wswitch -Wcomment -
Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-
sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -
DUNIX_BINARY_DISTRIB -DUNICODE -I. "
make[2]: Nothing to be done for `am--refresh'.
make  all-am
make[3]: Nothing to be done for `am--refresh'.
make[2]: Nothing to be done for `all-am'.
make -C gllib CFLAGS="-D_NONSTD_SOURCE -Igllib -W -Wswitch -Wcomment -
Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-
sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -
DUNIX_BINARY_DISTRIB -DUNICODE -I. "
make[2]: Nothing to be done for `am--refresh'.
make  all-am
make[3]: Nothing to be done for `am--refresh'.
make[2]: Nothing to be done for `all-am'.
./lndir ../modules/i18n i18n
m=`cd ../modules/i18n; pwd`; \
	if test -f i18n/configure -a i18n/configure -nt i18n/config.status ;
then cd i18n ; \
	  ( cache=`echo i18n/ | sed -e 's,[^/][^/]*//*,../,g'`config.cache; \
	    if test -f ${cache} ; then . ${cache}; \
	      if test "${ac_cv_env_CC_set}" = set; then CC="$
{ac_cv_env_CC_value}"; export CC; fi; \
	      if test "${ac_cv_env_CFLAGS_set}" = set; then CFLAGS="$
{ac_cv_env_CFLAGS_value}"; export CFLAGS; fi; \
	      /bin/sh ./configure --cache-file=${cache} --srcdir=$m --with-
libreadline-prefix=/opt/local --with-libsigsegv-prefix=/opt/local --
with-libiconv-prefix=/opt/local --with-unicode --with-readline --
without-dynamic-ffi --with-export-syscalls --with-gettext;\
	    else /bin/sh ./configure --srcdir=$m --with-libreadline-prefix=/
opt/local --with-libsigsegv-prefix=/opt/local --with-libiconv-prefix=/
opt/local --with-unicode --with-readline --without-dynamic-ffi --with-
export-syscalls --with-gettext; \
	    fi ) ;\
	fi
configure: loading cache ../config.cache
configure: error: `LDFLAGS' was set to `' in the previous run
configure: error: `CPPFLAGS' was set to `' in the previous run
configure: error: `CPP' was set to `' in the previous run
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ../config.cache' and
start over
make: *** [i18n] Error 1

Error: Status 1 encountered during processing.


----
I am a UNIX and clisp newbie so I have absolutely no idea what any of
this means.  Could someone tell me how I get rid of this error so I
can install clisp?  Thanks.

From: Victor Kryukov
Subject: Re: Common Lisp build error
Date: 
Message-ID: <87odaolkoj.fsf@esculap.gateway.2wire.net>
···········@gmail.com writes:

> Hi,
>
> I have a macbook that runs leopard and I just installed Darwin so that
> I could install clisp.  I followed the instructions on
> clisp.darwinports.com.  After installing ncurses, gettext, and so on
> when it came time to install lisp I got this error:

Hi Sena,

but why darwinports? It's probably outdated. You should choose either
MacPorts or Fink - I prefer the former.

After installing macports (www.macports.org), you can do:

sudo port install sbcl +threads
sudo port install clisp

and you'll have Steel Bank Common Lisp 1.0.13 compiled with threads support
and CLISP 2.43 installed w/o much trouble (or at least this is the case for
Mac OS X 10.4 Tiger - I haven't check it on Leopard yet).

Regards,
Victor.
From: ···········@gmail.com
Subject: Re: Common Lisp build error
Date: 
Message-ID: <9346af95-02b6-479a-9f82-3670926dfc87@e25g2000prg.googlegroups.com>
On Feb 10, 12:40 pm, Victor Kryukov <··············@gmail.com> wrote:

> but why darwinports? It's probably outdated. You should choose either
> MacPorts or Fink - I prefer the former.
>
> After installing macports (www.macports.org), you can do:
>
> sudo port install sbcl +threads
> sudo port install clisp
>
> and you'll have Steel Bank Common Lisp 1.0.13 compiled with threads support
> and CLISP 2.43 installed w/o much trouble (or at least this is the case for
> Mac OS X 10.4 Tiger - I haven't check it on Leopard yet).
>
> Regards,
> Victor.

Cool thanks...the macports link on the clisp was broken when I tried
this the first time so I just went with Darwin.  I'll try this out and
tell you if it works on Leopard.
From: ···········@gmail.com
Subject: Re: Common Lisp build error
Date: 
Message-ID: <60250b4b-e99e-44ee-9520-66f65a9c7425@j20g2000hsi.googlegroups.com>
On Feb 10, 2:28 pm, ···········@gmail.com wrote:
> On Feb 10, 12:40 pm, Victor Kryukov <··············@gmail.com> wrote:
>
> > but why darwinports? It's probably outdated. You should choose either
> > MacPorts or Fink - I prefer the former.
>
> > After installing macports (www.macports.org), you can do:
>
> > sudo port install sbcl +threads
> > sudo port install clisp
>
> > and you'll have Steel Bank Common Lisp 1.0.13 compiled with threads support
> > and CLISP 2.43 installed w/o much trouble (or at least this is the case for
> > Mac OS X 10.4 Tiger - I haven't check it on Leopard yet).
>
> > Regards,
> > Victor.
>
> Cool thanks...the macports link on the clisp was broken when I tried
> this the first time so I just went with Darwin.  I'll try this out and
> tell you if it works on Leopard.

Well with clisp I got the exact same error but sbcl with threads
support compiled ok and that's good enough for me I guess.  I'm
completely new to UNIX and lisp so this may be a dumb question but the
location of the clisp folder was different than the one that the
darwinports website instructions...would this have anything to do with
why it didn't build properly? I deleted the configure.cache to see if
that would help but it just made a new error and I couldn't find
anything about a similar error when I just googled it...

In any case thank you very much for your help.  I needed either clisp
or sbcl so that I can use <a href="http://commonmusic.sourceforge.net/
doc/cm.html">Common Music</a>.  Thanks again!

sena
From: Victor Kryukov
Subject: Re: Common Lisp build error
Date: 
Message-ID: <87ir0wl9vj.fsf@esculap.gateway.2wire.net>
···········@gmail.com writes:

> On Feb 10, 2:28 pm, ···········@gmail.com wrote:
>> On Feb 10, 12:40 pm, Victor Kryukov <··············@gmail.com> wrote:
>>
>> > but why darwinports? It's probably outdated. You should choose either
>> > MacPorts or Fink - I prefer the former.
>>
>> > After installing macports (www.macports.org), you can do:
>>
>> > sudo port install sbcl +threads
>> > sudo port install clisp
>>
>> > and you'll have Steel Bank Common Lisp 1.0.13 compiled with threads support
>> > and CLISP 2.43 installed w/o much trouble (or at least this is the case for
>> > Mac OS X 10.4 Tiger - I haven't check it on Leopard yet).
>>
>> > Regards,
>> > Victor.
>>
>> Cool thanks...the macports link on the clisp was broken when I tried
>> this the first time so I just went with Darwin.  I'll try this out and
>> tell you if it works on Leopard.
>
> Well with clisp I got the exact same error but sbcl with threads
> support compiled ok and that's good enough for me I guess.  I'm
> completely new to UNIX and lisp so this may be a dumb question but the
> location of the clisp folder was different than the one that the
> darwinports website instructions...would this have anything to do with
> why it didn't build properly? I deleted the configure.cache to see if
> that would help but it just made a new error and I couldn't find
> anything about a similar error when I just googled it...

Well, one more thing you may want to check is that you have C compiler
and all the neccessary libraries/header files installed on your
system, and they aren't installed by default. You need to install XCode
for that, which comes on additional DVD with your Mac.

Other than that, I cannot provide you with more specific
recommendation, as I cannot reproduce your problem on my system.

> In any case thank you very much for your help.  I needed either clisp
> or sbcl so that I can use <a href="http://commonmusic.sourceforge.net/
> doc/cm.html">Common Music</a>.  Thanks again!

I'm glad that the problem was solved. Common Music sounds interesting,
never heard about it before - I'll give it a try.


Regards,
Victor.
From: ···········@gmail.com
Subject: Re: Common Lisp build error
Date: 
Message-ID: <7af0f1ba-a6d1-402d-a369-040d02ac0096@v17g2000hsa.googlegroups.com>
On Feb 10, 2:28 pm, ···········@gmail.com wrote:
> On Feb 10, 12:40 pm, Victor Kryukov <··············@gmail.com> wrote:
>
> > but why darwinports? It's probably outdated. You should choose either
> > MacPorts or Fink - I prefer the former.
>
> > After installing macports (www.macports.org), you can do:
>
> > sudo port install sbcl +threads
> > sudo port install clisp
>
> > and you'll have Steel Bank Common Lisp 1.0.13 compiled with threads support
> > and CLISP 2.43 installed w/o much trouble (or at least this is the case for
> > Mac OS X 10.4 Tiger - I haven't check it on Leopard yet).
>
> > Regards,
> > Victor.
>
> Cool thanks...the macports link on the clisp was broken when I tried
> this the first time so I just went with Darwin.  I'll try this out and
> tell you if it works on Leopard.

Well when I tried to install clisp I got the exact same error but sbcl
with threads support installed okay, and I only need one or the other
so this works. Thanks!

Could the reason that clisp didn't install be because the folder is in
a different location than what the instructions in the darwinports
site say.  I'm completely new to UNIX and lisp so that might be a dumb
question but I was just curious.

In any case thanks a lot for your help...I needed either sbcl or clisp
to use <a href="http://commonmusic.sourceforge.net/doc/cm.html">Common
Music</a>.  thanks again

sena
From: vanekl
Subject: Re: Common Lisp build error
Date: 
Message-ID: <fone0n$efn$1@aioe.org>
···········@gmail.com wrote:
> Hi,
> 
> I have a macbook that runs leopard and I just installed Darwin so that
> I could install clisp.  I followed the instructions on
> clisp.darwinports.com.  After installing ncurses, gettext, and so on
> when it came time to install lisp I got this error:
> ...
> I am a UNIX and clisp newbie so I have absolutely no idea what any of
> this means.  Could someone tell me how I get rid of this error so I
> can install clisp?  Thanks.

I'm not a Mac-head (used to be), but can't you just do a
   apt-get install clisp
after installing fink?

Or, if you really need to compile it yourself, you could refer to the
Clisp MLs:
http://sourceforge.net/mail/?group_id=1355
--
The most terrifying words in the English language are: I'm from the
government and I'm here to help.                      Ronald Reagan