WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline search.inner.peace

  • Newbie
  • *
  • Posts: 5
mysql-dev path
« on: October 22, 2011, 02: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: 11286
Re: mysql-dev path
« Reply #1 on: October 22, 2011, 05: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 22, 2011, 11:23:40 PM »
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, 05: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, 06:47:52 AM »
Update submitted
Béla
Ham Radio callsign: HA5DI

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