[rkward-devel] C stack usage too close to the limit

Prasenjit Kapat kapatp at gmail.com
Fri Apr 20 01:09:35 UTC 2007


Hi,

Latest modification to svn builds fine and installs fine too :) Great.

On 4/19/07, Thomas Friedrichsmeier
<thomas.friedrichsmeier at ruhr-uni-bochum.de> wrote:
> And so you don't get any problems with the C stack limit? I just

No.

> asked the same of Roberto in private mail. Maybe for comparison purposes,
> could you try
>
> Cstack_info()
> in both a plain session of R and in rkward on this machine?

Plain session of R (from konsole):
Cstack_info()
      size    current  direction eval_depth
   8388608       4164          1          2

>From R Console in rkward:
Cstack_info()
      size    current  direction eval_depth
   8388608       8644          1          2


> > And it leads to the earlier mentioned issue of dependency on R-2.4.9
>
> When did you try? I made another small change around two hours ago. If you get
> anything from svn up, could you try again?

I just updated the working copy and it builds as well as installs
(dpkh -i) nicely. There was one weired error though during the build
process:

[snip]

make[4]: Entering directory
`/home/roland/packages/rkward/trunk/rkward/rkward/rbackend/rpackages'
Makefile:661: warning: overriding commands for target `distclean'
Makefile:589: warning: ignoring old commands for target `distclean'
mkdir -p tmp ; \
        OLDTMP=$TMPDIR ; \
        export TMPDIR=`pwd`/tmp ; \
        /usr/lib/R/bin/R CMD INSTALL -l
/home/roland/packages/rkward/trunk/rkward/debian/rkward//usr/local/lib/R/site-library
rkward ; \
        export TMPDIR=$OLDTMP
mkdir: cannot create directory
`/home/roland/packages/rkward/trunk/rkward/rkward/rbackend/rpackages/tmp/R.INSTALL.6571-0419204514':
Permission denied
mkdir: cannot create directory
`/home/roland/packages/rkward/trunk/rkward/rkward/rbackend/rpackages/tmp/R.INSTALL.6571':
Permission denied
ERROR: cannot create temporary directory
cd: 99: can't cd to
/home/roland/packages/rkward/trunk/rkward/rkward/rbackend/rpackages/tmp/R.INSTALL.6571
* Installing *source* package 'rkward' ...
** libs
make[5]: Entering directory
`/home/roland/packages/rkward/trunk/rkward/rkward/rbackend/rpackages/rkward/src'

[/snip]

I didnot build using sudo, should that cause the Permission denied
error? I thought the fakeroot handled such issues?

Regards
PK

PS: Some system info...
$ uname -a
Linux Mjolnir 2.6.20.3-ubuntu1 #2 Wed Apr 4 20:22:43 EDT 2007 ppc GNU/Linux

[... this is a custom compiled kernel... not the default one]

$ gcc -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --disable-softfloat
--enable-secureplt --enable-targets=powerpc-linux,powerpc64-linux
--with-cpu=default32 --with-long-double-128 --enable-checking=release
powerpc-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

$ dpkg -l | grep -E "\br-"
ii  r-base-core        2.4.1-1         GNU R core of statistical
computing language
ii  r-base-dev         2.4.1-1         GNU R installation of auxiliary
GNU R packag
ii  r-base-html        2.4.1-1         GNU R html docs for statistical
computing sy
ii  r-cran-boot        1.2.27-1           GNU R package for
bootstrapping functions fr
ii  r-cran-cluster    1.11.4-1           GNU R package for cluster
analysis by Rousse
ii  r-cran-foreign    0.8.18-1           GNU R package to read/write
data from other
ii  r-cran-kernsmooth   2.22.19-1     GNU R package for kernel smoothing and
ii  r-cran-lattice        0.14-16-1          GNU R package for
'Trellis' graphics
ii  r-cran-mgcv    1.3-22-1       GNU R package for multiple parameter smoothi
ii  r-cran-nlme        3.1.78-1     GNU R package for (non-)linear mixed effects
ii  r-cran-rpart          3.1.33-1     GNU R package for recursive
partitioning and
ii  r-cran-survival       2.30-1          GNU R package for survival analysis
ii  r-cran-vr          7.2.30-1      GNU R package accompanying the Venables and
ii  r-recommended   2.4.1-1  GNU R collection of recommended packages




More information about the Rkward-devel mailing list