Opened 14 years ago

Last modified 14 years ago

#25243 closed defect

Problems compiling gnat-gcc +gnuada on SL — at Initial Version

Reported by: lvcargnini@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.0
Keywords: Cc:
Port: gnat-gcc

Description

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:

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

Change History (1)

Changed 14 years ago by lvcargnini@…

Attachment: main.log added
Note: See TracTickets for help on using tickets.