[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-tcltk-devel] Bug#590126: rcmdr: FTBFS on mips{, el}: Error : package 'tcltk' could not be loaded



Dirk Eddelbuettel <edd@debian.org> writes:

Hi,

> On 2 August 2010 at 10:20, Arnaud Patard (Rtp) wrote:
> | Dirk Eddelbuettel <edd@debian.org> writes:
> | 
> | Hi,
> | 
> | 
> | > | > (the failing program is attached). It seems that r-base hit bug
> | > | > #519006 (see [1]). It's a bug in gcc-4.4, and it's unlikely that
> | > | > Tcl/Tk itself can do something to it.
> | > | 
> | > | yeah, r-base is hitting this bug. As a _workaround_, you can patch the
> | > | r-base package with the joined patch. It'll disable the '-g' flag when
> | > | running the configure test. With that, the tcltk.so lib is generated
> | > | (and thus the tcl/tk deps are there too). Please note that I've not
> | > | tested if the R tcl/tk stuff is working, I've only checked that the lib
> | > | was built.
> | >
> | > Thanks for the patch (and the upstream maintainer for configure / m4 is
> | > CC'ed).  I will prepare a new r-base upload for Debian.
> | >
> | > Any idea why tcltk dies on mips when -g is present? Is that being
> | > addressed on on mips or in tcl/tk?
> | 
> | It's a gcc-4.4 bug specific to the mips platform. If you want more
> | details about it, see bug #519006.
>
> It failed again :-/  
>

oops. I've sent only the R.m4 change to make things clear but you need
to do a little bit more to get things working. You need to regenerate the
configure file (with autoreconf for instance) so that this change is
taken into account.

Arnaud


Reply to: