Roger Mc Murtrie <[email protected]> writes: > On 27/04/2010, at 10:51 PM, Vadim Godunko wrote: > >> On 04/27/2010 02:30 PM, Roger Mc Murtrie wrote: >>>>>> >>>>> So just edit configure and Makefile; they are much larger than >>>>> configure.ac and Makefile.am, but you should be able to find the right >>>>> line to edit. >>>> In configure.ac, Makefile.am and Makefile.in and configure >>>> I've changed: >>>> $GPRCONFIG -o gnat/config.cgpr --config=ada --config=c++ --batch >>>> (which was hard coded in configure.) >>>> to >>>> $(GPRCONFIG) -o gnat/config.cgpr --target=i386-apple-darwin10.2.0 >>>> --config=ada --config=c++ --batch >> I was unable to reconstruct whole discussion, but I can say you don't >> need to edit configure/Makefile. Once configure did his job you can just >> run gprconfig in desired way from command line. It is rerun from >> Makefile after 'clean' of build tree. >> >> So, if you fixed issues with gprbuild, you can unpack QtAda, run >> configure, run gprconfig and make. You will have errors, please send log >> to me. > I just tried a new unpack of the QtAda tar file, then > ./configure > gprconfig -o gnat/config.cgpr --target=i386-apple-darwin10.2.0 --config=ada > --config=c++ --batch > which produced, as you suggested: > Creating configuration file: gnat/config.cgpr > make then ran as far as: > gprbuild -j2 -p -aP../../gnat -aP../../gnat --config=../../gnat/config.cgpr > -Psource_core.gpr > config.cgpr:6:08: undefined attribute "target" > config.cgpr:10:08: undefined attribute "runtime_source_dir" > config.cgpr:22:08: undefined attribute "separate_run_path_options" > config.cgpr:32:11: undefined attribute "leading_required_switches" > config.cgpr:33:18: unknown attribute "leading_required_switches" > gprbuild: processing of configuration project > "/Ada_Source/qtada-gpl-3.1.0/gnat/config.cgpr" failed > > which is a problem I am currently faced with.
This is a packaging error. The version of the "gpr" language that gprconfig is writing into config.cgpr is not compatible with the version that gprbuild supports. The C++ errors in your previous email are also evidence of a packaging error. You'll have to get in touch with the people that built your GNAT package, or try to rebuild it yourself. -- -- Stephe _______________________________________________ qtada-users mailing list [email protected] http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com
