On Dec 23, 2007, at 11:36, Michael Welch wrote:
On Dec 23, 2007, at 11:03 AM, Ryan Schmidt wrote:
On Dec 23, 2007, at 10:59, Michael Welch wrote:
Macintosh:~ jswelch$ sudo port install bison ---> Configuring expat 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_tex tproc_expat/work/expat-2.0.1" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man " returned error 77 Command output: checking build system type... i386-apple-darwin9.1.0 checking host system type... i386-apple-darwin9.1.0 checking for gcc... gcc 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: gettext expat libiconv m4 Error: Status 1 encountered during processing.
So the problem here is with expat, not bison. And it says it cannot find a compiler. Did you install Xcode? You need to. The current version of Xcode is 3.0 for Leopard, 2.5 for Tiger or 1.5 for Panther. Please download and install the correct version from http://developer.apple.com/
I've got Xcode 3 and 2.5 installed on leopard. Could that be the problem?
I would expect that to be fine. (And if it's not, we need to fix MacPorts so that it's fine.) What does the config.log say? It'll be in the directory /opt/local/ var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_textpro c_expat/work/expat-2.0.1 Please remember to reply to all when replying, so your mail gets to the list, too.