[R-sig-Debian] A newbee problem compiling R in ubuntu.

Douglas Bates bates at stat.wisc.edu
Tue Feb 2 16:27:58 CET 2010


On Mon, Feb 1, 2010 at 7:50 PM, Ross Boylan <ross at biostat.ucsf.edu> wrote:
> On Mon, 2010-02-01 at 19:36 -0600, Dirk Eddelbuettel wrote:
>>
>> | If you type "dpkg-buildpackage -rfakeroot"  in the directory where
>> all
>> | that stuff got opened up (the one "above" the debian subdirectory),
>> it
> For dpkg-buildpackage I always use -D, which checks that the build
> dependencies are present.  Particularly if you're going through the
> build the first time, it's a great check.

Another option for installing the necessary dependencies without
actually doing the build of the Debian/Ubuntu package is

wajig build-depend r-base

which I think corresponds to

apt-get build-dep r-base


> The man page is unclear whether -D is part of the default behavior; I
> think I've found that it is not.
>
> I also use -uc -b, though your style may differ.  See man
> dpkg-buildpackage for more.
>
> -r is one option I don't use; at least on lenny, fakeroot is the
> default.
>
> Continuing my string of non-R specific responses....
>
> Ross
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>



More information about the R-SIG-Debian mailing list