Re: Problems installing EMC
- Subject: Re: Problems installing EMC
- From: Will Shackleford <shackle-at-cme.nist.gov>
- Date: Wed, 02 May 2001 15:37:52 -0400
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii; format=flowed
- References: <2116252960.20010502212038-at-netti.fi>
- User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.14-rtl2.2 i586; en-US; m18) Gecko/20001107 Netscape6/6.0
On our Debian system it looks like some symbolic links
that we find on RedHat are not there.
try
cd /usr/lib/
ln -s libtk8.0.so.1 libtk.so
you will probably need symbolic links for libtcl and libtclx
also.
Alternatively you could edit your copy of rcslib/etc/linux_2_2_14.def
to set TK_LINK and TCL_LINK so they exactly match the files
on Debian.
-- Will
Cryo wrote:
>
> I didn't find any documentation about what programs and libraries
> EMC needs. Now it fails:
> ---
> g++ -D__CPLUSPLUS__ -g -DLINUX -Dlinux_2_2_14 -DPLATNAME=\"linux_2_2_14\" -D__RT__ -L/usr/lib -Dlinux_2_2 -I/usr/src/rtlinux-2.2/include -Dlinux_2_2_14 -Dlinux -DHAVE_LIBDL -DHAVE_TCL_EXTEND -DLINUX_KERNEL_2_2 -fstrict-aliasing -DHAVE_RTL -I/usr/include/g++-2/ \
> /usr/local/emc/plat/linux_2_2_14/lib/iosh.o /usr/local/emc/plat/linux_2_2_14/lib/cppio.o /usr/local/emc/plat/linux_2_2_14/lib/libemc.a \
> -L/usr/local/rcslib/plat/linux_2_2_14/lib -lrcs -Xlinker -rpath -Xlinker /usr/local/rcslib/plat/linux_2_2_14/lib -Xlinker -rpath -Xlinker /proj/rcslib/plat/linux_2_2_14/lib -Xlinker -rpath -Xlinker /isd/proj/rcslib/plat/linux_2_2_14/lib -Xlinker -rpath -Xlinker /usr/local/nist/rcslib/plat/linux_2_2_14/lib -Xlinker -rpath -Xlinker /usr/local/rcslib/plat/linux_2_2_14/lib -Xlinker -rpath -Xlinker /opt/rcslib/plat/linux_2_2_14/lib -Xlinker -rpath -Xlinker /usr/share/rcslib/plat/linux_2_2_14/lib -Xlinker -rpath -Xlinker /usr/local/share/rcslib/plat/linux_2_2_14/lib -Xlinker -rpath -Xlinker /rcslib/plat/linux_2_2_14/lib \
> -ltk -ltcl -ltclx8.0.4 -ldl -L/usr/X11/lib -L/usr/X11R6/lib -lXaw \
> -ldl -o /usr/local/emc/plat/linux_2_2_14/bin/iosh
> /usr/bin/ld: cannot find -ltk
> collect2: ld returned 1 exit status
> make[1]: *** [/usr/local/emc/plat/linux_2_2_14/bin/iosh] Error 1
> \rm -f /usr/local/emc/plat/linux_2_2_14/bin/tkio
> (cat tkio.tcl | sed s/UNKNOWN_PLAT/linux_2_2_14/ > /usr/local/emc/plat/linux_2_2_14/bin/tkio)
> \chmod a+x /usr/local/emc/plat/linux_2_2_14/bin/tkio
> test; \
> ---
>
> I have Tk lib installed, and i'm pretty sure that it is working.
> System is Debian and kernel is 2.2.14. RTlinux is version 2.2.
--
---------------------------------------------------------------
William Penn Shackleford III shackle-at-nist.gov
National Institute of Standards & Technology Tel: (301) 975-4286
100 Bureau Drive Stop 8230 FAX: (301) 990-9688
Gaithersburg MD 20899 USA
http://www.isd.mel.nist.gov/personnel/shackleford/
Office Location: Bldg. 220 Rm A253
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact