antlr: C++ compiler cannot create executables
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)
Summary: |
Could not install hibernate3 →
antlr: C++ compiler cannot create executables
|
Cc: |
landonf@… removed
|
Owner: |
changed from macports-tickets@… to landonf@…
|
Resolution: |
→ invalid
|
Status: |
new →
closed
|
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?