Hi,

Quoting gypsy <[EMAIL PROTECTED]>:

> The version of mysql installed is 4.0.27.  Includes are in
> /usr/include/mysql.  Libraries are in /usr/lib/mysql.  Binaries are in
> /usr/bin.
>

> dbd_mysql.c:638: error: structure has no member named `charsetnr'

The MySQL docs say  
(http://www.mysql.org/doc/refman/4.1/en/c-api-datatypes.html):

"unsigned int charsetnr

The character set number for the field. This member was added in MySQL 4.1.0."

Apparently the current version of the MySQL driver requires MySQL 4.1  
or later. Would upgrading your MySQL installation cause major problems?

>
> The README says:
> "Make sure you have both the libdbi framework installed and the
> development libraries and headers of the database engine(s) that you
> want to build the driver(s) for."
>
> What _*EXACTLY*_ does "the development libraries" mean?  May we please
> have a paragraph here rather than one sentence?
>

Simply put, a library usually provides two types of files: a .so file  
which contains the binary code that is used at runtime by an  
application linked against the library. This is all you need if you  
install applications linked against this library from binary packages.  
The other type is a .a file which contains the information for the  
linker to *build* an application linked against that library. Some  
systems like Debian use separate packages for the runtime files and  
the development files. I don't know how Slackware handles this, but  
you could simply check whether MySQL installed a libmysqlclient.a  
somewhere.

regards,
Markus

-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to