MySqlTalk.com  

Go Back   MySqlTalk.com > MySQL > General
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread
Old 09-29-2005, 11:57 AM   #1
guarriman
Junior Member
 
Join Date: Sep 2005
Posts: 3 guarriman is on a distinguished road
my '/usr/include/mysql' doesn't exist!!!

Hi.

Using MySQL v4.0.3 on Linux.

I don't know how MySQL was installed my 'mysql_config' is only at:
'/usr/src/redhat/BUILD/mysql-4.1.9/scripts/mysql_config'
-------------
[root@server]# /usr/src/redhat/BUILD/mysql-4.1.9/scripts/mysql_config
Usage: /usr/src/redhat/BUILD/mysql-4.1.9/scripts/mysql_config [OPTIONS]
Options:
--cflags [-I/usr/include/mysql -g -pipe -m32 -march=i386 -mcpu=i686]
--include [-I/usr/include/mysql]
--libs [-L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -lz]
--libs_r [-L/usr/lib/mysql -lmysqlclient_r -lpthread -lcrypt -lnsl -lm -lpthread -lz]
--socket [/var/lib/mysql/mysql.sock]
--port [3306]
--version [4.1.9]
--libmysqld-libs [-L/usr/lib/mysql -lmysqld -lpthread -lcrypt -lnsl -lm -lpthread -lrt -lcrypt -lnsl -lm -lz]
-----------

But my '/usr/include/mysql' doesn't exist!!!

The unique directory where 'mysql.h' is:
----------------
[root@server]# locate mysql.h
/usr/src/redhat/BUILD/mysql-4.1.9/include/mysql.h
----------------

What's the better way to fix this issue?
1) Creating a '/usr/include/mysql' by hand
2) Modifying 'mysql_config'

Thank you very much.
guarriman is offline   Fork this post Reply With Quote
Old 02-21-2006, 05:28 PM   #2
jstephens
Junior Member
 
Join Date: Feb 2006
Posts: 5 jstephens is on a distinguished road
Re: my '/usr/include/mysql' doesn't exist!!!

I would try to create the directory by hand. Try this site out.
www.linuxquestions.org. A great site. If you go to the fourms and choose your distrubution you will probably have a great dill of success. I know I have found that to be a big help.
jstephens is offline   Fork this post Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -4. The time now is 08:52 PM.



Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Google
  Web http://www.mysqltalk.com
DISCLAIMERS:
1. We have no commercial interest in this site.
Banner Ads and Subscriptions will only be used to help pay for hosting and maintenance costs.
2. MySQLTalk.com is NOT affiliated with MySQL AB in any way.
3. MySQLTalk.com is NOT endorsed by MySQL AB in any way.
4. Please do not post any content that is harmful to MySQL or MySQL AB, meaning no misleading or obsolete information will be tolerated.
Well-founded constructive criticism meant to help the community is permitted.
5. This website is founded with the goal of improving the MySQL community.
We not only tolerate newbies, we encourage them.
Please do not ask newbies to "read the manual".