chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Can't import iup-web


From: Matt Gushee
Subject: [Chicken-users] Can't import iup-web
Date: Mon, 12 Mar 2012 14:05:47 -0600

Hello all--

I am trying to learn to use the IUP egg, and was working my way
through Juergen Lorenz's tutorial (thanks for that, BTW). Everything
went fine until I tried to load the 'inspector.scm' example--I got an
error indicating that iup-web could not be imported. Here's an example
of what happens:

> $ csi
> 
> CHICKEN
> (c)2008-2011 The Chicken Team
> (c)2000-2007 Felix L. Winkelmann
> Version 4.7.0 
> linux-unix-gnu-x86 [ manyargs dload ptables ]
> compiled 2011-06-13 on  (Linux)
> 
> ; loading /home/matt/.csirc ...
> ; loading /usr/lib/chicken/6/readline.import.so ...
> ; loading /usr/lib/chicken/6/scheme.import.so ...
> ; loading /usr/lib/chicken/6/chicken.import.so ...
> ; loading /usr/lib/chicken/6/foreign.import.so ...
> ; loading /usr/lib/chicken/6/ports.import.so ...
> ; loading /usr/lib/chicken/6/data-structures.import.so ...
> ; loading /usr/lib/chicken/6/posix.import.so ...
> ; loading /usr/lib/chicken/6/readline.so ...
> ; loading /usr/lib/chicken/6/apropos.import.so ...
> ; loading /usr/lib/chicken/6/srfi-1.import.so ...
> ; loading /usr/lib/chicken/6/srfi-13.import.so ...
> ; loading /usr/lib/chicken/6/regex.import.so ...
> ; loading /usr/lib/chicken/6/irregex.import.so ...
> ; loading /usr/lib/chicken/6/extras.import.so ...
> ; loading /usr/lib/chicken/6/csi.import.so ...
> ; loading /usr/lib/chicken/6/miscmacros.import.so ...
> ; loading /usr/lib/chicken/6/memoized-string.import.so ...
> ; loading /usr/lib/chicken/6/lookup-table.import.so ...
> ; loading /usr/lib/chicken/6/srfi-69.import.so ...
> ; loading /usr/lib/chicken/6/type-checks.import.so ...
> ; loading /usr/lib/chicken/6/type-errors.import.so ...
> ; loading /usr/lib/chicken/6/record-variants.import.so ...
> ; loading /usr/lib/chicken/6/unicode-utils.import.so ...
> ; loading /usr/lib/chicken/6/symbol-utils.import.so ...
> ; loading /usr/lib/chicken/6/apropos.so ...
> ; loading /usr/lib/chicken/6/regex.so ...
> ; loading /usr/lib/chicken/6/symbol-utils.so ...
> ; loading /usr/lib/chicken/6/type-checks.so ...
> ; loading /usr/lib/chicken/6/type-errors.so ...
> ; loading /usr/lib/chicken/6/memoized-string.so ...
> ; loading /usr/lib/chicken/6/lookup-table.so ...
> ; loading /usr/lib/chicken/6/unicode-utils.so ...
> csi> (use iup)
> ; loading /usr/lib/chicken/6/iup.import.so ...
> ; loading /usr/lib/chicken/6/iup-base.import.scm ...
> ; loading /usr/lib/chicken/6/lolevel.import.so ...
> ; loading /usr/lib/chicken/6/srfi-42.import.so ...
> ; loading /usr/lib/chicken/6/iup-controls.import.scm ...
> ; loading /usr/lib/chicken/6/iup-dialogs.import.scm ...
> ; loading /usr/lib/chicken/6/iup.so ...
> ; loading /usr/lib/chicken/6/srfi-42.so ...
> csi> (use iup-web)
> ; loading /usr/lib/chicken/6/iup-web.import.scm ...
> 
> Error: (require) cannot load extension: iup-web
> 
>         Call history:
> 
>         <syntax>          (##core#undefined)
>         <syntax>          (##sys#register-compiled-module (quote
> iup-web) (list) (quote ((web-browser . iup-web#web-browser)))...
> <syntax>          (quote iup-web) <syntax>          (##core#quote
> iup-web) <syntax>          (list)
>         <syntax>          (quote ((web-browser .
> iup-web#web-browser))) <syntax>          (##core#quote
> ((web-browser . iup-web#web-browser))) <syntax>          (list)
>         <syntax>          (list)
>         <eval>    (##sys#register-compiled-module (quote iup-web)
> (list) (quote ((web-browser . iup-web#web-browser)))... <eval>
> (list) <eval>    (list)
>         <eval>    (list)
>         <syntax>          (##core#undefined)
>         <syntax>          (##core#undefined)
>         <eval>    (##sys#require (quote iup-web))       <--
> csi>

I'm afraid I don't understand very well how to interpret chicken error
messages, but I investigated a couple of guesses as to the nature of
the problem, and found:

 * Was there a problem w/ the installation of the iup egg? I
   reinstalled it with

      chicken-install -debug iup

   but there were no error messages.

 * Was there something wrong w/ the iupweb shared library? I downloaded
   the IUP examples collection from Tecgraf. The following:

     gcc -o webbrowser webbrowser.c -liup -liupweb

   worked w/o errors, and produced a fully functional if minimal web
   browser.

So I have no idea what else could be the problem.

I have Chicken 4.7.0 and IUP 3.5.4 on Arch Linux (recently updated).

Any help would be much appreciated.

-- 
Matt Gushee
address@hidden



reply via email to

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