I’m trying to install the mysql5 port ( @5.1.72 ), but it dies in the 
./configure script. 

$ sudo port install -f mysql5 
--->  Computing dependencies for mysql5
--->  Configuring mysql5
Error: Failed to configure mysql5, consult 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/config.log
Error: org.macports.configure for port mysql5 returned: configure failure: 
command execution failed
Please see the log file for port mysql5 for details:
    
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mysql5 failed

Check unwinding the logs, show that the configure  invoked was:
./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-ssl=/opt/local --with-extra-charsets=complex 
--with-unix-socket-path=/opt/local/var/run/mysql5/mysqld.sock 
--with-mysqld-user=_mysql --without-docs --with-plugins=all 
--enable-thread-safe-client --without-readline --with-embedded-server --with-pic

which fails with:

checking HIST_ENTRY is declared in readline/readline.h... yes
configure: error: Could not find system readline or libedit libraries
              Use --with-readline or --with-libedit to use the bundled
              versions of libedit or readline

That’s a bit odd because macports did install readline as a dependency. 

Removing —without-readline or replacing —without-readline with —with-readline 
let’s ./configure succeed, but then running sudo make install, fails 
complaining about abi_check, so something else is still wrong.

Does anyone have any idea what is wrong here?

Thanks.
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to