Hi George,

George Ng wrote:
> I have removed the existing OSELAS.Toolchain-2011.03.1 by using
> su
> password:
>
> rm -fr OSELAS.Toolchain-2011.03.1
>
> then
>
> [root@GeorgeNotebook opt]# tar xf OSELAS.Toolchain-2011.03.1.tar.bz2
> [root@GeorgeNotebook opt]# ls
> FriendlyARM  OSELAS.Toolchain-2011.03.1  OSELAS.Toolchain-2011.03.1.tar.bz2
> [root@GeorgeNotebook opt]# cd OSELAS.Toolchain-2011.03.1
> [root@GeorgeNotebook OSELAS.Toolchain-2011.03.1]# ptxdist select
> ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.5.2_glibc-2.13_binutils-2.21_kernel-2.6.36-sanitized.ptxconfig
>
>
> ptxdist: error: refusing to run PTXdist as root

Running tools like PTXdist as root is evil. ;-)

> I tried other terminal without login as root
>
> [GeorgeNotebook@GeorgeNotebook opt]$ cd OSELAS.Toolchain-2011.03.1
> [GeorgeNotebook@GeorgeNotebook OSELAS.Toolchain-2011.03.1]$ ptxdist select
> ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.5.2_glibc-2.13_binutils-2.21_kernel-
>2.6.36-sanitized.ptxconfig
>
> ptxdist: error: cannot create logdir:
> '/opt/OSELAS.Toolchain-2011.03.1/platform'
>
> I got the same error message again

When you are doing this step as a regular user, PTXdist tries to run "sudo" to
create the folder. Is this command available and configured on your host?

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

Reply via email to