This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: tcl in none standard place
- From: Bart Veer <bartv at ecoscentric dot com>
- To: andrew dot lunn at ascom dot ch
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Sun, 22 Sep 2002 20:26:03 +0100 (BST)
- Subject: Re: [ECOS] tcl in none standard place
- References: <20020920160423.GI11119@biferten.ma.tech.ascom.ch>
>>>>> "Andrew" == Andrew Lunn <andrew.lunn@ascom.ch> writes:
Andrew> Hi Folks
Andrew> More tcl problems :-(
Andrew> I have tcl in a none standard location. So i pass
Andrew> --with-tcl=/home/lunn when running configure. It seems
Andrew> happy, at the end it says...
Andrew> checking for Tcl version... 8.4
Andrew> checking for Tcl installation... -I/home/lunn/include -L/home/lunn/lib
Andrew> which is correct. Then compiling its adding the correct
Andrew> -I, but the -L is missing when linking...
Andrew> make[2]: Entering directory `/export/home/lunn/build/tools/configtool/standalone/common'
Andrew> gcc -DUSE_NON_CONST -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual -O0 -o ecosconfig ecosconfig.o cdl_exec.o build.o flags.o -lcdl -lcyginfra -ltcl8.4 -ldl -lieee -lm -L/export/home/lunn/build/libcdl -L/export/home/lunn/build/infra
Andrew> /usr/bin/ld: cannot find -ltcl8.4
Andrew> So it looks like the autoconfigure is broken somewhere.
Andrew> Its probably something trivial, but i don't understand all
Andrew> this stuff. Can anyone help?
This should now be fixed as well. Note that you will also want to
specify --with-tcl-version=8.4 at configure time, or you may still end
up linking with the default Tcl installation rather than the one
specified. I have added text to the README.host file about this.
Bart
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss