comp.lang.ada
 help / color / mirror / Atom feed
From: Martin <martin.dowie@btopenworld.com>
Subject: Re: Installation problem with GNAT GPL 2009
Date: Tue, 8 Sep 2009 08:16:15 -0700 (PDT)
Date: 2009-09-08T08:16:15-07:00	[thread overview]
Message-ID: <b8276d19-292c-498c-8c57-cd32f70868b2@j39g2000yqh.googlegroups.com> (raw)
In-Reply-To: a0ec5ea5-0937-4e58-9eb8-7e648007b488@g1g2000pra.googlegroups.com

On Sep 8, 3:54 pm, Allison Beh <allir...@gmail.com> wrote:
> Hi,
>
> I just downloaded the GNAT GPL 2009 and was trying to install it on my
> Mac (10.5.7). My first installation was unsuccessful. My carelessness
> for not the error properly and the install.log was been overwritten by
> the following installation. But I recall during the process, almost
> all files inside the package were compiled with the message: file has
> been changed as read (something like that). Later, I tried to install
> again, but it failed to create the directories such as /bin, /lib, /
> libexec, /include with messages like:
>
> tar: Error exit delayed from previous errors
> tar: include: Cannot mkdir: Permission denied
>
> And I think because of this error, all the files inside the directory
> cannot be open:
> tar: include/c++: Cannot mkdir: No such file or directory
> tar: include/c++/4.3.4: Cannot mkdir: No such file or directory
> tar: include/c++/4.3.4/algorithm: Cannot open: No such file or
> directory
> tar: include/c++/4.3.4/array: Cannot open: No such file or directory
> tar: include/c++/4.3.4/backward: Cannot mkdir: No such file or
> directory
> tar: include/c++/4.3.4/backward/auto_ptr.h: Cannot open: No such file
> or directory
> tar: include/c++/4.3.4/backward/backward_warning.h: Cannot open: No
> such file or directory
> tar: include/c++/4.3.4/backward/binders.h: Cannot open: No such file
> or directory
> tar: include/c++/4.3.4/backward/hash_fun.h: Cannot open: No such file
> or directory
> tar: include/c++/4.3.4/backward/hash_map: Cannot open: No such file or
> directory
> tar: include/c++/4.3.4/backward/hash_set: Cannot open: No such file or
> directory
> tar: include/c++/4.3.4/backward/hashtable.h: Cannot open: No such file
> or directory
> tar: include/c++/4.3.4/backward/strstream: Cannot open: No such file
> or directory
> tar: include/c++/4.3.4/bits: Cannot mkdir: No such file or directory
> ... (and many more)
>
> At the end, these messages appear:
>
> /usr/gnat/libexec/gcc/i686-pc-linux-gnu/4.3.4/install-tools/mkheaders -
> v -v /usr/gnat
> make: /usr/gnat/libexec/gcc/i686-pc-linux-gnu/4.3.4/install-tools/
> mkheaders: Command not found
> make: *** [ins-basic] Error 127
>
> Is it because of the first installation, which the files have been
> changed, that they cannot be opened now? What should I do? Please
> advise. Thanks in advance and I apologize if my question sounds too
> n00b.
>
> Regards,
> Allison

Hi Allison,

Did you just try and run the install from your user account? If so,
you probably don't have permissions to write to /usr.

From memory, I opened as shell window, cd-ed to the folder containing
the installion scripts, etc and ran something like "sudo ./install".

Cheers
-- Martin



  reply	other threads:[~2009-09-08 15:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-08 14:54 Installation problem with GNAT GPL 2009 Allison Beh
2009-09-08 15:16 ` Martin [this message]
2009-09-08 16:26   ` Allison Beh
2009-09-08 16:51     ` Martin
replies disabled

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