gcc-gnat depends on OLDER version - pls help!
I am running Fedora 10 and have been trying to install gcc 3.4.6 from source including ada language support as I require libgnat-3.4.so.1 to run some 3rd part software for work.
Unfortunately whilst gcc needs any cc or gcc installation (I have 4.3), GNAT appears to depend on compiling it with **older** versions, as I can see from the bug report at: http://gcc.gnu.org/ml/gcc-bugs/2007-02/msg01799.html. It first fell over with the following warning which is treated as an error and causes an exit: Code:
a-elchha.adb:103:13: warning: index for "Buff" may assume lower bound of 1 Code:
s-except.ads:47:15 package "System.Exceptions" does not allow a body Unfortunately the Fedora 10 "compatability gcc 3.4" package doesn't contain the gnat support either which is why I was resorting to the source. Please can someone advise me how I can proceed, as far as I can see I have the following options: 1) Find an older pre-compiled version of gnat that will work on Fedora 10 2) Find a way to edit the offending file and each of the others that will pop up afterwards (this is only the 13th file out of LOADS to be compiled). 3) Install gcc without the ada support and borrow a library compiled for RedHat WS4 which has been offered to me. Have a better day I am! :-) Emma |
You can install older distro which has gcc-3.4 as THE compiler (what it was - FC 3 ?) in VM or the other physical box, built libgnat-3.4 on this distro and then copy it to your Fedora 10 box.
While tedious it should work :) |
Hi Valery
Thanks for the suggestion, I think I'll give it a try. I've actually already asked the IT dept if they had any old disks lying around so I could install all the software on a legacy OS which comes with compiler! You wouldn't think it, but the software I am trying to run is a recent release! Cheers Emma |
There are a few packages made to handle this situation.
compat-gcc-34 compat-gcc-34-c++ compat-glibc compat-libstc++-33 |
Hi Lazlow
I had those packages installed originally, unfortunately it didn't look like there was any ada support built into the packages. The required library was still missing so I couldn't run the software. Cheers Emma |
Was eventually pointed to a really old gcc 2.5 package and started from that. For more (very brief) info, see:
http://www.linuxquestions.org/questi...ora-10-730437/ |
All times are GMT -5. The time now is 10:14 PM. |