Your GTK+ installation is not being found: check your PATH.

On Wed, 26 Jan 2011, Tal Galili wrote:

Hello Prof Brian Ripley, Yihui and Tom,

Thank you for your suggestions.  It seemed to have made some differences in
the error massages - but rggobi still fails to load.

Steps taken:
1) I removed the old GTK (through the uninstall interface)
2) I ran  library(RGtk2) which downloaded the new GTK-runtime
version 2.22.0-2010-10-21 (instead of the one I got from ggobi, which
was 2.12.9-2).
3) I downloaded both
ftp://ftp.zlatkovic.com/libxml/libxml2-2.7.7.win32.zip and 
ftp://ftp.zlatkovic.com/libxml/iconv-1.9.2.win32.zip
Unzipped them, and moved their dll's (from their bin directory), into - 
C:\Program Files (x86)\GTK2-Runtime\bin
4) I then tried starting rggobi:  library(rggobi)  and got the following
error massages:

Error 1:
      the program can't start because 
libgdk-win32-2.0-0.dll
is missing from your computer.
Try reinstalling the program to fix this problem.

It then tried to reinstall GTK, and after I refused to, it sent the second
Error massage:
      the program can't start because 
libfreetype-6.dll
is missing from your computer.
Try reinstalling the program to fix this problem.



Any suggestions what else I should try?

Many thanks for helping,
Tal




----------------Contact
Details:-------------------------------------------------------
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
---------------------------------------------------------------------------
-------------------




On Wed, Jan 26, 2011 at 9:17 AM, Prof Brian Ripley <rip...@stats.ox.ac.uk>
wrote:
      On Tue, 25 Jan 2011, Tom La Bone wrote:

            I recall that my problem on Windows was related to
            having a number of stray
            versions of GTK+ installed. I went back and deleted
            all versions and
            reinstalled the latest GTK+ and that seemed to fix
            things. However, when I
            went to do any work of substance ggobi locked up and
            became unresponsive.
            Never did get it working right on Windows. Had much
            more luck with R/ggobi
            on Ubuntu 10.10.


I've just been setting rggobi up for our classroom.  It seems that on
Windows we now need to use Rgui in SDI mode to run rggobi without
lookups.  (That was not the case last year, so it might be due to the
change in GTK+ version or it might be due to the change from XP to x64
Windows 7 on those machines.)

The rggobi binary on CRAN extras is statically linked against
everything except GTK+, but the www.ggobi.org ggobi DLL needs both
GTK+ DLLs and libxml2.dll (which needs iconv.dll and zlib1.dll). Late
last year there was a problem in that GTK+ and libxml2.dll needed
different zlib1.dll's, but AFAICS this is now resolved by using
ftp://ftp.zlatkovic.com/libxml/libxml2-2.7.7.win32.zip and
ftp://ftp.zlatkovic.com/libxml/iconv-1.9.2.win32.zip.  (Unpack those
and drop the DLLs into somewhere on your path, e.g. the GTK+ bin
directory.)

We've had a lot of trouble over zlib1.dll: those prepared from zLib
1.2.3 and 1.2.5 are incompatible.  The whole point of the '1' in the
name is to change the name in that case!  I suspect very few of those
benefitting from Windows binary packages have any idea how much work
goes into circumventing such issues.


--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.





--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to