[MacPorts] #62086: p5.28-dbd-mysql +mysql8: Error: Failed to configure p5.28-dbd-mysql: configure failure: command execution failed

MacPorts noreply at macports.org
Mon Jan 18 21:46:14 UTC 2021


#62086: p5.28-dbd-mysql +mysql8: Error: Failed to configure p5.28-dbd-mysql:
configure failure: command execution failed
--------------------+-----------------------------
 Reporter:  jhoyt4  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  p5.28-dbd-mysql
--------------------+-----------------------------
 I am unable to install the mysql8 variant of p5.28-dbd-mysql - here is the
 output error


 {{{
 --->  Configuring p5.28-dbd-mysql
 Executing:  cd "/opt/local/var/macports/build/_opt_mports_macports-
 ports_perl_p5-dbd-mysql/p5.28-dbd-mysql/work/DBD-mysql-4.050" &&
 /opt/local/bin/perl5.28 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang"
 LD="/usr/bin/clang" --mysql_config=/opt/local/lib/mysql8/bin/mysql_config


 PLEASE NOTE:

 For 'make test' to run properly, you must ensure that the
 database user 'root' can connect to your MySQL server
 and has the proper privileges that these tests require such
 as 'drop table', 'create table', 'drop procedure', 'create procedure'
 as well as others.

 mysql> grant all privileges on test.* to 'root'@'localhost' identified by
 's3kr1t';

 You can also optionally set the user to run 'make test' with:

 perl Makefile.PL --testuser=username

 I will use the following settings for compiling and testing:

   cflags        (mysql_config) = -I/opt/local/include/mysql8/mysql
   embedded      (guessed     ) =
   ldflags       (guessed     ) =
   libs          (mysql_config) = -L/opt/local/lib/mysql8/mysql
 -lmysqlclient
   mysql_config  (Users choice) = /opt/local/lib/mysql8/bin/mysql_config
   nocatchstderr (default     ) = 0
   nofoundrows   (default     ) = 0
   nossl         (default     ) = 0
   testdb        (default     ) = test
   testhost      (default     ) =
   testpassword  (default     ) =
   testport      (default     ) =
   testsocket    (default     ) =
   testuser      (guessed     ) = root

 To change these settings, see 'perl Makefile.PL --help' and
 'perldoc DBD::mysql::INSTALL'.

 Checking if libs are available for compiling...
 Can't link/include C library 'mysqlclient', aborting.
 Command failed:  cd "/opt/local/var/macports/build/_opt_mports_macports-
 ports_perl_p5-dbd-mysql/p5.28-dbd-mysql/work/DBD-mysql-4.050" &&
 /opt/local/bin/perl5.28 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang"
 LD="/usr/bin/clang" --mysql_config=/opt/local/lib/mysql8/bin/mysql_config
 Exit code: 2
 Error: Failed to configure p5.28-dbd-mysql: configure failure: command
 execution failed
 Error: See /opt/local/var/macports/logs/_opt_mports_macports-ports_perl_p5
 -dbd-mysql/p5.28-dbd-mysql/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port p5.28-dbd-mysql failed
 }}}



 {{{
 % ls /opt/local/lib/mysql8/mysql
 libcrypto.1.1.dylib           libmysqlclient.a              libprotobuf-
 lite.3.11.4.dylib libprotobuf.dylib
 libcrypto.dylib               libmysqlclient.dylib          libprotobuf-
 lite.dylib        libssl.1.1.dylib
 libmysqlclient.21.dylib       libmysqlservices.a
 libprotobuf.3.11.4.dylib      libssl.dylib
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62086>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list