[MacPorts] #22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create executables (new)

View: New views
8 Messages — Rating Filter:   Alert me  

[MacPorts] #22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create executables (new)

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create
executables (new)
-----------------------------------------+----------------------------------
 Reporter:  macport@…                    |       Owner:  macports-tickets@…                  
     Type:  defect                       |      Status:  new                                  
 Priority:  Not set                      |   Milestone:                                      
Component:  ports                        |     Version:  1.8.1                                
 Keywords:  +macada ada executables gcc  |        Port:  gnat-gcc                            
-----------------------------------------+----------------------------------
 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.

--
Ticket URL: <http://trac.macports.org/ticket/22352>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create executables (new)

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create
executables (new)
-----------------------------------------+----------------------------------
 Reporter:  macport@…                    |       Owner:  macports-tickets@…                  
     Type:  defect                       |      Status:  new                                  
 Priority:  Not set                      |   Milestone:                                      
Component:  ports                        |     Version:  1.8.1                                
 Keywords:  +macada ada executables gcc  |        Port:  gnat-gcc                            
-----------------------------------------+----------------------------------

Comment(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.
 }}}

--
Ticket URL: <http://trac.macports.org/ticket/22352#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create executables (new)

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create
executables (new)
-----------------------------------------+----------------------------------
 Reporter:  macport@…                    |       Owner:  macports-tickets@…                  
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                      
Component:  ports                        |     Version:  1.8.1                                
 Keywords:  +macada ada executables gcc  |        Port:  gnat-gcc                            
-----------------------------------------+----------------------------------
Changes (by macsforever2000@…):

  * priority:  Not set => Normal


Old description:

> 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.

New description:

 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.
 }}}

--

--
Ticket URL: <http://trac.macports.org/ticket/22352#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create executables (new)

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create
executables (new)
-----------------------------------------+----------------------------------
 Reporter:  macport@…                    |       Owner:  macports-tickets@…                  
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                      
Component:  ports                        |     Version:  1.8.1                                
 Keywords:  +macada ada executables gcc  |        Port:  gnat-gcc                            
-----------------------------------------+----------------------------------

Comment(by macsforever2000@…):

 It should be in here:

 {{{
 cd `port work gnat-gcc`/build
 }}}

--
Ticket URL: <http://trac.macports.org/ticket/22352#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create executables (new)

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create
executables (new)
----------------------------------------+-----------------------------------
 Reporter:  macport@…                   |       Owner:  krischik@…          
     Type:  defect                      |      Status:  new                  
 Priority:  Normal                      |   Milestone:                      
Component:  ports                       |     Version:  1.8.1                
 Keywords:                              |        Port:  gnat-gcc            
----------------------------------------+-----------------------------------
Changes (by jmr@…):

  * keywords:  +macada ada executables gcc =>
  * owner:  macports-tickets@… => krischik@…


--
Ticket URL: <http://trac.macports.org/ticket/22352#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create executables (new)

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create
executables (new)
----------------------------------------+-----------------------------------
 Reporter:  macport@…                   |       Owner:  krischik@…          
     Type:  defect                      |      Status:  assigned            
 Priority:  Normal                      |   Milestone:                      
Component:  ports                       |     Version:  1.8.1                
 Keywords:                              |        Port:  gnat-gcc            
----------------------------------------+-----------------------------------
Changes (by krischik@…):

  * status:  new => assigned


Comment:

 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".

--
Ticket URL: <http://trac.macports.org/ticket/22352#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create executables (new)

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create
executables (new)
----------------------------------------+-----------------------------------
 Reporter:  macport@…                   |       Owner:  krischik@…          
     Type:  defect                      |      Status:  assigned            
 Priority:  Low                         |   Milestone:                      
Component:  ports                       |     Version:  1.8.1                
 Keywords:                              |        Port:  gnat-gcc            
----------------------------------------+-----------------------------------
Changes (by krischik@…):

  * priority:  Normal => Low


Comment:

 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.

--
Ticket URL: <http://trac.macports.org/ticket/22352#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets

Re: [MacPorts] #22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create executables (new)

by MacPorts :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#22352: defect: gnat-gcc +macada 4.4.1 configure: error: C compiler cannot create
executables (new)
----------------------------------------+-----------------------------------
 Reporter:  macport@…                   |       Owner:  krischik@…          
     Type:  defect                      |      Status:  assigned            
 Priority:  Low                         |   Milestone:                      
Component:  ports                       |     Version:  1.8.1                
 Keywords:                              |        Port:  gnat-gcc            
----------------------------------------+-----------------------------------

Comment(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.)..

--
Ticket URL: <http://trac.macports.org/ticket/22352#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
_______________________________________________
macports-tickets mailing list
macports-tickets@...
http://lists.macosforge.org/mailman/listinfo.cgi/macports-tickets