Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: search.inner.peace on October 22, 2011, 05:12:24 PM

Title: mysql-dev path
Post by: search.inner.peace on October 22, 2011, 05:12:24 PM
My /usr/local/mysql/bin/mysql_config on line 94:

pkgincludedir='/usr/local/mysql/include'

Path of mysql-dev installation:

/usr/local/include/mysql

I can't compile using default path of mysql-dev, but I can with following code:


mkdir /usr/local/mysql/include
cp -R /usr/local/include/mysql/* /usr/local/mysql/include
Title: Re: mysql-dev path
Post by: Rich on October 22, 2011, 08:17:15 PM
Hi search.inner.peace
I checked some of the other development extensions and they all use
/usr/local/include/extension_name  for include files.
I'd be inclined to believe that  pkgincludedir='/usr/local/mysql/include' should be
pkgincludedir='/usr/local/include/mysql'
Title: Re: mysql-dev path
Post by: bmarkus on October 23, 2011, 02:23:40 AM
Will check. What are you compiling?
Title: Re: mysql-dev path
Post by: bmarkus on October 23, 2011, 08:06:58 AM
My /usr/local/mysql/bin/mysql_config on line 94:

pkgincludedir='/usr/local/mysql/include'

Path of mysql-dev installation:

/usr/local/include/mysql

I can't compile using default path of mysql-dev, but I can with following code:


mkdir /usr/local/mysql/include
cp -R /usr/local/include/mysql/* /usr/local/mysql/include


Thanks for feedback, it is confirmed. I will review directory placements in next update.
Title: Re: mysql-dev path
Post by: bmarkus on October 23, 2011, 09:47:52 AM
Update submitted