Hi all,

I rebuilt R from source and get the same error as before. Please tell me if
I am using the correct gcc if anyone knows:

tony-chiangs-computer:~ tonychiang$ gcc --version
i686-apple-darwin8-gcc-4.0.3 (GCC) 4.0.3
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Incidently, I tried to see if I could use the graphviz tools itself with an
example I found here (search for class.dot):

http://www.ffnn.nl/pages/articles/media/uml-diagrams-using-graphviz-dot.php

and I get the same error I got when trying to load Rgraphviz:

tony-chiangs-computer:~/src/test tonychiang$ dot -T png -o class.png
class.dot
dyld: Library not loaded: /usr/local/lib/graphviz/libgcc_s.1.0.dylib
  Referenced from: /usr/local/lib/graphviz/libgvc.2.dylib
  Reason: image not found
Trace/BPT trap

Which makes me suspect that this might be an issue with the graphviz 2.8???

I would be very interested to know if others can install from this dmg and
run the example for class.dot.

Thanks,
--Tony


On 2/8/07, Seth Falcon <sfalcon@fhcrc.org> wrote:
>
> "Tony Chiang" <tchiang@fhcrc.org> writes:
>
> > Hi all,
> >
> > There seems to be a whole lot of discussion on this topic...and after
> > reading the previous post, I can see that this is something that is
> pretty
> > non-trivial.
> >
> > So here is my not being able to install Rgraphviz problem:
> >
> > I have installed graphviz 2.8 from the dmg available at
> > http://r.research.att.com/ as well as glib/gtk 1.2.10 yesterday, and
> have
> > just build R-2.5 from source...so I am pretty sure that I have all the
> up to
> > date versions of things. biocLite("Rgraphviz", type="source") is able to
> > download and install the package, but I cannot seem to use the
> > package:
>
> If you have built R from source, then you will probably have the best
> luck building graphviz from source as well to ensure that R and
> graphviz use the same compilers.  Building graphviz from source may be
> non-trivial as it probably requires various non-default devel
> tools/libs.
>
> So one thing to try is to build the latest graphviz 2.12 from source.
>
> Or you can download and install the gcc that was (presumably) used to
> build the graphviz 2.8 binary package and rebuild R with that.  I
> _think_ that would get things going as well.
>
> + seth
>

	[[alternative HTML version deleted]]

