mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* Re: [ptxdist] [oselas] Fail to build the OSELAS.Toolchain
       [not found]   ` <CADWdDTtqavjrmB5ihDoYdTPgSnWajbSvULFaO+x5aZpDK4Rudg@mail.gmail.com>
@ 2011-10-19 10:12     ` Juergen Beisert
  2011-10-19 10:40       ` Juergen Beisert
  0 siblings, 1 reply; 4+ messages in thread
From: Juergen Beisert @ 2011-10-19 10:12 UTC (permalink / raw)
  To: oselas; +Cc: George Ng, ptxdist

Hi George,

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'
>
> I think I have to re-install the ptxdist-2011.08.0.tar.bz2 again.
>
> Can you tell me how to remove the one currently installed in my host?

If you do not change any setting with '--prefix' in the 'configure' step, 
PTXdist should be installed to "/usr/local/lib/ptxdist-<revision>/" 
and "/usr/local/bin/ptxdist-<revision>". De-installing can be done by 
removing these files and directories.

On the other hand, you may could start with removing the PTXdist's rc file 
in "~/.ptxdist/" and test again.

Regards,
Juergen

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [oselas] Fail to build the OSELAS.Toolchain
  2011-10-19 10:12     ` [ptxdist] [oselas] Fail to build the OSELAS.Toolchain Juergen Beisert
@ 2011-10-19 10:40       ` Juergen Beisert
  2011-10-20  6:28         ` George Ng
  0 siblings, 1 reply; 4+ messages in thread
From: Juergen Beisert @ 2011-10-19 10:40 UTC (permalink / raw)
  To: oselas; +Cc: George Ng, ptxdist

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/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [oselas] Fail to build the OSELAS.Toolchain
  2011-10-19 10:40       ` Juergen Beisert
@ 2011-10-20  6:28         ` George Ng
  2011-10-20  7:30           ` Juergen Beisert
  0 siblings, 1 reply; 4+ messages in thread
From: George Ng @ 2011-10-20  6:28 UTC (permalink / raw)
  To: Juergen Beisert; +Cc: oselas, ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 2799 bytes --]

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/ |
>

[-- Attachment #1.2: Type: text/html, Size: 4148 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [oselas] Fail to build the OSELAS.Toolchain
  2011-10-20  6:28         ` George Ng
@ 2011-10-20  7:30           ` Juergen Beisert
  0 siblings, 0 replies; 4+ messages in thread
From: Juergen Beisert @ 2011-10-20  7:30 UTC (permalink / raw)
  To: oselas; +Cc: George Ng, ptxdist

Hi George,

George Ng wrote:
> http://www.pengutronix.de/software/ptxdist/temporary-src/glibc/glibc-ports-2.13.tar.bz2

At least this link should work (here it does).

Regards,
Juergen

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-20  7:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CADWdDTvg2nD67mSYczRUCDtTVSuSShO7XHgwNgDWXxwvawaKhQ@mail.gmail.com>
     [not found] ` <201110191101.11769.jbe@pengutronix.de>
     [not found]   ` <CADWdDTtqavjrmB5ihDoYdTPgSnWajbSvULFaO+x5aZpDK4Rudg@mail.gmail.com>
2011-10-19 10:12     ` [ptxdist] [oselas] Fail to build the OSELAS.Toolchain Juergen Beisert
2011-10-19 10:40       ` Juergen Beisert
2011-10-20  6:28         ` George Ng
2011-10-20  7:30           ` Juergen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox