[Chicken-users] IUP

2012-07-13 Thread Andy Bennett
Hi,

I'm trying to use the iup egg.

I had some trouble with chicken-install because I didn't have ffcall,
but that's resolved now.

I persuaded iup itself to install into /usr/local/ rather than /usr/ and
added -I/usr/local/include/iup/ to the compile calls in the iup.setup
file.

Now, when I try to (use iup) in csi I get this:

-
#;1 (use iup)
; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup-base.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/lolevel.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/srfi-42.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/irregex.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup-controls.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup-dialogs.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup.so ...

Error: (load) unable to load compiled module - libim.so: cannot open
shared object file: No such file or directory:
/usr/local/chicken-4.7.0/lib/chicken/6/iup.so

Call history:

syntax  (quote iup)
syntax  (##core#quote iup)
syntax  (import iup)
syntax  (import scheme chicken (except iup-base
ihandle-pointer pointer-ihandle ihandle-list-pointer-vect..
syntax  (import scheme chicken foreign lolevel
data-structures extras srfi-1 srfi-13 srfi-42 irregex (only p..
syntax  (import scheme (except chicken :) srfi-1)
syntax  (##core#undefined)
syntax  (##core#undefined)
syntax  (import scheme chicken foreign iup-base)
syntax  (##core#undefined)
syntax  (import scheme chicken foreign iup-base)
syntax  (##core#undefined)
syntax  (##core#undefined)
syntax  (##core#undefined)
syntax  (##core#undefined)
eval(##sys#require (quote iup))   --
#;1
-

I don't seem to have libim.so anywhere on my system, and it doesn't seem
to be part of the iup distribution that I installed
(iup-3.6_Linux26g4_64_lib.tar.gz).


Does anyone have any ideas where libim.so is supposed to come from?



Regards,
@ndy

-- 
andy...@ashurst.eu.org
http://www.ashurst.eu.org/
0x7EBA75FF


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] IUP

2012-07-13 Thread Daniel Leslie
Getting IUP working outside of Windows was a bit of a headache for me, too.

IIRC, along with ffcall you'll need to install:
http://sourceforge.net/projects/imtoolkit/
http://www.tecgraf.puc-rio.br/cd/
http://www.tecgraf.puc-rio.br/iup/

This page is somewhat helpful in getting CD to build:
http://www.tecgraf.puc-rio.br/cd/en/download_tips.html

Good luck!
-Dan

On Fri, Jul 13, 2012 at 4:06 PM, Andy Bennett andy...@ashurst.eu.orgwrote:

 Hi,

 I'm trying to use the iup egg.

 I had some trouble with chicken-install because I didn't have ffcall,
 but that's resolved now.

 I persuaded iup itself to install into /usr/local/ rather than /usr/ and
 added -I/usr/local/include/iup/ to the compile calls in the iup.setup
 file.

 Now, when I try to (use iup) in csi I get this:

 -
 #;1 (use iup)
 ; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup.import.so ...
 ; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup-base.import.so ...
 ; loading /usr/local/chicken-4.7.0/lib/chicken/6/lolevel.import.so ...
 ; loading /usr/local/chicken-4.7.0/lib/chicken/6/srfi-42.import.so ...
 ; loading /usr/local/chicken-4.7.0/lib/chicken/6/irregex.import.so ...
 ; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup-controls.import.so...
 ; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup-dialogs.import.so ...
 ; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup.so ...

 Error: (load) unable to load compiled module - libim.so: cannot open
 shared object file: No such file or directory:
 /usr/local/chicken-4.7.0/lib/chicken/6/iup.so

 Call history:

 syntax  (quote iup)
 syntax  (##core#quote iup)
 syntax  (import iup)
 syntax  (import scheme chicken (except iup-base
 ihandle-pointer pointer-ihandle ihandle-list-pointer-vect..
 syntax  (import scheme chicken foreign lolevel
 data-structures extras srfi-1 srfi-13 srfi-42 irregex (only p..
 syntax  (import scheme (except chicken :) srfi-1)
 syntax  (##core#undefined)
 syntax  (##core#undefined)
 syntax  (import scheme chicken foreign iup-base)
 syntax  (##core#undefined)
 syntax  (import scheme chicken foreign iup-base)
 syntax  (##core#undefined)
 syntax  (##core#undefined)
 syntax  (##core#undefined)
 syntax  (##core#undefined)
 eval(##sys#require (quote iup))   --
 #;1
 -

 I don't seem to have libim.so anywhere on my system, and it doesn't seem
 to be part of the iup distribution that I installed
 (iup-3.6_Linux26g4_64_lib.tar.gz).


 Does anyone have any ideas where libim.so is supposed to come from?



 Regards,
 @ndy

 --
 andy...@ashurst.eu.org
 http://www.ashurst.eu.org/
 0x7EBA75FF


 ___
 Chicken-users mailing list
 Chicken-users@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/chicken-users

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] IUP

2012-07-13 Thread Andy Bennett
On 14/07/12 00:26, Daniel Leslie wrote:
 Getting IUP working outside of Windows was a bit of a headache for me, too.
 
 IIRC, along with ffcall you'll need to install:
 http://sourceforge.net/projects/imtoolkit/ 
 http://www.tecgraf.puc-rio.br/cd/ 
 http://www.tecgraf.puc-rio.br/iup/ 
 
 This page is somewhat helpful in getting CD to build:
 http://www.tecgraf.puc-rio.br/cd/en/download_tips.html 

Thanks!
I downloaded the prebuilt binaries and installed them as well.

...there doesn't seem to be a libwebkit for Debian Wheezy: only a gtk
version so I tried to disable all the web stuff in the iup.setup file.

Having done that and got a completed build I tried again:

-
#;1 (use iup)
; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup-base.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/lolevel.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/srfi-42.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/irregex.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup-controls.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup-dialogs.import.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/iup.so ...
; loading /usr/local/chicken-4.7.0/lib/chicken/6/srfi-42.so ...
Segmentation fault
-


Oh dear... :-(



Thanks for your help.






Regards,
@ndy

-- 
andy...@ashurst.eu.org
http://www.ashurst.eu.org/
0x7EBA75FF


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users