Opened 15 years ago

Closed 14 years ago

#22352 closed defect (wontfix)

defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create executables (new)

Reported by: macport@… Owned by: krischik@…
Priority: Low Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: gnat-gcc

Description (last modified by mf2k (Frank Schima))

I'm trying to install gnat-gcc 4.4.1 with the +macada variant on Snow Leopard 10.6.1 (MacBookPro5.1). (macada is installed) All the dependences are compiled with +universal variants but the installation failed.

I can't find config.log.

==

# sudo port install gnat-gcc +macada
 
--->  Computing dependencies for 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.4.1/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.4 --with-gxx-include-dir=/opt/local/include/gnat-gcc/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local " returned error 77
Command output: checking build system type... i386-apple-darwin10.0.0
checking host system type... i386-apple-darwin10.0.0
checking target system type... i386-apple-darwin10.0.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/local/ada-4.3/bin/gcc
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':
configure: error: C compiler cannot create executables
See `config.log' for more details.

Change History (8)

comment:1 Changed 15 years ago by macport@…

I'm trying to install gnat-gcc 4.4.1 with the +macada variant on Snow Leopard 10.6.1 (MacBookPro5.1). (macada is installed) All the dependences are compiled with +universal variants but the installation failed.

I can't find config.log.

sudo port install gnat-gcc +macada

--->  Computing dependencies for 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.4.1/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.4 --with-gxx-include-dir=/opt/local/include/gnat-gcc/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local " returned error 77
Command output: checking build system type... i386-apple-darwin10.0.0
checking host system type... i386-apple-darwin10.0.0
checking target system type... i386-apple-darwin10.0.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/local/ada-4.3/bin/gcc
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':
configure: error: C compiler cannot create executables
See `config.log' for more details.

Error: Status 1 encountered during processing.

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Priority: Not setNormal

comment:3 Changed 15 years ago by mf2k (Frank Schima)

It should be in here:

cd `port work gnat-gcc`/build

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Keywords: +macada ada executables gcc removed
Owner: changed from macports-tickets@… to krischik@…

comment:5 Changed 15 years ago by krischik@…

Status: newassigned

The problem lies here:

 84 configure:3313: checking for C compiler default output file name
 85 configure:3316: /usr/local/ada-4.3/bin/gcc -O2 -arch x86_64 -I/opt/local/include -L/opt/local/lib conftest.c  >&5
 86 cc1: error: unrecognized command line option "-arch"
 87 configure:3319: $? = 1

Seem that gcc 4.3 does not understand "-arch".

comment:6 Changed 15 years ago by krischik@…

Priority: NormalLow

I suggest to use the binary package provided from The GNU Ada Project:

http://sourceforge.net/projects/gnuada/files/

mind you: the compile on Snow Leopard still won't work - but at least you have a working compiler.

comment:7 Changed 15 years ago by macport@…

Thanks,.. I've been using VirtualBox since 2 weeks (instead using a compiler for mac) I have some problems with other compiler (GNU ada,etc.)..

comment:8 Changed 14 years ago by krischik@…

Resolution: wontfix
Status: assignedclosed

I am currently working on gnat-gcc 4.5.1 - any 4.4 bugs won't be fixed. gnat-gcc is a very time consuming port - any help is welcome. Drop me a mail an I send you the current Portfile and test scripts.

Note: See TracTickets for help on using tickets.