[wplug] mysql.h
Robert L. Jeffries
rl_jeffries at comcast.net
Mon Oct 18 14:42:07 EDT 2004
thank you for the replies,
Yes, mysql is running as per the distro's installation which is Fedora
Core 2. I do not want to reinstall mysql. Tried that a while ago and it
caused more problems than solutions. I'd like to simply instlall the
header files. I got the source tarball, I've unpacked it, and I have the
headers. I'm trying a couple of things... Can I just continue to compile
the code with the -I or is there a need to run "make" and/or "make
install" just to get the compilers to recognize the location of the
headers?
thank you
rlj
On Sun, 2004-10-17 at 21:38, Jonathan S. Billings wrote:
> On Oct 17, 2004, at 3:29 PM, Robert L. Jeffries wrote:
>
> > hello all,
> > I've got a mysql book here and I'm trying to get code for a simple
> > client to compile. The code asks for stdio.h, and mysql.h. The latter I
> > found I don't have. Does it work to download the source tarball of
> > mysql
> > from MySQL's site, unpack it, and copy mysql.h into /usr/include/ ?
>
> You shouldn't need to copy any header files into /usr/include. You
> should do the normal "make install" of the package to install it, and
> then add the path to the mysql headers you just installed to your
> makefile, or use -I.
>
> However, if you already have mysql installed through your distro's
> package system, you'll probably want to install the appropriate package
> that includes the header files, rather than installing a whole new copy
> of mysql.
>
> Jonathan
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
More information about the wplug
mailing list