[rkward-devel] C stack usage too close to the limit
Prasenjit Kapat
kapatp at gmail.com
Thu Apr 19 15:10:01 UTC 2007
On 4/19/07, Thomas Friedrichsmeier
<thomas.friedrichsmeier at ruhr-uni-bochum.de> wrote:
> On Thursday 19 April 2007 07:15, Prasenjit Kapat wrote:
> > Ok, trying to "dpkg-buildpackage -rfakeroot" ends up like this:
> > So, I guess something is wrong. Trying to "dpkg -i" the .deb file
> > gives the following errors:
> >
> > dpkg: dependency problems prevent configuration of rkward:
> > rkward depends on r-base-core (<= 2.2.1-6); however:
> > Version of r-base-core on system is 2.4.1-1.
Well I must add, after the "dpkg -i",
$ dpkg -l | grep rkward
iU rkward 0.4.7-2 a KDE frontend to the R statistics language
and rkward does indeed start without any non-trivial warnings or
errors, inspite of the "iU" status. And seems to work!
> > /bin/sh: [[: not found
> > /bin/sh: [[: not found
> > /bin/sh: [[: not found
>
> Ok, so there seems to be something wrong in the rules file, and so we end up
> defining the wrong dependency. Probably the shell constructs used simply are
> not portable. I tried something in SVN. Could you try to build a package from
> the SVN version, to see, if it works, now?
>
> Hint: Using
> dpkg-buildpackage -rfakeroot -nc
> (i.e. adding the -nc option) skips the step of cleaning the sources and some
> other not so relevant stuff. So for experimenting this can save a lot of
> compile time.
Here is the (later) output of "dpkg-buildpackage -rfakeroot -nc" for
the svn code... The bash error is gone but the other errors remain.
And it leads to the earlier mentioned issue of dependency on R-2.4.9
dh_shlibdeps
dpkg-shlibdeps: warning: format of `NEEDED libR.so' not recognized
dpkg-shlibdeps: warning: format of `NEEDED libRlapack.so' not recognized
dpkg-shlibdeps: warning: format of `NEEDED libRblas.so' not recognized
dpkg-shlibdeps: warning: format of `NEEDED libR.so' not recognized
# unfortunately, the r-base-core dependency can not be found by
dh_shlibdeps, so we need to get at the version manually
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `rkward' in `../rkward_0.4.8-pre1_powerpc.deb'.
dpkg-genchanges -b
dpkg-genchanges: binary-only upload - not including any source code
dpkg-genchanges: failure: cannot open upload file
../rkward_0.4.7-2_i386.deb for reading: No such file or directory
$ sudo dpkg -i rkward_0.4.8-pre1_powerpc.deb
Password:
Selecting previously deselected package rkward.
(Reading database ... 197773 files and directories currently installed.)
Unpacking rkward (from rkward_0.4.8-pre1_powerpc.deb) ...
dpkg: dependency problems prevent configuration of rkward:
rkward depends on r-base-core (>= 2.4.9); however:
Version of r-base-core on system is 2.4.1-1.
dpkg: error processing rkward (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
rkward
$ dpkg -l | grep rkward
iU rkward 0.4.8-pre1 a KDE frontend to the R
statistics language
> Hm. I wonder what's different on Roberto's system, then. You are using debian
> Linux, are you? Or perhaps some other platform (bsd, something else)? What's
> your version of GCC?
> > Funny ! The compiled version works fine though. This is using Kubuntu
> > Feisty on iBookG4.
I am using Kubuntu Feisty (debian based!), so I suspect (forgot to
look up last night and am back in the dept now) gcc is 4.1
Regards
PK
More information about the Rkward-devel
mailing list