[PolyORB-users] Installation failure: Ada compiler is not working.

Allison Beh 馬慶盈 alliraph at gmail.com
Mon Sep 7 06:03:12 CEST 2009


Yes, your suggestion does help. Thank you so much. I've modified the path
sequence and now I can configure the package. Yet there is another problem
pops out when I executed % make. The compilation was abandoned and gnatmake
made an error message:
compilation abandoned
gnatmake:
"/Users/kheng-yinbeh/polyorb-gpl-2009-src/src/polyorb-references-ior.adb"
compilation error
make: *** [src.gpr] Error 4

I've attached the log file. Kindly review it. Thanks a lot.

2009/9/7 Jérôme Hugues <hugues at telecom-paristech.fr>

>
> Le 6 sept. 09 à 17:32, Allison Beh 馬慶盈 a écrit :
>
>  Yes, I was referring to MacAda gnat package. In the log file, it stated
>> that:
>>
>> i686-apple-darwin9-gcc-4.0.1: language ada not recognized
>> i686-apple-darwin9-gcc-4.0.1: src.ada: linker input file unused because
>> linking not done
>> no compilation units found
>> no source files written
>>
>> Sorry I'm not familiar with the rest of the content. I've attached the
>> file in this email. Can you please view it? Would appreciate if you can
>> kindly point out the crucial information. Thanks.
>>
>
>
> configure:3840: cd conftest && gnatchop -q src.ada && gcc -c check.adb >
> /dev/null 2>../conftest.out
> i686-apple-darwin9-gcc-4.0.1: language ada not recognized
> i686-apple-darwin9-gcc-4.0.1: language ada not recognized
> i686-apple-darwin9-gcc-4.0.1: src.ada: linker input file unused because
> linking not done
>
> From your information, and this log file
> 1/ You have a GNAT and the default Mac OS X gcc (presumably)
> 2/ GNAT and GCC are both in your PATH
> 3/ _but_ for some reasons the gcc found by configure is GCC 4.0.1 with Ada
> support
>
> to check that, open a terminal, and issue
> which gcc
> which gnatmake
>
> the which command tells you which gcc is used
>
> I suggest you modify your PATH so that GNAT is in first position
>
> Hope this helps
>
>
> --
> Jérôme Hugues, TELECOM ParisTech
> http://www.telecom-paristech.fr/~hugues
>
>
>
>

Regards,
-- 
Allison Kheng-Yin Beh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/polyorb-users/attachments/20090907/debb3f9c/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 43579 bytes
Desc: not available
Url : /pipermail/polyorb-users/attachments/20090907/debb3f9c/attachment-0001.obj 


More information about the PolyORB-users mailing list