From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19748 invoked by alias); 27 Jan 2003 18:22:47 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 19731 invoked from network); 27 Jan 2003 18:22:46 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 27 Jan 2003 18:22:46 -0000 Received: from toenail.toronto.redhat.com (toenail.toronto.redhat.com [172.16.14.211]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 269868001C7; Mon, 27 Jan 2003 13:22:46 -0500 (EST) Received: (from fche@localhost) by toenail.toronto.redhat.com (8.11.6/8.11.6) id h0RIMkB02637; Mon, 27 Jan 2003 13:22:46 -0500 Date: Mon, 27 Jan 2003 18:22:00 -0000 From: "Frank Ch. Eigler" To: Stefano Gallina Cc: sid@sources.redhat.com Subject: Re: Building SID under Linux - HELP - ! Message-ID: <20030127132245.C993@redhat.com> References: <20030127175401.82236.qmail@web41108.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030127175401.82236.qmail@web41108.mail.yahoo.com>; from warx_sg@yahoo.com on Mon, Jan 27, 2003 at 06:54:01PM +0100 X-SW-Source: 2003-q1/txt/msg00017.txt.bz2 Hi - > [...] > Well, is anybody able to build Sid without getting > error messages ? Sure, generally. > My aim is simulate a serial port to test some assembly > code written for ARM processor. > I have been advised to use SID with Ecos. > Is there any way to get this aim of mine without using > Sid ? Using Ecos ? SID is by no means the only way of doing this, but once you get the system built and familiarized with, it's decent. > [...] > The error i got is: > gcc -shared compTcl.lo -L/home/src/build/tcl/unix > -ltcl8.3 -L/home/src/build/tk/unix -ltk8.3 > -L/usr/X11R6/lib -lSM -lICE -lX11 -ldl -lm -lc > [...] > /usr/bin/ld: cannot find -ltk8.3 It looks like tcl/tk was updated to version 8.4 in the sourceware repository, but a bit of sid configury wasn't changed along with it. That's not normally a problem since the sid configury backs down to plain -ltk / -ltcl, and should find OS-supplied libraries. I wonder why it doesn't do this in your case. You could try applying the following patch to sources within sid/component/tcl, then try to configure/build again. - FChE Index: configure =================================================================== RCS file: /cvs/cvsfiles/devo/sid/component/tcl/configure,v retrieving revision 1.32 diff -r1.32 configure 2266c2266 < with_tcl_lib="-L../../../tcl/$tcl_hostdir -ltcl8${tcl_libdot}3" --- > with_tcl_lib="-L../../../tcl/$tcl_hostdir -ltcl8${tcl_libdot}4" 2277c2277 < with_tk_lib="-L../../../tk/$tcl_hostdir -ltk8${tcl_libdot}3" --- > with_tk_lib="-L../../../tk/$tcl_hostdir -ltk8${tcl_libdot}4" 3632,3634c3632,3634 < echo $ac_n "checking for Tcl_Init in -ltcl8${tcl_libdot}3""... $ac_c" 1>&6 < echo "configure:3634: checking for Tcl_Init in -ltcl8${tcl_libdot}3" >&5 < ac_lib_var=`echo tcl8${tcl_libdot}3'_'Tcl_Init | sed 'y%./+-%__p_%'` --- > echo $ac_n "checking for Tcl_Init in -ltcl8${tcl_libdot}4""... $ac_c" 1>&6 > echo "configure:3634: checking for Tcl_Init in -ltcl8${tcl_libdot}4" >&5 > ac_lib_var=`echo tcl8${tcl_libdot}4'_'Tcl_Init | sed 'y%./+-%__p_%'` 3639c3639 < LIBS="-ltcl8${tcl_libdot}3 $LIBS" --- > LIBS="-ltcl8${tcl_libdot}4 $LIBS" 3670c3670 < ac_tr_lib=HAVE_LIB`echo tcl8${tcl_libdot}3 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ --- > ac_tr_lib=HAVE_LIB`echo tcl8${tcl_libdot}4 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 3676c3676 < LIBS="-ltcl8${tcl_libdot}3 $LIBS" --- > LIBS="-ltcl8${tcl_libdot}4 $LIBS" 3735,3737c3735,3737 < echo $ac_n "checking for Tk_Init in -ltk8${tcl_libdot}3""... $ac_c" 1>&6 < echo "configure:3737: checking for Tk_Init in -ltk8${tcl_libdot}3" >&5 < ac_lib_var=`echo tk8${tcl_libdot}3'_'Tk_Init | sed 'y%./+-%__p_%'` --- > echo $ac_n "checking for Tk_Init in -ltk8${tcl_libdot}4""... $ac_c" 1>&6 > echo "configure:3737: checking for Tk_Init in -ltk8${tcl_libdot}4" >&5 > ac_lib_var=`echo tk8${tcl_libdot}4'_'Tk_Init | sed 'y%./+-%__p_%'` 3742c3742 < LIBS="-ltk8${tcl_libdot}3 $LIBS" --- > LIBS="-ltk8${tcl_libdot}4 $LIBS" 3773c3773 < ac_tr_lib=HAVE_LIB`echo tk8${tcl_libdot}3 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ --- > ac_tr_lib=HAVE_LIB`echo tk8${tcl_libdot}4 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 3779c3779 < LIBS="-ltk8${tcl_libdot}3 $LIBS" --- > LIBS="-ltk8${tcl_libdot}4 $LIBS" Index: configure.in =================================================================== RCS file: /cvs/cvsfiles/devo/sid/component/tcl/configure.in,v retrieving revision 1.24 diff -r1.24 configure.in 43c43 < with_tcl_lib="-L../../../tcl/$tcl_hostdir -ltcl8${tcl_libdot}3" --- > with_tcl_lib="-L../../../tcl/$tcl_hostdir -ltcl8${tcl_libdot}4" 53c53 < with_tk_lib="-L../../../tk/$tcl_hostdir -ltk8${tcl_libdot}3" --- > with_tk_lib="-L../../../tk/$tcl_hostdir -ltk8${tcl_libdot}4" 103c103 < AC_CHECK_LIB(tcl8${tcl_libdot}3, Tcl_Init,[],[ --- > AC_CHECK_LIB(tcl8${tcl_libdot}4, Tcl_Init,[],[ 107c107 < AC_CHECK_LIB(tk8${tcl_libdot}3, Tk_Init,[],[ --- > AC_CHECK_LIB(tk8${tcl_libdot}4, Tk_Init,[],[