Displaying 2 results from an estimated 2 matches for "tmpbuild".
Did you mean:
rpmbuild
2010 Feb 18
2
Where does install.R go when R gets compiled? Or, how to experiment with changes to install.R?
Hello, everybody.
I apologize if this is obvious. I've not tried to make changes in R
code within the R source itself before.
I'm pursuing an experiment to make RPM files for R packages
on-the-fly. Any time I install an R package successfully, I want to
wrap up those files in an RPM. Basically, the idea is to "hack" an
option similar to --build for R CMD INSTALL.
I observe
2010 Jan 12
1
rgl: bogus configure[.ac] (PR#14183)
...41.44.24.14)
The configure.ac is bogus, since it does not include additional library pathes
at the right place and thus fails. E.g.:
$R_HOME/bin/R CMD INSTALL -l $PROTO/R/library \
--configure-args='--with-gl-includes=/usr/X11/include/NVIDIA
--with-gl-libs=/usr/X11/lib/NVIDIA/amd64' $TMPBUILD
And thus configure tries: cc ... -lGL -L/usr/X11/lib/NVIDIA/amd64
which obviously fails: the path needs to be placed before -l...
So the correct way is to add the path to LD_FLAGS instead of LIBS.
To get the path at the correct place into the to PKG_LIBS limitted Makevars,
one
needs to add the pa...