#18415 closed defect (worksforme)
gnat-gcc 4.3.3 Configure error - build failure
Reported by: | macports@… | Owned by: | krischik@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | build failure | Cc: | |
Port: | gnat-gcc |
Description
I am trying to install gnat-gcc 4.3.3 but it fails with this:
sudo port install gnat-gcc ---> Configuring gnat-gcc Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gnat-gcc/work/build" && ../gcc-4.3.3/configure --prefix=/opt/local --enable-languages=c,c++,ada,objc,obj-c++,java,fortran --libdir=/opt/local/lib/gnat-gcc --includedir=/opt/local/include/gnat-gcc --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-gnat-4.3 --with-gxx-include-dir=/opt/local/include/gnat-gcc/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local " returned error 1 Command output: checking build system type... i386-apple-darwin9.6.0 checking host system type... i386-apple-darwin9.6.0 checking target system type... i386-apple-darwin9.6.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.0 accepts -g... yes checking for gnatbind... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for correct version of gmp.h... yes checking for correct version of mpfr.h... yes configure: error: GNAT is required to build ada Error: Status 1 encountered during processing.
gcc43 did install fine. As far as I understand the output I couln'd install the ada compiler without an ada compiler already installed?!?
Change History (3)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Keywords: | gnat-gcc removed |
---|---|
Owner: | changed from macports-tickets@… to krischik@… |
comment:2 Changed 16 years ago by krischik@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Indded, you need an Ada compiler first. You can donwload one
I suggest the 2nd option - otherwise you you need "install --force" with all the problems that brings. Apart from that I look up the manual to see of I can give an helpfull error message if no variant is choosen.