Skip to content

[Ggobi-help] building ggobi on OS X: gtk+/xfree86 problem

8 messages · George Ostrouchov, Hadley Wickham, Byron Ellis +2 more

#
The "fink install gtk+" script gives me two choices for xfree86: install 
a Fink version or keep the Panther version and tell Fink. Can anyone 
comment on their experience of which is better with RGgobi and any other 
R packages?

Thanks,
George
George Ostrouchov wrote:

            
#
Hi George,

I've always used the Panther version - however, once you've got the
development toolkit installed and ggobi compiled, it seems to work
equally well with either.  I prefer the Panther X11 as it tends to
integrate slightly nicer with the rest of OS X.  Apart from that, I
haven't noticed any differences (not that I can claim to have used
either extensively)

In the slightly longer term, I think the ggobi team is aiming to
produce mac binary build so that this shouldn't be a problem anymore.

Hadley


On Tue, 15 Mar 2005 15:35:01 -0500, George Ostrouchov
<ostrouchovg@ornl.gov> wrote:
#
You can actually build a Mac version without fink by using the Open 
Darwin packages (they use standard Mac .pkg files so you could 
conceivably create a ggobi mpkg) for the gtk dependencies. I managed to 
do it last December. There are some problems with various plugins 
unrelated to those packages, but thats a different issue. :-)

I'm pretty sure you need, dlcompat, gtk, iconv and perhaps others along 
with the Panther X11.
On Mar 15, 2005, at 2:10 PM, hadley wickham wrote:

            
---
Byron Ellis (ellis@stat.harvard.edu)
"Oook" -- The Librarian
#
Which version of gtk did you use? gtk-1.x, gtk-2.x, or gtk-osx 
(apparently gtk-1.x in carbon)

George
Byron Ellis wrote:

            
#
IIRC ggobi uses gtk-1.x. The gtk-osx package is reportedly flaky so I 
used the X11 version.
On Mar 16, 2005, at 11:32 AM, George Ostrouchov wrote:

            
---
Byron Ellis (ellis@stat.harvard.edu)
"Oook" -- The Librarian
#
On Mar 16, 2005, at 2:32 PM, George Ostrouchov wrote:

            
gtk-osx doesn't quite work. It compiles, but some widgets are invisible 
making any sensible use impossible. Presumably either X11 version for 
gtk should work. Some while ago built a self-contained Mac OS X 
installer for ggobi including local gtk+ which worked fine (I didn't 
use any plugins, though). If there is need for such, I could build one 
off the most recent ggobi release...

Cheers,
Simon
#
Byron Ellis wrote:
GGobi itself can be compiled with gtk-2.*, and most of the things 
work. Rggobi uses RGtk and  RGtk is _currently_ only for gtk-1.2.
Therefore, for Rggobi, you want gtk-1.2.

gtk-config --cflags
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include
gtk-config --version
1.2.10


There have been issues for some people when they end up with the glib pointing
to a Framework. Unfortunately, I am not certain how they ended up with that
configuration. 

gtk-osx is not really flaky, as partial/spotty/incomplete.
So it is not even close to viable for a build of ggobi.

  
    
#
Simon Urbanek wrote:
I too have built an installer, but was waiting to find time
to handle the plugins as optional, selectable units.
It would be great if you could send me the code for your installer
so that we can consolidate, etc. and use the sum of the parts....

Thanks,
 D.