[MacPorts] #41978: mysql5 @5.1.72: C compiler cannot create executables (was: kmymoney4 @4.6.4 mysql5 dependency broken)
MacPorts
noreply at macports.org
Tue Dec 31 03:27:16 PST 2013
#41978: mysql5 @5.1.72: C compiler cannot create executables
-----------------------+-----------------------
Reporter: malmuc@… | Owner: pixilla@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: mysql5 |
-----------------------+-----------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
* owner: macports-tickets@… => pixilla@…
* port: kmymoney4 kmymoney4-devel mysql5 => mysql5
Comment:
mysql5 installs fine for me on Mavericks, though you are correct that it
is deprecated and should not be used anymore.
kmymoney4 does not depend on mysql5. It depends on kdepimlibs4, which
depends on akonadi, which depends on mysql5, but only because mysql5 is a
default variant.
You can install akonadi with a different MySQL-compatible variant if you
prefer:
{{{
$ port variants akonadi
akonadi has the variants:
debug: Enable debug binaries
docs: Build documentation
mariadb: build with mariadb port
* conflicts with mysql5 mysql51 mysql55 mysql56 percona sqlite
[+]mysql5: build with mysql5 port
* conflicts with mariadb mysql51 mysql55 mysql56 percona sqlite
mysql51: build with mysql51 port
* conflicts with mariadb mysql5 mysql55 mysql56 percona sqlite
mysql55: build with mysql55 port
* conflicts with mariadb mysql5 mysql51 mysql56 percona sqlite
mysql56: build with mysql56 port
* conflicts with mariadb mysql5 mysql51 mysql55 percona sqlite
no_root: Run the akonadi server start as MacPorts install user.
percona: build with percona port
* conflicts with mariadb mysql5 mysql51 mysql55 mysql56 sqlite
sqlite: Use sqlite backend instead of MySQL
* conflicts with mariadb mysql5 mysql51 mysql55 mysql56 percona
universal: Build for multiple architectures
}}}
For example:
{{{
sudo port install akonadi +mysql56
}}}
The plan is to make a newer MySQL the default variant, once all ports that
use MySQL offer such variants; see #39961.
So I'm inclined to make this ticket about the mysql5 build failure you
encountered.
The log says:
{{{
:info:configure configure: error: in
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72':
:info:configure configure: error: C compiler cannot create executables
:info:configure See `config.log' for more details.
}}}
Please attach the config.log so we can see why the C compiler couldn't
create executables. The usual reason why is [wiki:FAQ#missingxcode in the
FAQ].
--
Ticket URL: <https://trac.macports.org/ticket/41978#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list