Re: installfromsource problems...



Matt Shaver wrote:
> 
> 
> 1. I did an anonymous cvs get today (20 Nov 01 at about 13:52 EST) of 
> rcslib and emc.
> 
> 2. I tarred up both modules, copied them to floppys, and untarred them 
> on the target machine in /usr/local/rcslib and /usr/local/emc.
> 
> 3. I then copied /usr/local/emc/scripts/generic/installfromsource to 
> /usr/local/installfromsource, and:
>   cd /usr/local
>   ./installfromsource
> 
> 4. I got the following errors:
> 
> a. From the script itself (at the beginning, right after it asks the RTL 
> VERSION question):
>   cat: emc/emcversion.generic: No such file or directory

emc/emcversion.generic is created by packupsrc and therefore will not exist unless you
get emc from an archive created by  packupsrc


>   sed: -e expression #1, char 60: Unknown option to 's'
> 
sed is used a lot in that script.

run after touching ~/.debug_scripts to narrow it down.


> b. From rcserr.log
> In file included from /usr/include/string.h:340,
>                from rtlnml.c:67:
> /usr/include/bits/string2.h:873: redefinition of `strnlen'
> /usr/include/asm/string.h:390: `strnlen' previously defined here

i ifdef'd out linux/string.h and it fixed it on the BDI 2.10, although I suspect it may
break other systems.


> make[1]: *** [/usr/local/rcslib/plat/linux_2_2_18/lib/rtlnml.o] Error 1
> make: *** [/usr/local/rcslib/plat/linux_2_2_18/.cmsbuild] Error 2
> make: *** No rule to make target 
> `/usr/local/rcslib/plat/rtlinux_3_0/lib/sincos.o', needed by 
> `/usr/local/rcslib/plat/rtlinux_3_0/lib/librcsd.a'.  Stop.
> 
> 5. At the end it said:
>   #
>   Some errors and most warnings can be ignored.
>   When in doubt, post a question to the emc-at-nist.gov email list.
>   #
>   If the RCS library built sucessfully enter y to continue.
>   Continue? (y/n)
> 
> I said "n", and being "in doubt", decided to "post a question to the 
> emc-at-nist.gov email list" ;) .
> 
> 6. System info is:
> BDI 2.09 (http://www.yty.net/cnc/bdiemc209-01.img)
> linux_2_2_18
> rtlinux_3_0
> 
> HELP!
> 
> Matt
> 
> 
> 






Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact