[cells-gtk-devel] Mac OS X again

Peter Denno peter.denno at nist.gov
Mon Aug 28 22:25:44 UTC 2006


Hi,


On Monday 28 August 2006 09:21, Kai Kaminski wrote:
> Hi,
>
> I still can't get cells-gtk to compile in OpenMCL, but with SBCL
> 0.9.12 everything works (on Panther). It was quite straight-forward:
>
> 1) I finally remembered to start the X11 server and set DISPLAY. That
>    solved the problem of GTK-INIT-CHECK failing for no apparent
>    reason.
>
> 2) Compiling libcellsgtk was slightly more difficult.
>
>   2a) Install the development versions of all the GTK2 libs and their
>   dependencies. In particular, install the Fink package ATK1 and not
>   just ATK1-SHLIBS. Otherwise PKG-CONFIG won't work.
>
>   2b) Change the line
>
>       asm (".section .drectve");
>
>       to (it's the comma at the end)
>
>       asm (".section .drectve,");
>
>       Also change
>
>       gcc -shared -o libcellsgtk.so gtk-adds.o `pkg-config --cflags
>       --libs gtk+-2.0`
>
>       in Makefile to
>
>       gcc -dynamiclib -o libcellsgtk.so gtk-adds.o `pkg-config
>       --cflags --libs gtk+-2.0`
>
>
> I put up a description of the necessary steps as well as my
> libcellsgtk online at kaikaminski.gmxhome.de (excuse the popup, it's
> not mine). I reckon the changes outlined above should somehow be
> integrated into cells-gtk, but I'm not sure how to detect the
> OS. Autoconf seems like overkill.


Maybe separate files for Mac OS would be sufficient. I don't have a Mac, so if 
you could suggest something, we could add it to the distribution. 

I'll make reference to your web page on this in the FAQ. 

Thanks!
>
> Kai
> _______________________________________________
> cells-gtk-devel site list
> cells-gtk-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/cells-gtk-devel

-- 
- Best regards,
   Peter



More information about the cells-gtk-devel mailing list