public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Stefano Gallina <warx_sg@yahoo.com>
Cc: sid@sources.redhat.com
Subject: Re: Building SID under Linux - HELP - !
Date: Mon, 27 Jan 2003 18:22:00 -0000	[thread overview]
Message-ID: <20030127132245.C993@redhat.com> (raw)
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

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,[],[

  reply	other threads:[~2003-01-27 18:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-27 17:54 Stefano Gallina
2003-01-27 18:22 ` Frank Ch. Eigler [this message]
2003-01-28 10:52   ` Ben Elliston
2003-03-18  8:32     ` Does SID initialize all its components ? Stefano Gallina
2003-03-18 11:54       ` Frank Ch. Eigler
2003-01-29 18:42   ` Another problem building SID under Linux ! HELP ! Stefano Gallina
2003-01-29 22:25     ` Gary Thomas
2003-01-29 22:30       ` Frank Ch. Eigler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030127132245.C993@redhat.com \
    --to=fche@redhat.com \
    --cc=sid@sources.redhat.com \
    --cc=warx_sg@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).