Ticket #14056 (closed defect: invalid)
antlr: C++ compiler cannot create executables
| Reported by: | babygodzilla@… | Owned by: | landonf@… |
|---|---|---|---|
| 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
comment:2 Changed 5 years ago by ryandesign@…
- Summary changed from Could not install hibernate3 to antlr: 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:4 Changed 5 years ago by raimue@…
This error most likely comes from a broken Xcode installation. Reinstall the current version of Xcode and try again.
comment:5 Changed 5 years ago by jmr@…
- Cc landonf@… removed
- Owner changed from macports-tickets@… to landonf@…
Note: See
TracTickets for help on using
tickets.

