chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] IUP egg fails to build


From: Matt Gushee
Subject: [Chicken-users] IUP egg fails to build
Date: Sun, 10 Oct 2010 09:38:02 -0600

Hi, all--

I was browsing the Chicken wiki last night and became aware of the IUP
egg. I'm really glad to see this, since the lack of a good GUI library
was one of the few issues keeping me from making a strong commitment to
using Chicken. Thanks to Thomas for creating the egg!

Anyway, I have Chicken 4.6.0 and IUP 3.2 on Arch Linux (32-bit, if that
matters). I'm not using the Arch package for Chicken, though; I compiled
it from the tarball. When I try to install the iup egg, I get an error
message stating that IUP was not found. But I definitely have it--I
installed it last night, using an unsupported Arch package. It is under
/usr.

So I opened a REPL to do some troubleshooting, and this is what I found:

> $ csi
> 
> CHICKEN
> (c)2008-2010 The Chicken Team
> (c)2000-2007 Felix L. Winkelmann
> Version 4.6.0 
> linux-unix-gnu-x86 [ manyargs dload ptables ]
> compiled 2010-10-04 on swordfish (Linux)
> 
> ; loading ./.csirc ...
> ; loading /opt/chicken/lib/chicken/5/readline.import.so ...
> ; loading /opt/chicken/lib/chicken/5/scheme.import.so ...
> ; loading /opt/chicken/lib/chicken/5/chicken.import.so ...
> ; loading /opt/chicken/lib/chicken/5/foreign.import.so ...
> ; loading /opt/chicken/lib/chicken/5/ports.import.so ...
> ; loading /opt/chicken/lib/chicken/5/data-structures.import.so ...
> ; loading /opt/chicken/lib/chicken/5/posix.import.so ...
> ; loading /opt/chicken/lib/chicken/5/readline.so ...
> ; loading /opt/chicken/lib/chicken/5/apropos.import.so ...
> ; loading /opt/chicken/lib/chicken/5/srfi-13.import.so ...
> ; loading /opt/chicken/lib/chicken/5/regex.import.so ...
> ; loading /opt/chicken/lib/chicken/5/lolevel.import.so ...
> ; loading /opt/chicken/lib/chicken/5/extras.import.so ...
> ; loading /opt/chicken/lib/chicken/5/csi.import.so ...
> ; loading /opt/chicken/lib/chicken/5/type-checks.import.so ...
> ; loading /opt/chicken/lib/chicken/5/type-errors.import.so ...
> ; loading /opt/chicken/lib/chicken/5/apropos.so ...
> ; loading /opt/chicken/lib/chicken/5/type-checks.so ...
> ; loading /opt/chicken/lib/chicken/5/type-errors.so ...
> csi> (require-extension setup-api)
> ; loading /opt/chicken/lib/chicken/5/setup-api.import.so ...
> ; loading /opt/chicken/lib/chicken/5/utils.import.so ...
> ; loading /opt/chicken/lib/chicken/5/srfi-1.import.so ...
> ; loading /opt/chicken/lib/chicken/5/files.import.so ...
> ; loading /opt/chicken/lib/chicken/5/setup-api.so ...
> csi> (find-library "callback" "alloc_trampoline_r")
> #f
> csi> (find-library "iup" "IupOpen")
> #t
> csi> (find-library "iupim" "IupLoadImage")
> #t
> csi> (find-library "iupimglib" "IupImageLibOpen")
> #t

So apparently "callback" is missing. I can't find any callback.h on my
system, nor is there an "alloc_trampoline_r" symbol in any headers under
/usr/include or /opt/chicken/include. So how can I fix this?

-- 
Matt Gushee
address@hidden



reply via email to

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