On 10/8/07, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 08, 2007 at 02:08:54PM -0500, Chris Lawrence wrote:
> > On 10/8/07, Dirk Eddelbuettel <[EMAIL PROTECTED]> wrote:
> > > Were you doing this in a pbuilder chroot, or in a normal session?
> > >
> > > I have built numerous packages since I added the change, but all in 
> > > pbuilder,
> > > and none may have had /usr/bin/java.
> >
> > I was doing it in a normal session (although under fakeroot); my
> > pbuilder chroot is set up for i386 and I haven't bothered changing it.
> >  I wouldn't expect java to show up in a chroot normally anyway.
>
> That's the point of that change. In a pbuilder, I can safely run R CMD
> javareconf because the system that pbuilder run in is transient.
>
> On a 'live system', as you used, it is much harder.  And I do not have a good
> answer for this.  Simon invented R CMD javareconf because Java settings can
> change so damn much, adn R needs them 'normalised' to build Java packages. I 
> am
> still not quite sure what to do here.
>
> Simon:  Should I try to real surgery and try capture what 'R CMD javareconf 
> -n'
> emits, and then export all that?   I.e. get the benefit of the javareconf run
> without writing to /etc/R/Makeconf which I may not be allowed to touch?

I'm wondering if there's some way to isolate the need to run R CMD
javareconf to packages that use Java when building... maybe a custom
version of R-cran.mk (R-cran-java.mk?) that is used when building
things that use Java?

The only difficulty is trying to figure out what things need Java
automatically... parsing debian/control to find out if the package
needs java-something to build, possibly?


Chris



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to