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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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!h40g2000prf.googlegroups.com!not-for-mail From: Allison Beh Newsgroups: comp.lang.ada Subject: Re: Installation problem with GNAT GPL 2009 Date: Tue, 8 Sep 2009 09:26:48 -0700 (PDT) Organization: http://groups.google.com Message-ID: <99e96d41-3692-4b16-bbef-f6490d486888@h40g2000prf.googlegroups.com> References: NNTP-Posting-Host: 121.121.59.83 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1252427208 2072 127.0.0.1 (8 Sep 2009 16:26:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 8 Sep 2009 16:26:48 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h40g2000prf.googlegroups.com; posting-host=121.121.59.83; posting-account=y8U0KAoAAABaYW80kEL0Mzz_A-6jc6Yp User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8232 Date: 2009-09-08T09:26:48-07:00 List-Id: On Sep 8, 11:16=A0pm, Martin wrote: > 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 Oh! I should have thought of that! Thanks Martin, for being helpful. :) Regards, Allison