[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

On Sat, Jul 31, 2010 at 8:49 AM, Shane McDonald
<mcdonald.shane@gmail.com> wrote:
> Mips and mipsel definitely have Tcl/Tk.
> Investigating a little further, I tried building rcmdr on a mipsel
> system with tcl8.5 and tk8.5 present, but it still gave the same
> errors that you saw.  But maybe it needs r-base to have been compiled
> with them present?  Just wild speculation, I really don't know
> anything about these packages.

I've looked through the config.log after the ./configure run (for r-base) and
found the following error message during testing for Tcl/Tk usability:

configure:32106: checking whether compiling/linking Tcl/Tk code works
configure:32144: gcc -std=gnu99 -o conftest -g -O2 -fpic
-I/usr/include/tcl8.5 -I/usr/include/tcl8.5   conftest.c -ldl -lm
-L/usr/lib -ltcl8.5 -L/usr/lib -ltk8.5 -lX11 -lXss -lXext >&5
/usr/bin/ld: non-dynamic relocations refer to dynamic symbol Tk_Init
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
configure:32144: $? = 1
configure: failed program was:

(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.

Sergei Golovan

Attachment: conftest.c
Description: Binary data

Reply to: