[Chicken-users] Problems Installing the lookup-table Egg
I'm just starting to learn Scheme, since I'm starting on SICP, and decided to try Chicken Scheme first. I'm having trouble installing a particular egg though, and have no idea how to resolve this issue. Here's what happens when I try to install the lookup-table egg: $ sudo chicken-install lookup-table [sudo] password for ehsanul: retrieving ... connecting to host "chicken.kitten-technologies.co.uk", port 80 ... requesting "/henrietta.cgi?name=lookup-table" ... reading response ... HTTP/1.1 200 OK Date: Fri, 10 Dec 2010 13:39:00 GMT Server: Apache Connection: close Transfer-Encoding: chunked Content-Type: text/plain reading chunks ... reading files ... ./lookup-table.scm ./lookup-table-unsafe-synch.scm ./lookup-table-synch.scm ./lookup-table.meta ./lookup-table-body.scm ./lookup-table.setup ./chicken-primitive-object-inlines.scm ./lookup-table-unsafe.scm lookup-table located at /tmp/chicken-install-3ec.tmp/lookup-table checking dependencies for `lookup-table' ... install order: ("lookup-table") installing lookup-table: ... changing current directory to /tmp/chicken-install-3ec.tmp/lookup-table /usr/bin/csi -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(extension-name-and-version '(\"lookup-table\" \"\"))" /tmp/chicken-install-3ec.tmp/lookup-table/lookup-table.setup /usr/bin/csc -feature compiling-extension -setup-mode lookup-table.scm -shared -optimize-leaf-routines -inline -output-file lookup-table.so -emit-import-library lookup-table -prelude "(define-constant MAGIC-LIMIT 12)" -disable-interrupts -fixnum-arithmetic -local -inline-limit 50 -no-procedure-checks -debug-level 1 Warning: exported identifier for module `lookup-table' has not been defined: dict-safe-mode Warning: exported identifier for module `lookup-table' has not been defined: make-dict Warning: exported identifier for module `lookup-table' has not been defined: alist->dict Warning: exported identifier for module `lookup-table' has not been defined: dict->alist Warning: exported identifier for module `lookup-table' has not been defined: dict? Warning: exported identifier for module `lookup-table' has not been defined: dict-equivalence-function Warning: exported identifier for module `lookup-table' has not been defined: dict-count Warning: exported identifier for module `lookup-table' has not been defined: dict-keys Warning: exported identifier for module `lookup-table' has not been defined: dict-values Warning: exported identifier for module `lookup-table' has not been defined: dict-ref Warning: exported identifier for module `lookup-table' has not been defined: dict-set! Warning: exported identifier for module `lookup-table' has not been defined: dict-exists? Warning: exported identifier for module `lookup-table' has not been defined: dict-indempotent-ref! Warning: exported identifier for module `lookup-table' has not been defined: dict-update! Warning: exported identifier for module `lookup-table' has not been defined: dict-update-list! Warning: exported identifier for module `lookup-table' has not been defined: dict-update-dict! Warning: exported identifier for module `lookup-table' has not been defined: dict-delete! Warning: exported identifier for module `lookup-table' has not been defined: dict-for-each Warning: exported identifier for module `lookup-table' has not been defined: dict-search Warning: exported identifier for module `lookup-table' has not been defined: dict-merge! Warning: exported identifier for module `lookup-table' has not been defined: dict-print Error: module unresolved: lookup-table Error: shell command terminated with non-zero exit status 256: /usr/bin/chicken lookup-table.scm -output-file lookup-table.c -dynamic -feature chicken-compile-shared -feature compiling-extension -setup-mode -optimize-leaf-routines -inline -output-file lookup-table.so -emit-import-library lookup-table -prelude "(define-constant MAGIC-LIMIT 12)" -disable-interrupts -fixnum-arithmetic -local -inline-limit 50 -no-procedure-checks -debug-level 1 /usr/bin/csc -feature compiling-extension -setup-mode lookup-table.import.scm -shared -optimize-leaf-routines -inline -local -no-trace -no-lambda-info -output-file lookup-table.import.so csc: file `lookup-table.import.scm' does not exist Error: shell command failed with nonzero exit status 16384 "/usr/bin/csc -feature compiling-extension -setup-mode lookup-table.import.scm -shared -optimize-leaf-routines -inline -local -no-trace -no-lambda-info -output-file lookup-table.import.so" Error: shell command terminated with nonzero exit code 17920 "/usr/bin/csi -bnq -setup-mode -e \"(require-library setup-api)\" -e \"(import s... ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] Re: Problems Installing the lookup-table Egg
> > I'm just starting to learn Scheme, since I'm starting on SICP, and decided > to try Chicken Scheme first. I'm having trouble installing a particular egg > though, and have no idea how to resolve this issue. Looks like it's a more general issue since I'm getting the same problem when I try to install the zmq egg. Same error messages, just substitute the zmq equivalents. However, other eggs, like pty, installed just fine. ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Re: Problems Installing the lookup-table Egg
> > > > Looks like it's a more general issue since I'm getting the same > > problem when I try to install the zmq egg. Same error messages, just > > substitute the zmq equivalents. However, other eggs, like pty, > > installed just fine. > > Could you paste the error you get for the zmq egg? I think this is > something else. Note that the egg requires you to have ZeroMQ 2.1.0 > installed which is still a development release and can be obtained here: > http://download.zeromq.org/zeromq-2.1.0.tar.gz Thanks for the tip, I just installed ZeroMQ 2.1.0 (I'm afraid I may not even had 2.0 installed earlier, as I was possibly confusing which machine I had installed it on earlier). However, I'm still getting a similar error message, though a bit different now: $ sudo chicken-install zmq [sudo] password for ehsanul: retrieving ... connecting to host "chicken.kitten-technologies.co.uk", port 80 ... requesting "/henrietta.cgi?name=zmq" ... reading response ... HTTP/1.1 200 OK Date: Fri, 10 Dec 2010 22:50:16 GMT Server: Apache Connection: close Transfer-Encoding: chunked Content-Type: text/plain reading chunks ... reading files ... ./zmq.setup ./zmq.scm ./zmq.meta zmq located at /tmp/chicken-install-6d9.tmp/zmq checking dependencies for `zmq' ... install order: ("zmq") installing zmq: ... changing current directory to /tmp/chicken-install-6d9.tmp/zmq /usr/bin/csi -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(extension-name-and-version '(\"zmq\" \"\"))" /tmp/chicken-install-6d9.tmp/zmq/zmq.setup /usr/bin/csc -feature compiling-extension -setup-mode -s -O2 -d0 zmq.scm -J -L -lzmq Warning: redefinition of imported value binding: errno Warning: global variable `zmq#message-mutex-set!' is never used Warning: global variable `zmq#poll-item-in-set!' is never used Warning: global variable `zmq#context-sockets-set!' is never used Warning: global variable `zmq#%poll-item-socket' is never used Warning: global variable `zmq#poll-item-out' is never used Warning: global variable `zmq#poll-item-out-set!' is never used Warning: global variable `zmq#%poll-item-events' is never used Warning: global variable `zmq#poll-item-in' is never used Warning: global variable `zmq#poll-item-pointer-set!' is never used Warning: global variable `zmq#context-pointer-set!' is never used Warning: global variable `zmq#g172' is never used Warning: global variable `zmq#poll-item-socket-set!' is never used Warning: global variable `zmq#g283' is never used Warning: global variable `zmq#zmq_poll_item_ref' is never used Warning: global variable `zmq#poll-item?' is never used Warning: global variable `zmq#g325' is never used Warning: global variable `zmq#g326' is never used Warning: global variable `zmq#g373' is never used Warning: global variable `zmq#g374' is never used Warning: global variable `zmq#g550' is never used /usr/bin/csc -feature compiling-extension -setup-mode -s -O2 zmq.import.scm csc: file `zmq.import.scm' does not exist make: Failed to make zmq.so: shell command failed with nonzero exit status Error: shell command failed with nonzero exit status 16384 "/usr/bin/csc -feature compiling-extension -setup-mode -s -O2 zmq.import.scm" Error: shell command terminated with nonzero exit code 17920 "/usr/bin/csi -bnq -setup-mode -e \"(require-library setup-api)\" -e \"(import s... ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Problems Installing the lookup-table Egg
On Fri, Dec 10, 2010 at 12:09 PM, Mario Domenech Goulart < mario.goul...@gmail.com> wrote: > Hi Ehsanul > > On Fri, 10 Dec 2010 08:43:33 -0500 Ehsanul Hoque wrote: > > > I'm just starting to learn Scheme, since I'm starting on SICP, and > > decided to try Chicken Scheme first. > > Welcome! :-) Thanks! =) > I'm having trouble installing a particular egg though, and have no > > idea how to resolve this issue. > > I could not reproduce the problem here (using x86 Debian, both chicken > 4.5.0 and 4.6.3). What chicken version are you using (chicken -version)? Sorry I hadn't mentioned all this information earlier. I'm using the chicken package from Ubuntu 10.04, so `chicken -version` tells me it's 4.2.0. I suppose it's recommended to compile the latest stable from source? ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Problems Installing the lookup-table Egg
On Fri, Dec 10, 2010 at 6:44 PM, Kon Lovett wrote: > > On Dec 10, 2010, at 3:03 PM, Ehsanul Hoque wrote: > > > > > Sorry I hadn't mentioned all this information earlier. I'm using the > chicken package from Ubuntu 10.04, so `chicken -version` tells me it's > 4.2.0. I suppose it's recommended to compile the latest stable from source? > > > Well, yes. Due to bug fixes mainly. Also some extensions are "bleeding > edge". > > Still, within a major version an extension should just work or say why > not; explicit component version perhaps. However, I know I fail this test > sometimes - as you discovered. > > BTW, the updated lookup-table:1.3.2 should be available now. > > Awesome, it works now. Thanks! I'll probably compile from source anyhow. I guess the zmq egg might just have the very same compatibility problem then? ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users