is MySQL required for liftOver?

12 views
Skip to first unread message

Vasily Aushev

unread,
Oct 27, 2014, 12:19:11 PM10/27/14
to gen...@soe.ucsc.edu
hello,
I tried to compile liftOver sources under Windows using minGW (GNU-compatible compiler). Unfortunately minGW's 'make' ends with errors:
/usr/bin/sh: mysql_config: command not found
/usr/bin/sh: mysql_config: command not found
../../inc/common.mk:193: *** can not find installed mysql development system. Stop.

I am wondering if there is any way to overcome this. (In fact I have MySQL installed but probably it is somehow not 'visible' for compiler) Do we really need mySQL for liftOver functionality?

Thanks in advance.

Hiram Clawson

unread,
Oct 27, 2014, 12:28:28 PM10/27/14
to gen...@soe.ucsc.edu
Good Morning Vasily:

You can use the shell environment variables:
MYSQLINC and MYSQLLIBS
to override the automatic detection of where MySQL
include files and libraries are located.
For example:

export MYSQLINC=/usr/local/mysql/include/mysql
export MYSQLLIBS="/usr/local/mysql/lib/mysql/libmysqlclient.a -lz"

--Hiram
Reply all
Reply to author
Forward
0 new messages