From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 In-Reply-To: <201110191240.49793.jbe@pengutronix.de> References: <201110191212.57298.jbe@pengutronix.de> <201110191240.49793.jbe@pengutronix.de> Date: Thu, 20 Oct 2011 14:28:01 +0800 Message-ID: From: George Ng Subject: Re: [ptxdist] [oselas] Fail to build the OSELAS.Toolchain Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0004408270==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: Juergen Beisert Cc: oselas@community.pengutronix.de, ptxdist@pengutronix.de --===============0004408270== Content-Type: multipart/alternative; boundary=bcaec5197037ed2db304afb50e52 --bcaec5197037ed2db304afb50e52 Content-Type: text/plain; charset=ISO-8859-1 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 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/ | > --bcaec5197037ed2db304afb50e52 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear Juergen,

Thanks for the suggestion, I extracted the OSELA.Toolc= hain-2011.01.1.tar.bz2 in the regular user login /home/local. The toolchain= s can start to build.

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

--2011-10-20 13:49:29--=A0 ftp://sources.redhat.com/pub/glibc/sn= apshots/glibc-ports-2.13.tar.bz2
=A0 (try: 5) =3D> `/home/GeorgeN= otebook/local/OSELAS.Toolchain-2011.03.1/src/glibc-ports-2.13.tar.bz2.jwuBP= tjTBU'
Connecting to sources.redhat.com|= 209.132.180.131|:21... failed: Connection timed out.
Giving up.

-= -2011-10-20 13:49:50--=A0 http://www.pengutronix.d= e/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:f= c62
Connecting to www.pengutronix.= de|78.47.139.85|:80... failed: Connection timed out.
Connecting to <= a href=3D"http://www.pengutronix.de">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.pengutron= ix.de/software/ptxdist/temporary-src/glibc/glibc-ports-2.13.tar.bz2

make: *** [/home/GeorgeNotebook/local/OSELAS.Toolchain-2011.03.1/src/gl= ibc-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:<= br>
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 s= elect
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 locat= ion
where you have write permission (for example in your home directory).
After building the toolchain only the results are installed to "opt/&q= uot;.

Regards,
Juergen

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

--bcaec5197037ed2db304afb50e52-- --===============0004408270== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0004408270==--