[MacPorts] #25243: Problems compiling gnat-gcc +gnuada on SL

MacPorts noreply at macports.org
Mon Jun 14 07:15:06 PDT 2010


#25243: Problems compiling gnat-gcc +gnuada on  SL
----------------------------------+-----------------------------------------
 Reporter:  lvcargnini@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.0                                
 Keywords:  gnat gcc gnuada       |        Port:  gnat-gcc                             
----------------------------------+-----------------------------------------
 Hi I'm trying to install gnat-gcc on my OSX, a SL 10.6.3, but I'm having
 some issues, mainly the biggest issue is the following:[[BR]]
 [[BR]]


 :debug:configure Environment: CPATH='/opt/local/include' CXXFLAGS='-O2'
 [[BR]]CPPFLAGS='-I/opt/local/include'
 [[BR]]CFLAGS='-O2'
 [[BR]]AS_FOR_TARGET='/usr/bin/as'
 [[BR]]LIBRARY_PATH='/opt/local/lib'
 [[BR]]MACOSX_DEPLOYMENT_TARGET='10.6'
 [[BR]]CXX='/opt/local/bin/g++-gnat-4.4'
 [[BR]]CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_gnat-gcc/work/.CC_PRINT_OPTIONS'
 [[BR]]F90FLAGS='-O2 -m64'
 [[BR]] LD_FOR_TARGET='/usr/bin/ld'
 [[BR]]RANLIB_FOR_TARGET='/usr/bin/ranlib'
 [[BR]]LDFLAGS='-L/opt/local/lib -arch x86_64'
 [[BR]]OBJDUMP_FOR_TARGET='/usr/bin/objdump'
 [[BR]]FCFLAGS='-O2 -m64'
 [[BR]]OBJC='/opt/local/bin/gcc-gnat-4.4'
 [[BR]]INSTALL='/usr/bin/install -c'
 [[BR]]AR_FOR_TARGET='/usr/bin/ar'
 [[BR]] NM_FOR_TARGET='/usr/bin/nm'
 [[BR]]GNATBIND='/opt/local/bin/gnatbind'
 [[BR]]GNATMAKE='/opt/local/bin/gnatmake'
 [[BR]]FFLAGS='-O2 -m64'
 [[BR]]OBJCFLAGS='-O2'
 [[BR]]CC_PRINT_OPTIONS='YES'
 [[BR]]PATH='/opt/local/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
 [[BR]]STRIP_FOR_TARGET='/usr/bin/strip'
 [[BR]]CC='/opt/local/bin/gcc-gnat-4.4'
 [[BR]]:debug:configure Assembled 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'[[BR]]
 :info:configure checking build system type... x86_64-apple-darwin10[[BR]]
 :info:configure checking host system type... x86_64-apple-darwin10[[BR]]
 :info:configure checking target system type... x86_64-apple-darwin10[[BR]]
 :info:configure checking for a BSD-compatible install... /usr/bin/install
 -c[[BR]]
 :info:configure checking whether ln works... yes[[BR]]
 :info:configure checking whether ln -s works... yes[[BR]]
 :info:configure checking for gcc... /opt/local/bin/gcc-gnat-4.4[[BR]]
 :info:configure checking for C compiler default output file name...
 configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_gnat-gcc/work/build':[[BR]]
 :info:configure configure: error: C compiler cannot create
 executables[[BR]]
 :info:configure See `config.log' for more details.[[BR]]
 :info:configure 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 77[[BR]]
 :error:configure Target org.macports.configure returned: configure
 failure: shell command failed[[BR]]
 :debug:configure Backtrace: configure failure: shell command failed while
 executing[[BR]]
 "$procedure $targetname"[[BR]]
 :info:configure Warning: the following items did not execute (for gnat-
 gcc): [[BR]]org.macports.activate org.macports.configure
 org.macports.build org.macports.destroot org.macports.install[[BR]]
 :notice:configure 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

-- 
Ticket URL: <http://trac.macports.org/ticket/25243>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list