chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Compiling readline.egg on Mac OS X 10.4.10


From: Ozzi
Subject: Re: [Chicken-users] Compiling readline.egg on Mac OS X 10.4.10
Date: Wed, 03 Oct 2007 13:21:05 -0500
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)

Do you know if I will cause problems if I just change that symlink to point to a macports-installed version of libreadline? Is there a better approach?

Thanks for the help,

Ozzi

Kon Lovett wrote:

On Oct 3, 2007, at 10:55 AM, Ozzi wrote:

I have installed the latest version of Chicken from SVN. When I run:

sudo chicken-setup readline

I get the following response:

Password:

The extension readline does not exist.
Do you want to download it ? (yes/no/abort) [yes] yes
downloading readline.egg from (www.call-with-current-continuation.org eggs 80)
  gzip -d -c ../readline.egg | tar xf -
/usr/local/bin/csc -feature compiling-extension -s -O2 -d0 readline.scm -L -lreadline -emit-exports readline.exports -L -ltermcap
readline.c: In function 'gnu_readline_init':
readline.c:221: warning: assignment from incompatible pointer type
/usr/bin/ld: Undefined symbols:
_history_truncate_file
collect2: ld returned 1 exit status
*** Shell command terminated with exit status 1: gcc readline.o -o readline.so -bundle -L/usr/local/lib -lreadline -ltermcap -lm -lchicken
Error: shell invocation failed with non-zero return status
"/usr/local/bin/csc -feature compiling-extension -s -O2 -d0 readline.scm -L -lr...
256

Is it possible I have something messed up locally, or is this a bug in the readline egg?

Apple symlinked /usr/lib/libreadline.dylib -> libedit.dylib, which is NOT readline. You must get a real readline. Maybe fink or macports. I just compiled it myself.

HTH,
Kon



_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users

Best Wishes,
Kon






reply via email to

[Prev in Thread] Current Thread [Next in Thread]