WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mysql-dev path  (Read 5149 times)

Offline search.inner.peace

  • Newbie
  • *
  • Posts: 5
mysql-dev path
« 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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: mysql-dev path
« Reply #1 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'

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: mysql-dev path
« Reply #2 on: October 23, 2011, 02:23:40 AM »
Will check. What are you compiling?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: mysql-dev path
« Reply #3 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: mysql-dev path
« Reply #4 on: October 23, 2011, 09:47:52 AM »
Update submitted
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."