Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Oct 2013 12:45:06 +0100
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   anyone else using WITH_MYSQL_VER=55m and having problems?
Message-ID:  <524EAA42.8000003@unsane.co.uk>

next in thread | raw e-mail | index | archive | help
I've opened a PR for apr1 but i'm thinking maybe it should be for mariadb55?
http://www.freebsd.org/cgi/query-pr.cgi?pr=182565

a working build (against mysql55) has

checking for mysql_config... /usr/local/bin/mysql_config
  adding "-lmysqlclient_r" to LDFLAGS
  adding "-pthread" to LDFLAGS
  adding "-lz" to LDFLAGS
  adding "-lm" to LDFLAGS
  setting LIBS to "-L/usr/local/lib/mysql -lmysqlclient_r  -pthread -lz -lm"
configure: checking for mysql in /usr/local
checking for mysql.h... yes
checking for mysql_init in -lmysqlclient_r... yes
checking for my_global.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) yes
checking for my_sys.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) yes
  adding "-I/usr/local/include/mysql" to APRUTIL_PRIV_INCLUDES
  setting LDADD_dbd_mysql to "-L/usr/local/lib/mysql -lmysqlclient_r  -pthread -lz -lm -lmysqlclient_r -L/usr/local/lib/mysql -lmysqlclient_r  -pthread -lz -lm"


The failed build (with mariadb55)

checking for mysql_config... /usr/local/bin/mysql_config
  adding "-I/usr/local/include/mysql/.." to CPPFLAGS
  adding "-lmysqlclient_r" to LDFLAGS
  adding "-pthread" to LDFLAGS
  adding "-lz" to LDFLAGS
  adding "-lm" to LDFLAGS
  adding "-lexecinfo" to LDFLAGS
  setting LIBS to "-L/usr/local/lib/mysql -lmysqlclient_r  -pthread -lz -lm -lexecinfo"
configure: checking for mysql in /usr/local
checking for mysql.h... yes
checking for mysql_init in -lmysqlclient_r... no
checking for my_global.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) no
checking for my_sys.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) no
checking for mysql/mysql.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) no
checking for mysql/my_global.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) no
checking for mysql/my_sys.h... yes
checking for mysql_init in -lmysqlclient_r... (cached) no

Thanks,
Vince



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?524EAA42.8000003>