Opened 15 years ago

Last modified 15 years ago

#20276 closed defect

mysql5 install configure failure — at Version 3

Reported by: macports@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port:

Description (last modified by blb@…)

I am trying to use MacPorts to install mysql.

I have xcode 3.0, x11 XQuartz 2.1.6 and MacPorts 1.710 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.

Would very much appreciate help with this,

regards,

Mike

Change History (3)

comment:1 Changed 15 years ago by wsiegrist@…

Owner: changed from macports-tickets@… to ryandesign@…
Port: mysql5 added
Summary: mysql5-server install configure failuremysql5 install configure failure
Type: requestdefect

By the way, you should probably upgrade Xcode to 3.1.3 whether it fixes this or not... Assigning to maintainer.

comment:2 Changed 15 years ago by macports@…

I have upgraded xcode as suggested. Same problem. Thanks for the help.

comment:3 Changed 15 years ago by blb@…

Description: modified (diff)
Note: See TracTickets for help on using tickets.