[cells-gtk-devel] Re: Cells-gtk]

Kenny Tilton ktilton at nyc.rr.com
Fri May 27 00:13:20 UTC 2005



Peter Denno wrote:

>On Thursday 26 May 2005 17:05, rm at seid-online.de wrote:
>  
>
>>On Thu, May 26, 2005 at 04:52:59PM -0400, Peter Denno wrote:
>>    
>>
>>>On Thursday 26 May 2005 15:19, Kenny Tilton wrote:
>>>      
>>>
>>>>Fred Gilham wrote:
>>>>        
>>>>
>>>>>Just FYI, I tried running cells-gtk under CMUCL and FreeBSD.  I got it
>>>>>to compile by fiddling with the library pathnames in gtk-ffi.lisp and
>>>>>creating links in /usr/local/lib to all the necessary C libraries.
>>>>>          
>>>>>
>>>The way we look for gtk libraries is quite flawed. It didn't even work on
>>>my system after a minor OS update. Does anyone here have ideas or
>>>examples of how to do this better?
>>>      
>>>
>>Hmm, i can't speak for all OSs but at least for Linux and BSD one should
>>_not_ provide a path to the call to dlopen (unless one really needs to load
>>a library from a nonstandard place).
>>    
>>
>
>Hi Ralf,
>
>Thanks. I think you mentioned this before, but now it is starting to sink in. 
>It works (just loading "libglib-2.0.so" etc). So for linux/cmucl at least, we 
>don't need all this searching for paths to the libraries.
>
>I'll need to check what lispworks and allegro are doing.
>
>For each of macosx and windows we look in only one place for the libraries.
>
Oy, this discussion reminds me that I have been meaning to extend hello-c to Just Work(tm) on loading libraries. Back when Cello got ported to Linux, Frank Goenninger added a bunch of fancy code to Cello to get libraries loaded. I had the same thought then: let's do this in Hello-C, not Cello or Cells-Gtk.

Gee, for once the Open Source fairy is whining at other people to do work for him. :) But seriously, please, whoever tackles this, put any fixes in Hello-C and send me what you do and I will commit it to Hello-C.

thx, kenzo


-- 
Cells? : http://www.common-lisp.net/project/cells/
Cello? : http://www.common-lisp.net/project/cello/
Cells-Gtk? : http://www.common-lisp.net/project/cells-gtk/
Why Lisp? http://lisp.tech.coop/RtL%20Highlight%20Film

"Doctor, I wrestled with reality for forty years, and I am happy to state that I finally won out over it." -- Elwood P. Dowd






More information about the cells-gtk-devel mailing list