[Tinyos-help] MSPGCC installation problem.

pinky tejwani pinkytejwani at gmail.com
Thu Sep 29 19:40:29 PDT 2005


Hello All,
        I am working on TinyOS 1.12 version for an sensor network
application using TelosB and TmoteSky motes (Linux- Fedora Core 3).
The quickstart guide for TelosB asks to install MSPGCC from
tos/tools/src/mspgcc using build-mspgcc.
I read the README in tos/tools/src/mspgcc and ran ( ./build-mspgcc
install )  in tos/tools/src/mspgcc directory.

I got an error message.  (See the detailed error message below)
This looks like an environmental problem with Linux and I am a
complete novice in Unix/Linux and shell programming. So someone,
please help me with this. I would really appreciate any kind of help.

Sincerely,
Pinky Tejwani.

The error message looks like this  -------------------------

[pinky at gislinux3 mspgcc]$ ./build-mspgcc install
processing MSPGCC_CVS
download MSPGCC_CVS: found archive/mspgcc-cvs.tar.gz, skipping download
found build/mspgcc-cvs, skipping decompress
found build/mspgcc-cvs/build-complete, skipping build
installing MSPGCC_CVS

processing BINUTILS
download BINUTILS: found archive/binutils-2.15.96.tar.bz2, skipping download
found build/binutils-2.15.96, skipping decompress
found build/binutils-2.15.96/build-complete, skipping build
installing BINUTILS
/bin/sh ./mkinstalldirs /opt/msp430 /opt/msp430
make[1]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/bfd'
Making install in doc
make[2]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/bfd/doc'
test -z "/opt/msp430/info" || mkdir -p -- "/opt/msp430/info"
 /usr/bin/install -c -m 644 './bfd.info' '/opt/msp430/info/bfd.info'
/usr/bin/install: cannot remove `/opt/msp430/info/bfd.info': Permission denied
 /usr/bin/install -c -m 644 './bfd.info-1' '/opt/msp430/info/bfd.info-1'
/usr/bin/install: cannot remove `/opt/msp430/info/bfd.info-1': Permission denied
 /usr/bin/install -c -m 644 './bfd.info-2' '/opt/msp430/info/bfd.info-2'
/usr/bin/install: cannot remove `/opt/msp430/info/bfd.info-2': Permission denied
make[2]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/bfd/doc'
Making install in po
make[2]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/bfd/po'
if test -r ../.././bfd/po/../../mkinstalldirs; then \
  ../.././bfd/po/../../mkinstalldirs /opt/msp430/share; \
else \
  ../.././bfd/mkinstalldirs /opt/msp430/share; \
fi
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/fr/LC_MESSAGES/bfd.mo': Permission denied
installing fr.gmo as /opt/msp430/share/locale/fr/LC_MESSAGES/bfd.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/tr/LC_MESSAGES/bfd.mo': Permission denied
installing tr.gmo as /opt/msp430/share/locale/tr/LC_MESSAGES/bfd.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/ja/LC_MESSAGES/bfd.mo': Permission denied
installing ja.gmo as /opt/msp430/share/locale/ja/LC_MESSAGES/bfd.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/es/LC_MESSAGES/bfd.mo': Permission denied
installing es.gmo as /opt/msp430/share/locale/es/LC_MESSAGES/bfd.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/sv/LC_MESSAGES/bfd.mo': Permission denied
installing sv.gmo as /opt/msp430/share/locale/sv/LC_MESSAGES/bfd.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/da/LC_MESSAGES/bfd.mo': Permission denied
installing da.gmo as /opt/msp430/share/locale/da/LC_MESSAGES/bfd.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/zh_CN/LC_MESSAGES/bfd.mo': Permission denied
installing zh_CN.gmo as /opt/msp430/share/locale/zh_CN/LC_MESSAGES/bfd.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/ro/LC_MESSAGES/bfd.mo': Permission denied
installing ro.gmo as /opt/msp430/share/locale/ro/LC_MESSAGES/bfd.mo
if test "bfd" = "gettext"; then \
  if test -r ../.././bfd/po/../../mkinstalldirs; then \
    ../.././bfd/po/../../mkinstalldirs /opt/msp430/share/gettext/po; \
  else \
    ../.././bfd/mkinstalldirs /opt/msp430/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../.././bfd/po/Makefile.in.in \
                  /opt/msp430/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[2]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/bfd/po'
make[2]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/bfd'
make[3]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/bfd'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/bfd'
make[2]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/bfd'
make[1]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/bfd'
make[1]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/opcodes'
Making install in po
make[2]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/opcodes/po'
if test -r ../.././opcodes/po/../../mkinstalldirs; then \
  ../.././opcodes/po/../../mkinstalldirs /opt/msp430/share; \
else \
  ../.././opcodes/mkinstalldirs /opt/msp430/share; \
fi
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/fr/LC_MESSAGES/opcodes.mo': Permission
denied
installing fr.gmo as /opt/msp430/share/locale/fr/LC_MESSAGES/opcodes.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/sv/LC_MESSAGES/opcodes.mo': Permission
denied
installing sv.gmo as /opt/msp430/share/locale/sv/LC_MESSAGES/opcodes.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/tr/LC_MESSAGES/opcodes.mo': Permission
denied
installing tr.gmo as /opt/msp430/share/locale/tr/LC_MESSAGES/opcodes.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/es/LC_MESSAGES/opcodes.mo': Permission
denied
installing es.gmo as /opt/msp430/share/locale/es/LC_MESSAGES/opcodes.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/da/LC_MESSAGES/opcodes.mo': Permission
denied
installing da.gmo as /opt/msp430/share/locale/da/LC_MESSAGES/opcodes.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/de/LC_MESSAGES/opcodes.mo': Permission
denied
installing de.gmo as /opt/msp430/share/locale/de/LC_MESSAGES/opcodes.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/id/LC_MESSAGES/opcodes.mo': Permission
denied
installing id.gmo as /opt/msp430/share/locale/id/LC_MESSAGES/opcodes.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/pt_BR/LC_MESSAGES/opcodes.mo': Permission
denied
installing pt_BR.gmo as /opt/msp430/share/locale/pt_BR/LC_MESSAGES/opcodes.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/ro/LC_MESSAGES/opcodes.mo': Permission
denied
installing ro.gmo as /opt/msp430/share/locale/ro/LC_MESSAGES/opcodes.mo
/usr/bin/install: cannot remove
`/opt/msp430/share/locale/nl/LC_MESSAGES/opcodes.mo': Permission
denied
installing nl.gmo as /opt/msp430/share/locale/nl/LC_MESSAGES/opcodes.mo
if test "opcodes" = "gettext"; then \
  if test -r ../.././opcodes/po/../../mkinstalldirs; then \
    ../.././opcodes/po/../../mkinstalldirs /opt/msp430/share/gettext/po; \
  else \
    ../.././opcodes/mkinstalldirs /opt/msp430/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../.././opcodes/po/Makefile.in.in \
                  /opt/msp430/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[2]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/opcodes/po'
make[2]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/opcodes'
make[3]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/opcodes'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/opcodes'
make[2]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/opcodes'
make[1]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/opcodes'
make[1]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/binutils'
Making install in doc
make[2]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/binutils/doc'
make[3]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/binutils/doc'
make[3]: Nothing to be done for `install-exec-am'.
make  install-man1
make[4]: Entering directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/binutils/doc'
/bin/sh ../.././binutils/../mkinstalldirs /opt/msp430/man/man1
 /usr/bin/install -c -m 644 ../.././binutils/doc/addr2line.1
/opt/msp430/man/man1/msp430-addr2line.1
/usr/bin/install: cannot remove
`/opt/msp430/man/man1/msp430-addr2line.1': Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/ar.1
/opt/msp430/man/man1/msp430-ar.1
/usr/bin/install: cannot remove `/opt/msp430/man/man1/msp430-ar.1':
Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/dlltool.1
/opt/msp430/man/man1/msp430-dlltool.1
/usr/bin/install: cannot remove
`/opt/msp430/man/man1/msp430-dlltool.1': Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/nlmconv.1
/opt/msp430/man/man1/msp430-nlmconv.1
/usr/bin/install: cannot remove
`/opt/msp430/man/man1/msp430-nlmconv.1': Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/nm.1
/opt/msp430/man/man1/msp430-nm.1
/usr/bin/install: cannot remove `/opt/msp430/man/man1/msp430-nm.1':
Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/objcopy.1
/opt/msp430/man/man1/msp430-objcopy.1
/usr/bin/install: cannot remove
`/opt/msp430/man/man1/msp430-objcopy.1': Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/objdump.1
/opt/msp430/man/man1/msp430-objdump.1
/usr/bin/install: cannot remove
`/opt/msp430/man/man1/msp430-objdump.1': Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/ranlib.1
/opt/msp430/man/man1/msp430-ranlib.1
/usr/bin/install: cannot remove
`/opt/msp430/man/man1/msp430-ranlib.1': Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/readelf.1
/opt/msp430/man/man1/msp430-readelf.1
/usr/bin/install: cannot remove
`/opt/msp430/man/man1/msp430-readelf.1': Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/size.1
/opt/msp430/man/man1/msp430-size.1
/usr/bin/install: cannot remove `/opt/msp430/man/man1/msp430-size.1':
Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/strings.1
/opt/msp430/man/man1/msp430-strings.1
/usr/bin/install: cannot remove
`/opt/msp430/man/man1/msp430-strings.1': Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/strip.1
/opt/msp430/man/man1/msp430-strip.1
/usr/bin/install: cannot remove `/opt/msp430/man/man1/msp430-strip.1':
Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/windres.1
/opt/msp430/man/man1/msp430-windres.1
/usr/bin/install: cannot remove
`/opt/msp430/man/man1/msp430-windres.1': Permission denied
 /usr/bin/install -c -m 644 ../.././binutils/doc/c++filt.1
/opt/msp430/man/man1/msp430-c++filt.1
/usr/bin/install: cannot remove
`/opt/msp430/man/man1/msp430-c++filt.1': Permission denied
make[4]: *** [install-man1] Error 1
make[4]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/binutils/doc'
make[3]: *** [install-man] Error 2
make[3]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/binutils/doc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/binutils/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/pinky/tos/tinyos-1.1.12/tools/src/mspgcc/build/binutils-2.15.96/binutils'
make: *** [install-binutils] Error 2



More information about the Tinyos-help mailing list