Not sure if this is off topic, but there doesn't seem to be an obvious
place to ask this question.

I am trying to use MacPorts to install mysql.  I have xcode 3.0 and
x11 XQuartz 2.1.6 installed.

$PATH:
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/
local/bin:/usr/X11/bi

When I sudo port install mysql5-server

I receive:

--->  Configuring mysql5
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_databases_mysql5/
work/mysql-5.0.83" && ./configure --prefix=/opt/local --mandir=/opt/
local/share/man --infodir=/opt/local/share/info --localstatedir=/opt/
local/var/db/mysql5 --libdir=/opt/local/lib/mysql5 --bindir=/opt/local/
lib/mysql5/bin --includedir=/opt/local/include/mysql5 --datadir=/opt/
local/share/mysql5 --sysconfdir=/opt/local/etc/mysql5 --with-zlib-dir=/
opt/local --with-openssl=/opt/local --with-extra-charsets=complex --
with-federated-storage-engine --with-unix-socket-path=/opt/local/var/
run/mysql5/mysqld.sock --with-mysqld-user=mysql --without-bench --
enable-thread-safe-client --without-readline " returned error 77
Command output: checking build system type... i386-apple-darwin9.7.0
checking host system type... i386-apple-darwin9.7.0
checking target system type... i386-apple-darwin9.7.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking "character sets"... default: latin1, collation:
latin1_swedish_ci; compiled in: latin1 latin1 utf8 big5 cp1250 cp932
eucjpms euckr gb2312 gbk latin1 latin2 sjis tis620 ucs2 ujis utf8
checking whether to compile national Unicode collations... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) awk
checking for gcc... /usr/bin/gcc-4.0
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_databases_mysql5/
work/mysql-5.0.83':
configure: error: C compiler cannot create executables
See `config.log' for more details.

Error: The following dependencies failed to build: mysql5
Error: Status 1 encountered during processing.

In fact I get the error:

Error: Target org.macports.configure returned: configure failure

whenever I use MacPorts.

A
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to