Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Dirk Eddelbuettel
On 20 February 2006 at 13:07, Dirk Eddelbuettel wrote: | Precisely -- The trivial shell script I wrote actually calls | | cd /opt/JGR-1.3 && java -cp JGR.jar:. -Xmx512m org.rosuda.JGR.JGR $* | | as 'java' is handled The Right Way (TM) by Debian's update-alternatives(8). That came out wrong

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Dirk Eddelbuettel
On 20 February 2006 at 13:15, Simon Urbanek wrote: | | On Feb 20, 2006, at 12:01 PM, Dirk Eddelbuettel wrote: | | > There is other small gotcha. I used the .deb packages sun-j2se5.0- | > jdk-binary and sun-j2se5.0-jre-binary which may do things | > differently from other JRE/JDK. In any event

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Simon Urbanek
On Feb 20, 2006, at 12:01 PM, Dirk Eddelbuettel wrote: > There is other small gotcha. I used the .deb packages sun-j2se5.0- > jdk-binary and sun-j2se5.0-jre-binary which may do things > differently from other JRE/JDK. In any event JGR came with > /usr/lib/j2se5.0-sun//bin/java -cp JGR.jar:.

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Prof Brian Ripley
On Mon, 20 Feb 2006, Simon Urbanek wrote: > > On Feb 20, 2006, at 9:45 AM, Prof Brian Ripley wrote: > >> Dirk, >> >> It was even more wrong in R-devel, for there we have sub-architectures and >> it needs to be "-I${R_INCLUDE_DIR} -I${R_INCLUDE_DIR}${R_ARCH}". >> Fixed now, thanks. >> >> I don't

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Dirk Eddelbuettel
Simon, Markus, On 20 February 2006 at 11:31, Simon Urbanek wrote: | Dirk, | | On Feb 20, 2006, at 11:22 AM, Dirk Eddelbuettel wrote: | | > As you asked, the two failure were gnomeGUI which has a hardcoded | > $R_HOME/include which could get fixed, and JGR which isn't even on | > CRAN |

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Prof Brian Ripley
On Mon, 20 Feb 2006, Dirk Eddelbuettel wrote: > > Brian, Simon, > > On 20 February 2006 at 14:45, Prof Brian Ripley wrote: > | Dirk, > | > | It was even more wrong in R-devel, for there we have sub-architectures and > | it needs to be "-I${R_INCLUDE_DIR} -I${R_INCLUDE_DIR}${R_ARCH}". > | Fixed now

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Simon Urbanek
Dirk, On Feb 20, 2006, at 11:22 AM, Dirk Eddelbuettel wrote: > As you asked, the two failure were gnomeGUI which has a hardcoded > $R_HOME/include which could get fixed, and JGR which isn't even on > CRAN Thanks for pointing this out. JGR is a completely different beast and unfortunate

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Dirk Eddelbuettel
(resending, had the CC header foobar'ed. My bad --Dirk) Brian, Simon, On 20 February 2006 at 14:45, Prof Brian Ripley wrote: | Dirk, | | It was even more wrong in R-devel, for there we have sub-architectures and | it needs to be "-I${R_INCLUDE_DIR} -I${R_INCLUDE_DIR}${R_ARCH}".

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Simon Urbanek
On Feb 20, 2006, at 9:45 AM, Prof Brian Ripley wrote: > Dirk, > > It was even more wrong in R-devel, for there we have sub- > architectures and > it needs to be "-I${R_INCLUDE_DIR} -I${R_INCLUDE_DIR}${R_ARCH}". > Fixed now, thanks. > > I don't think there is any problem in R.sh.in. > > Brian > >

Re: [Rd] R CMD config --cppflags buglet

2006-02-20 Thread Prof Brian Ripley
Dirk, It was even more wrong in R-devel, for there we have sub-architectures and it needs to be "-I${R_INCLUDE_DIR} -I${R_INCLUDE_DIR}${R_ARCH}". Fixed now, thanks. I don't think there is any problem in R.sh.in. Brian On Mon, 20 Feb 2006, Dirk Eddelbuettel wrote: > > As you may recall, a Debi