Dear Juergen,

Thanks for the suggestion, I extracted the OSELA.Toolchain-2011.01.1.tar.bz2 in the regular user login /home/local. The toolchains can start to build.

But somehow it could not reach to the FTP server and returned with the following error message:

--2011-10-20 13:49:29--  ftp://sources.redhat.com/pub/glibc/snapshots/glibc-ports-2.13.tar.bz2
  (try: 5) => `/home/GeorgeNotebook/local/OSELAS.Toolchain-2011.03.1/src/glibc-ports-2.13.tar.bz2.jwuBPtjTBU'
Connecting to sources.redhat.com|209.132.180.131|:21... failed: Connection timed out.
Giving up.

--2011-10-20 13:49:50--  http://www.pengutronix.de/software/ptxdist/temporary-src/glibc/glibc-ports-2.13.tar.bz2
Resolving www.pengutronix.de... 78.47.139.85, 2a01:4f8:121:2:5054:ff:feaf:fc62
Connecting to www.pengutronix.de|78.47.139.85|:80... failed: Connection timed out.
Connecting to www.pengutronix.de|2a01:4f8:121:2:5054:ff:feaf:fc62|:80... failed: Network is unreachable.

Could not download packet
URL: http://ftp.uni-kl.de/pub/gnu/glibc/glibc-ports-2.13.tar.bz2 ftp://sources.redhat.com/pub/glibc/snapshots/glibc-ports-2.13.tar.bz2 http://www.pengutronix.de/software/ptxdist/temporary-src/glibc/glibc-ports-2.13.tar.bz2

make: *** [/home/GeorgeNotebook/local/OSELAS.Toolchain-2011.03.1/src/glibc-ports-2.13.tar.bz2] Error 1

Possibly I did not configure the FTP proxy.

Best Regards

George

On Wed, Oct 19, 2011 at 6:40 PM, Juergen Beisert <jbe@pengutronix.de> wrote:
Hi George,

Juergen Beisert wrote:
> once again: Please keep the mailing list at CC.
>
> George Ng wrote:
> > The problem is the ptxdixt can not be executed.
> >
> > even when ptxdist --version
> >
> > I got
> >
> > ptxdist: error: cannot create logdir: '/local/platform'

Did you run this command in the "/local" dir as the current working directory?

[jb@isonoe]/usr/local/platform > ptxdist-2011.03.1 --version
ptxdist: error: cannot create logdir: '/usr/local/platform'

[jb@isonoe]/usr/local/platform > cd ~
[jb@isonoe]~ > ptxdist-2011.03.1 --version
2011.03.1

And now I see your issue:

[GeorgeNotebook@GeorgeNotebook opt]$ cd OSELAS.Toolchain-2011.03.1
[GeorgeNotebook@GeorgeNotebook OSELAS.Toolchain-2011.03.1]$ ptxdist select
ptxconfigs/
ptxdist: error: cannot create logdir:
'/opt/OSELAS.Toolchain-2011.03.1/platform'

It seems you run these command in "/opt", didn't you?

Building the OSELAS.Toolchain must be done as a regular user and at a location
where you have write permission (for example in your home directory).
After building the toolchain only the results are installed to "opt/".

Regards,
Juergen

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