[Mysql-cocoa-users] Re: SMySQL Installation
Brought to you by:
sergecohen
|
From: Serge C. <ser...@us...> - 2003-09-07 00:39:35
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Rob; First let me mention one resource that you can use when you have such a=20= problem; the mailing list mys...@li... ... The advantages are two fold: - - First (for you), you might get there faster and better support=20 (because I'm not the only one to answer, and someone is likely to=20 already have to confront the problem you're facing and knows the way=20 around) - - Second (for others), the list is archived, so if anything=20 interesting comes out of the exchange, it can be found by future users=20= of the framework. .... that's said, I'm very happy to receive your feedback, and be=20 assured I'll try my best to help you with getting the framework to work. As far as I can understand, you are using the binary distribution. And=20= from this you are trying to use the SMySQL.framework (and not the=20 _static nor the _bundled version)... please tell me if I'm wrong here=20 (in which case you can ignore the following of the mail). If you are using SMySQL.framework, you need to have=20 libmysqlclient.dylib installed in /usr/local/lib/mysql, and the=20 corresponding headers (one of which is mysql.h) in=20 /usr/local/include/mysql/. These files are NOT part of my distribution,=20= you have to install MySQL to get them. If you don't have MySQL installed, and are only interested by the=20 client side of MySQL, the easiest is then to use the=20 SMySQL_static.framework, which comes with it's own libmysqlclient=20 library and the appropriate headers. Place it in /Library/Frameworks=20 for example and use it by importing the header: #import <SMySQL_static/SMySQL.h> Last, if you are developing a GUI application, I would strongly=20 encourage you to use the SMySQL_bundled version of the framework. I hope, my message is clear (I'm not a native English speaker, and I'm=20= afraid to have been more confusing than helping). DO NOT hesitate to go on mailing me (or even better : the list). Serge. Le samedi, 6 sep 2003, =E0 22:24 Europe/Amsterdam, Rob Payne a =E9crit : > Hello Serge, > > I am trying to develop a personal Cocoa application which requires=20 > MySQL. I understand that I need to use the SMySQL frameworks to do=20 > this. However, when I try to use the standard "SMySQL.framework"=20 > flavor, I get a bunch of errors saying "header file 'mysql.h' not=20 > found". I was not able to find the mysql.h file in framework folder. I=20= > have SMySQL.framework stored in /Library/Frameworks. > > Honestly, I've spent hours reading through files and documentations=20 > trying to fix this, and contacting you is my last resort. I have a=20 > feeling I'm missing something obvious. Any suggestions? > > Regards, > > Rob P. > ro...@in... > > > - ---------------------------------------------------- Serge Cohen GPG Key ID: 9CBB58FB - ---------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin) iD8DBQE/Wn1Z5EPeG5y7WPsRAj5OAKDKgoqtp/QfNKXviV/VVvJGdj4WxQCg/O6K F2t38AXtqqMLSQc8wgVfUhs=3D =3D0uxq -----END PGP SIGNATURE----- |