[PolyORB-users] PolyORB installation error
Alina-Mihaela Radu
Alina-Mihaela.Radu at univ-savoie.fr
Thu May 29 12:48:54 CEST 2008
Yes, I think you are right. It's not the same compilator.
The compilators are not the same.
$ gnatls -v
GNATLS GPL 2007 (20070405-41)
Copyright 1997-2007, Free Software Foundation, Inc.
Source Search Path:
<Current_Directory>
/home/alina/Desktop/dep/gnat-2007-i686-gnu-linux-libc2.3-bin/lib/gcc/i686-pc-linux-gnu/4.1.3/adainclude/
Object Search Path:
<Current_Directory>
/home/alina/Desktop/dep/gnat-2007-i686-gnu-linux-libc2.3-bin/lib/gcc/i686-pc-linux-gnu/4.1.3/adalib/
Project Search Path:
<Current_Directory>
/home/alina/Desktop/dep/gnat-2007-i686-gnu-linux-libc2.3-bin/lib/gnat/
$ sudo gnatls -v
GNATLS 4.2.3 (Ubuntu 4.2.3-2ubuntu2)
Copyright 1997-2006, Free Software Foundation, Inc.
Source Search Path:
<Current_Directory>
/usr/lib/gcc/i486-linux-gnu/4.2.3/adainclude/
Object Search Path:
<Current_Directory>
/usr/lib/gcc/i486-linux-gnu/4.2.3/adalib/
Project Search Path:
<Current_Directory>
/usr/share/ada/adainclude/
How can I use the same compilator for super user as the one I use for my user?
Thanks alot! I really think I'm learning new things!
Alina
> 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
>
More information about the PolyORB-users
mailing list