My favorites | Sign in
Project Logo
                
Search
for
Updated Aug 29, 2007 by h.wickham
DevInstallGuide  

Install Ggobi & Rggobi (for developers)

Requirements:

  • Gtk2
  • gob2 2.0.14 (GObject Builder)
  • libxml2
  • R (if installing Rggobi)
  • Subversion(svn)
  • libtool 1.15.22
  • automake (1.9.6 is good)
  • gettext 0.14.5
  • gtk-doc
  • Vala
  • libgsf

for Mac specific notes on installing requirements see bottom of page

Steps:

svn co http://ggobi.org/svn/ggobi/ggobi/trunk ggobi
cd ggobi
./bootstrap
./configure --enable-debug 
make

After the first time run svn up then make

You can then run ggobi using ./ggobi

Installing rggobi

You first must have GGobi installed (eg. sudo make install. Make sure you have the following environmental variables set:

DISPLAY=0.0.0.0:0

Note: The exact commands depends on what type of shell you are running, so you'd modify the above by either preceding with "setenv " and dropping the "=", OR "export ".

Then

svn co http://www.ggobi.org/svn/ggobi/interface/rggobi/trunk/rggobi 
cd rggobi
aclocal
autoconf # you should only need to run these steps the first time you download it
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ R CMD INSTALL .

Then run library(rggobi) from within R.

Mac specific notes

Make sure you have the latest version (>= 2.4) of Xcode, and X11 installed from your install dvd.

I'd recommend MacPorts to install the requirements. After you have installed macports, run the following code:

sudo port install gtk2 gtk-doc libxml2 automake libtool graphviz subversion
ln -s /opt/local/bin/glibtool /opt/local/bin/libtool
ln -s /opt/local/bin/glibtoolize /opt/local/bin/libtoolize

You will need to install gob2 by hand (eg. download, ./configure;make;sudo make install)


Comment by mj.vandenberg, Sep 11, 2007

The new repository is: svn://ggobi.org/ggobi

Comment by mj.vandenberg, Sep 11, 2007

The new repository is: svn://ggobi.org/ggobi

Comment by mj.vandenberg, Sep 11, 2007

The new repository is: svn://ggobi.org/ggobi

Comment by visnut, Feb 11, 2008

I've just managed to successfully install ggobi on my intel Mac, following these instructions. One change: I had to use "sudo ln -s ..." to set the symbolic links.

Having some trouble with plugins: looked at ./configure --help to see options and tried ./configure --with-plugins but it looks like it didn't build them. GGobi starts fine, though, with a few warnings about trying to load non-existent plugins.

Comment by visnut, Feb 11, 2008

Ok, ./configure --with-all-plugins works beautifully, and installs DescribeDisplay? and ggvis plugins.

Comment by visnut, Feb 11, 2008

Just realized additional instructions from Hadley were used:

- although you now need vala, which you can download, ./configure etc from http://live.gnome.org/Vala

Comment by visnut, Feb 11, 2008

Plus: export PATH="/opt/local/bin:/opt/local/sbin:$PATH:/usr/local/sbin:/usr/local/bin:$HOME/documents/bash:/usr/local/ggobi/bin:"

Comment by azrahim, Aug 17, 2009

is there any way to get the installer call for GGOBI and GTK to enable me to combine them in 1 installer? Where can I go to get the installer code? currently, for windows, I need to separately install, but I want to install as 1 package - not 2. Can this be done and any guidance on how? Thanks.


Sign in to add a comment
Hosted by Google Code