Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#14056 closed defect (invalid)

antlr: C++ compiler cannot create executables

Reported by: babygodzilla@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

I tried to install Hibernate3, but always failed. Here's the error log. Looks like something to do with antlr.

'''sudo port install hibernate3'''
--->  Configuring antlr
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_antlr/work/antlr-2.7.7" && ./configure --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_antlr/work/destroot/opt/local --disable-csharp " returned error 77
Command output: checking for cygpath... no
checking for /bin/cp... yes
checking for /usr/bin/cp... no
checking for cp... /bin/cp
checking for /bin/echo... yes
checking for /usr/bin/echo... no
checking for echo... /bin/echo
checking for /bin/find... no
checking for /usr/bin/find... yes
checking for find... /usr/bin/find
checking for make... /usr/bin/make
checking for gmake... no
checking for gnumake... /usr/bin/gnumake
checking for /bin/make... no
checking for /usr/bin/make... yes
checking whether /usr/bin/make is GNU make... yes
checking for make... /usr/bin/make
checking for java... /usr/bin/java
checking for gij... no
checking for jikes... /usr/bin/jikes
checking for javac... /usr/bin/javac
checking for gcj... no
checking for fastjar... no
checking for jar... /usr/bin/jar
checking for tlib... no
checking for lib... no
checking for ar... /usr/bin/ar
checking for /usr/bin/ar... yes
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

Error: The following dependencies failed to build: antlr junit hamcrest-core apache-ant
Error: Status 1 encountered during processing.

Change History (7)

comment:1 Changed 16 years ago by jmpp@…

Milestone: Port Bugs

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Could not install hibernate3antlr: C++ compiler cannot create executables

I'm unable to reproduce this problem with Mac OS X 10.4.11 Intel, Xcode 2.4.1, MacPorts 1.7.0 from trunk. What version of Mac OS X, Xcode and MacPorts do you have, and on what kind of processor? What does it say in the config.log which will have been left in the source directory in the port's work directory?

open -e `port dir antlr`/work/antlr-2.7.7/config.log

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: landonf@… added

Cc'ing maintainer.

comment:4 Changed 16 years ago by raimue (Rainer Müller)

This error most likely comes from a broken Xcode installation. Reinstall the current version of Xcode and try again.

comment:5 Changed 16 years ago by jmroot (Joshua Root)

Cc: landonf@… removed
Owner: changed from macports-tickets@… to landonf@…

comment:6 Changed 15 years ago by blb@…

Resolution: invalid
Status: newclosed

Closing, lack of response.

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.