Adding the symlink still produced errors: % sudo port -v install gnat-gcc gnatgpl ---> Computing dependencies for gnat-gcc. ---> Configuring gnat-gcc #################################################################### # Ada is self hosted (http://en.wikipedia.org/wiki/Self-hosting) # # # # You need to install an existing Ada compiler and then choose # # an appropiate variant. For more info use: # # # # port variants gnat-gcc # #################################################################### checking build system type... x86_64-apple-darwin10 checking host system type... x86_64-apple-darwin10 checking target system type... x86_64-apple-darwin10 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.2 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.2 accepts -g... yes checking for /usr/bin/gcc-4.2 option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.2 accepts -g... yes checking for gnatbind... gnatbind checking for gnatmake... gnatmake 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 checking for version 0.10 of PPL... no checking for correct version of CLooG... no configure: error: GNAT is required to build ada 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.4.2/configure --prefix=/opt/local --build=x86_64-apple-darwin10 --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.4 --with-gxx-include-dir=/opt/local/include/gnat-gcc/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local " returned error 1 Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Warning: the following items did not execute (for gnat-gcc): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for gnat-gcc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gnat-gcc/main.log Error: Status 1 encountered during processing.
On Jan 23, 2011, at 12:51 PM, Brandon S Allbery KF8NH wrote: > On 1/23/11 11:04 , M wrote: >> The "doinstall" script will install GNAT under /usr/local/gnat by default. > > Try running this in a terminal window: > > sudo ln -s /usr/local/gnat /opt/gnat-2009-x86_64-apple-darwin9.6.0-bin > > - -- > brandon s. allbery [linux,solaris,freebsd,perl] [email protected] > system administrator [openafs,heimdal,too many hats] [email protected] > electrical and computer engineering, carnegie mellon university KF8NH _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
