* Installing GNAT 2012 on Mountain Lion
@ 2012-10-23 13:03 alexmartin715
2012-10-23 15:02 ` Simon Wright
0 siblings, 1 reply; 5+ messages in thread
From: alexmartin715 @ 2012-10-23 13:03 UTC (permalink / raw)
Hello All,
I don't know if I made a mistake during installation but I am trying to get Gnat working on Mountain Lion. It has installed but when I run Gnatmake I get this:
gnatbind -x extra.ali
gnatlink extra.ali
ld: in /usr/bin/gnat/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a(raise-gcc.o), corrupt archive, member contents extends past end of file for architecture x86_64
collect2: ld returned 1 exit status
gnatlink: error when calling /usr/bin/gnat/bin/gcc
gnatmake: *** link failed.
I have it installed on a current generation MBP 13 inch I7.
Thanks in advance for any help!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Installing GNAT 2012 on Mountain Lion
2012-10-23 13:03 Installing GNAT 2012 on Mountain Lion alexmartin715
@ 2012-10-23 15:02 ` Simon Wright
2012-10-25 9:30 ` alexmartin715
0 siblings, 1 reply; 5+ messages in thread
From: Simon Wright @ 2012-10-23 15:02 UTC (permalink / raw)
alexmartin715@gmail.com writes:
> I don't know if I made a mistake during installation but I am trying
> to get Gnat working on Mountain Lion. It has installed but when I run
> Gnatmake I get this:
>
> gnatbind -x extra.ali
> gnatlink extra.ali
> ld: in
> /usr/bin/gnat/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a(raise-gcc.o),
> corrupt archive, member contents extends past end of file for
> architecture x86_64
> collect2: ld returned 1 exit status
> gnatlink: error when calling /usr/bin/gnat/bin/gcc
> gnatmake: *** link failed.
>
> I have it installed on a current generation MBP 13 inch I7.
I have it installed on a current gen MBP 13-inch I5, and no such
problems. This is an install that was done on the previous early-2008
MBP 15-inch running - well, I can't remember when I installed Lion, so
it could have been Lion or Snow Leopard - and recovered from a Time
Machine backup.
I seem to have downloaded on 7 July, and the libgnat.a info is
$ ls -l /opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a
-rw-r--r--@ 1 simon1 simon1 5764464 14 May 15:10 /opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a
$ md5 /opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a
MD5 (/opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a) = 19dd744947c6fa1d180dfb520f6b077d
I can only suggest reinstalling.
Did it really install in /usr/bin/gnat/? Here, it wants to install in
/usr/local/gnat/ which is much more normal. You'll see from the
above that I have my own views on where to install GNAT (because I need
to have several version on-the-go).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Installing GNAT 2012 on Mountain Lion
2012-10-23 15:02 ` Simon Wright
@ 2012-10-25 9:30 ` alexmartin715
2012-10-25 11:19 ` alexmartin715
0 siblings, 1 reply; 5+ messages in thread
From: alexmartin715 @ 2012-10-25 9:30 UTC (permalink / raw)
On Tuesday, October 23, 2012 4:02:08 PM UTC+1, Simon Wright wrote:
> alexmartin715@gmail.com writes:
>
>
>
> > I don't know if I made a mistake during installation but I am trying
>
> > to get Gnat working on Mountain Lion. It has installed but when I run
>
> > Gnatmake I get this:
>
> >
>
> > gnatbind -x extra.ali
>
> > gnatlink extra.ali
>
> > ld: in
>
> > /usr/bin/gnat/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a(raise-gcc.o),
>
> > corrupt archive, member contents extends past end of file for
>
> > architecture x86_64
>
> > collect2: ld returned 1 exit status
>
> > gnatlink: error when calling /usr/bin/gnat/bin/gcc
>
> > gnatmake: *** link failed.
>
> >
>
> > I have it installed on a current generation MBP 13 inch I7.
>
>
>
> I have it installed on a current gen MBP 13-inch I5, and no such
>
> problems. This is an install that was done on the previous early-2008
>
> MBP 15-inch running - well, I can't remember when I installed Lion, so
>
> it could have been Lion or Snow Leopard - and recovered from a Time
>
> Machine backup.
>
>
>
> I seem to have downloaded on 7 July, and the libgnat.a info is
>
>
>
> $ ls -l /opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a
>
> -rw-r--r--@ 1 simon1 simon1 5764464 14 May 15:10 /opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a
>
>
>
> $ md5 /opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a
>
> MD5 (/opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a) = 19dd744947c6fa1d180dfb520f6b077d
>
>
>
> I can only suggest reinstalling.
>
>
>
> Did it really install in /usr/bin/gnat/? Here, it wants to install in
>
> /usr/local/gnat/ which is much more normal. You'll see from the
>
> above that I have my own views on where to install GNAT (because I need
>
> to have several version on-the-go).
Thanks for the advice, I deleted what I could find of GNAT and then reinstalled, and now it compiles but I get this error when I try and run the .exe:
dyld: Library not loaded: @rpath/libgnat-2012.dylib
Referenced from: ./extra <- (This is the .exe file)
Reason: image not found
Trace/BPT trap: 5
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Installing GNAT 2012 on Mountain Lion
2012-10-25 9:30 ` alexmartin715
@ 2012-10-25 11:19 ` alexmartin715
2012-10-25 11:33 ` Google Groups again (was Re: Installing GNAT 2012 on Mountain Lion) Simon Wright
0 siblings, 1 reply; 5+ messages in thread
From: alexmartin715 @ 2012-10-25 11:19 UTC (permalink / raw)
On Thursday, October 25, 2012 10:30:57 AM UTC+1, alexma...@gmail.com wrote:
> On Tuesday, October 23, 2012 4:02:08 PM UTC+1, Simon Wright wrote:
>
> > alexmartin715@gmail.com writes:
>
> >
>
> >
>
> >
>
> > > I don't know if I made a mistake during installation but I am trying
>
> >
>
> > > to get Gnat working on Mountain Lion. It has installed but when I run
>
> >
>
> > > Gnatmake I get this:
>
> >
>
> > >
>
> >
>
> > > gnatbind -x extra.ali
>
> >
>
> > > gnatlink extra.ali
>
> >
>
> > > ld: in
>
> >
>
> > > /usr/bin/gnat/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a(raise-gcc.o),
>
> >
>
> > > corrupt archive, member contents extends past end of file for
>
> >
>
> > > architecture x86_64
>
> >
>
> > > collect2: ld returned 1 exit status
>
> >
>
> > > gnatlink: error when calling /usr/bin/gnat/bin/gcc
>
> >
>
> > > gnatmake: *** link failed.
>
> >
>
> > >
>
> >
>
> > > I have it installed on a current generation MBP 13 inch I7.
>
> >
>
> >
>
> >
>
> > I have it installed on a current gen MBP 13-inch I5, and no such
>
> >
>
> > problems. This is an install that was done on the previous early-2008
>
> >
>
> > MBP 15-inch running - well, I can't remember when I installed Lion, so
>
> >
>
> > it could have been Lion or Snow Leopard - and recovered from a Time
>
> >
>
> > Machine backup.
>
> >
>
> >
>
> >
>
> > I seem to have downloaded on 7 July, and the libgnat.a info is
>
> >
>
> >
>
> >
>
> > $ ls -l /opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a
>
> >
>
> > -rw-r--r--@ 1 simon1 simon1 5764464 14 May 15:10 /opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a
>
> >
>
> >
>
> >
>
> > $ md5 /opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a
>
> >
>
> > MD5 (/opt/gnat-gpl-2012/lib/gcc/x86_64-apple-darwin10.8.0/4.5.4/adalib/libgnat.a) = 19dd744947c6fa1d180dfb520f6b077d
>
> >
>
> >
>
> >
>
> > I can only suggest reinstalling.
>
> >
>
> >
>
> >
>
> > Did it really install in /usr/bin/gnat/? Here, it wants to install in
>
> >
>
> > /usr/local/gnat/ which is much more normal. You'll see from the
>
> >
>
> > above that I have my own views on where to install GNAT (because I need
>
> >
>
> > to have several version on-the-go).
>
>
>
>
>
> Thanks for the advice, I deleted what I could find of GNAT and then reinstalled, and now it compiles but I get this error when I try and run the .exe:
>
>
>
> dyld: Library not loaded: @rpath/libgnat-2012.dylib
>
> Referenced from: ./extra <- (This is the .exe file)
>
> Reason: image not found
>
> Trace/BPT trap: 5
Ok I have it working I was an idiot and hadn't removed GNAT properly and so it was running the incorrect version. Main thing is it's working! Thanks again!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Google Groups again (was Re: Installing GNAT 2012 on Mountain Lion)
2012-10-25 11:19 ` alexmartin715
@ 2012-10-25 11:33 ` Simon Wright
0 siblings, 0 replies; 5+ messages in thread
From: Simon Wright @ 2012-10-25 11:33 UTC (permalink / raw)
alexmartin715@gmail.com writes:
>> > > I don't know if I made a mistake during installation but I am trying
>>
>> >
>>
>> > > to get Gnat working on Mountain Lion. It has installed but when I run
>>
>> >
>>
>> > > Gnatmake I get this:
>>
>> >
>>
>> > >
>>
>> >
>>
>> > > gnatbind -x extra.ali
At least we don't get HTML all over postings any more; just more and
more extra blank lines. Grr.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-10-29 2:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-23 13:03 Installing GNAT 2012 on Mountain Lion alexmartin715
2012-10-23 15:02 ` Simon Wright
2012-10-25 9:30 ` alexmartin715
2012-10-25 11:19 ` alexmartin715
2012-10-25 11:33 ` Google Groups again (was Re: Installing GNAT 2012 on Mountain Lion) Simon Wright
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox