Bug 177846 - dev-lang/R modules require media-libs/gd
Bug#: 177846 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: nshephard@gmail.com
Component: Ebuilds
URL: 
Summary: dev-lang/R modules require media-libs/gd
Keywords:  
Status Whiteboard: 
Opened: 2007-05-09 18:53 0000
Description:   Opened: 2007-05-09 18:53 0000
The statistical language dev-lang/R has a number of add-on modules (see CRAN at
http://cran.r-project.org/). One of these modules called GDD allows users to
create graphics on a headless server (i.e. without starting and X device to
display graphics, but requires media-libs/gd to compile.

Reproducible: Always

Steps to Reproduce:
1. # emerge dev-lang/R                # Emerge R
2. # R                                # Start R
3. > install.packages("GDD")          # Install the GDD package, select an 
                                      # appropriate mirror



Actual Results:  
config of GDD fails as gdlib-config can't be found.

Expected Results:  
Should compile and install.

Emerge media-libs/gd and then repeat steps 1-3 above and the GDD package
installs.  This is with R-2.5.0 .

I realise its tricky to resolve this because GDD is outside of portage, but
perhaps an apporiate USE flag could be available?

------- Comment #1 From Jakub Moc (RETIRED) 2007-05-09 19:13:08 0000 -------
*** Bug 177847 has been marked as a duplicate of this bug. ***

------- Comment #2 From Markus Dittrich 2007-05-10 12:57:47 0000 -------
Hi Neil,

Thanks for making us aware of this. I will have a look at it.

Best,
Markus

------- Comment #3 From Markus Dittrich 2007-05-11 13:32:56 0000 -------
Hi Neil,

I just added the "gd" useflag to the R-2.5.0 ebuild
and the GDD module installs fine now.

Thanks,
Markus

------- Comment #4 From Neil 2007-05-11 13:52:34 0000 -------
(In reply to comment #3)

> I just added the "gd" useflag to the R-2.5.0 ebuild
> and the GDD module installs fine now.

Great, thanks for the quick fix Markus,

Neil