From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,591f6ce72e07b3e0 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!j39g2000yqh.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Installation problem with GNAT GPL 2009 Date: Tue, 8 Sep 2009 08:16:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1252422975 19651 127.0.0.1 (8 Sep 2009 15:16:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 8 Sep 2009 15:16:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j39g2000yqh.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8231 Date: 2009-09-08T08:16:15-07:00 List-Id: On Sep 8, 3:54=A0pm, Allison Beh 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