[PolyORB-users] PolyORB installation error

Jérôme Hugues hugues at infres.enst.fr
Thu May 29 12:54:18 CEST 2008


Le 29 mai 08 à 12:04, Vadim Godunko a écrit :

> Alina-Mihaela Radu wrote:
>>
>> The configuration works fine, I don't receive any errors after ./ 
>> configure and make, but when I try to install it, I receive:
>> $ sudo make install
>> 	
>> gcc-4.2 -c -gnat05 -g -O2 -gnatyg -gnatwae -I/home/alina/Desktop/ 
>> dep/polyorb-src/compilers/gnatprfh gnatprfh.adb
>> gnat1: bad -gnaty switch (invalid style switch:g)
>> gnatmake: "gnatprfh.adb" compilation error
>> make: *** [build-gnatprfh] Error 4
>>
> Are you sure compiler under sudo is the same with you session  
> compiler?
>
> Can you please try:
>
> gnatls -v
>
> and
>
> sudo gnatls -v

Vadim certainly catches it, it is strange you call gcc-4.2 when  
installing PolyORB. It is likely you have another Ada compiler  
installed.

Note that you may not need a sudo to install PolyORB. You may type

./configure --prefix=<whatever path on which you have write access>

This way, you may install PolyORB in your home directory

-- 
Jérôme Hugues, ENST Paris
http://www.enst.fr/~hugues




More information about the PolyORB-users mailing list