[MacPorts] #25243: Problems compiling gnat-gcc +gnuada on SL
MacPorts
noreply at macports.org
Mon Jun 14 07:35:45 PDT 2010
#25243: Problems compiling gnat-gcc +gnuada on SL
----------------------------------+-----------------------------------------
Reporter: lvcargnini@… | Owner: krischik@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.0
Keywords: | Port: gnat-gcc
----------------------------------+-----------------------------------------
Changes (by macsforever2000@…):
* owner: macports-tickets@… => krischik@…
* keywords: gnat gcc gnuada =>
Old 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:[[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
New 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
}}}
--
Comment:
What command did you run to try to install?
--
Ticket URL: <http://trac.macports.org/ticket/25243#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list