Re: Installation problem with GNAT GPL 2009



On Sep 8, 3:54 pm, Allison Beh <allir...@xxxxxxxxx> 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
.



Relevant Pages

  • Re: vcredist_x86.exe runs very slowly when already installed
    ... There was no delay that we encountered after the first installation. ... There must be something different about the install or possibly the permissions are causing some problems. ... I'm not sure if a re-install causes any existing CRT dlls to be uninstalled ... the machine, it is painfully slow. ...
    (microsoft.public.vc.language)
  • Re: install fail: configuring Kernel parameters
    ... How or what do I put in the GRUB menu so that I can boot this machine? ... This was my first installation. ... It looks like it is trying to switch from text to graphcial.. ... I redownload and did a clean install. ...
    (Fedora)
  • Re: Office 97 Setup Non-responsive
    ... first installation attempt, then check whether the MS Office folders have ... The 2003 would not install so I ... uninstall/remove Office 97 but consistently received a "Set-up ...
    (microsoft.public.office.setup)
  • How to install an configured component in more than one application partition Win2k3?
    ... I've tried to install my cofigured component in ... partition on Windows 2003 Server using regsvcs.exe /parname:<name of ... The first installation has worked ...
    (microsoft.public.dotnet.framework)
  • Re: Booting off raidz *mostly* work
    ... You could use jot to duplicate various gpart commands to multiple drives, ... Clear 2 drives with up to 3 partitions each: ... Instead of extracting dists from the install media, I chose to build tar files of a system image using procedures gleaned from the jail manpage, that way I can add loader support and plenty of customizations to my image, use an up to date build, even include the source and ports trees for convenience into my tar, and the tar tends to extract in just a couple minutes on the destination system. ...
    (freebsd-current)

Loading