Skip to content

[Bioc-devel] Rgraphviz installation: collect2: ld returned 1 exit status

8 messages · J.J.Goeman at lumc.nl, Kasper Daniel Hansen, Dan Tenenbaum

#
On Sun, Jun 3, 2012 at 12:36 PM, <J.J.Goeman at lumc.nl> wrote:
Download this zip file:

http://www.stats.ox.ac.uk/pub/Rtools/goodies/Win64No_/graphviz64.zip

Create a directory called c:\graphviz\x64
and unzip the zip file in there so that you have
c:\graphviz\x64\bin and so forth.

Add c:\graphviz\x64\bin to the end of your PATH environment variable.
http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx

Dan
#
Dear Dan,

Thank you very much for your suggestion. I did as you write, but unfortunately I get exactly the same error message(s). Are there any further checks I could do to diagnose?

Best,

Jelle

-----Original Message-----
From: Dan Tenenbaum [mailto:dtenenba at fhcrc.org] 
Sent: maandag 4 juni 2012 1:20
To: Goeman, J.J. (MSTAT)
Cc: bioc-devel at r-project.org
Subject: Re: [Bioc-devel] Rgraphviz installation: collect2: ld returned 1 exit status
On Sun, Jun 3, 2012 at 12:36 PM, <J.J.Goeman at lumc.nl> wrote:
Download this zip file:

http://www.stats.ox.ac.uk/pub/Rtools/goodies/Win64No_/graphviz64.zip

Create a directory called c:\graphviz\x64 and unzip the zip file in there so that you have c:\graphviz\x64\bin and so forth.

Add c:\graphviz\x64\bin to the end of your PATH environment variable.
http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx

Dan
#
On Sun, Jun 3, 2012 at 11:06 PM, <J.J.Goeman at lumc.nl> wrote:
Sorry, I should have been more clear. The instructions I gave were for
installing a binary 64-bit graphviz, you you do not need to install
Rgraphviz from source. You should just be able to:

source("http://bioconductor.org/biocLite.R")
biocLite("Rgraphviz") ## don't specify type="source"

and now you should be able to R CMD check your package.

Dan
#
Hi Dan,

That works. Thanks a lot!

Is it worthwhile to document this installation option to the README for future users? I'm willing to write.

Best,

Jelle

-----Original Message-----
From: Dan Tenenbaum [mailto:dtenenba at fhcrc.org] 
Sent: maandag 4 juni 2012 8:35
To: Goeman, J.J. (MSTAT)
Cc: bioc-devel at r-project.org
Subject: Re: [Bioc-devel] Rgraphviz installation: collect2: ld returned 1 exit status
On Sun, Jun 3, 2012 at 11:06 PM, <J.J.Goeman at lumc.nl> wrote:
Sorry, I should have been more clear. The instructions I gave were for installing a binary 64-bit graphviz, you you do not need to install Rgraphviz from source. You should just be able to:

source("http://bioconductor.org/biocLite.R")
biocLite("Rgraphviz") ## don't specify type="source"

and now you should be able to R CMD check your package.

Dan
#
Yes, it is very worthwhile to do so.

Kasper
On Mon, Jun 4, 2012 at 9:47 AM, <J.J.Goeman at lumc.nl> wrote:
#
Dear Dan and Kasper,

I've attached an updated Rgraphviz README with added 64 bit windows section.

Best,

Jelle


-----Original Message-----
From: Kasper Daniel Hansen [mailto:kasperdanielhansen at gmail.com] 
Sent: maandag 4 juni 2012 10:29
To: Goeman, J.J. (MSTAT)
Cc: dtenenba at fhcrc.org; bioc-devel at r-project.org
Subject: Re: [Bioc-devel] Rgraphviz installation: collect2: ld returned 1 exit status

Yes, it is very worthwhile to do so.

Kasper
On Mon, Jun 4, 2012 at 9:47 AM, <J.J.Goeman at lumc.nl> wrote:
#
Hi Jelle,
On Mon, Jun 4, 2012 at 6:13 AM, <J.J.Goeman at lumc.nl> wrote:
Thanks very much for your contribution.
I've added it (with some edits) to Rgraphviz 1.34.1 (release) and
1.35.2 (devel).

Dan