[Mysql-cocoa-users] Re: static linking and MySQL
Brought to you by:
sergecohen
From: Serge C. <co...@em...> - 2002-03-11 16:27:14
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi;=0D =0D I really remember to have once compiled SMySQL (the framework) with =0D libmysqlclient statically linked... I'll try again and let you know =0D want's up.=0D =0D The second point for using libmysqld instead of libmysqlclient is to =0D start and stop the server. I still have to think of the obj-C interface =0D= to the starting of the server thread... If you have ideas on what the =0D= framework should propose as interface for this purpous, let me know. (So = =0D far I'm thinking to use a NSArray of NSString to pass arguments to the =0D= start server).=0D =0D Serge.=0D =0D =0D Le samedi 9 mars 2002, =C3=A0 01:41 , Dan Guisinger a =C3=A9crit :=0D =0D > Sorry for not getting back sooner. I'm just totally swamped right = now, =0D > although I am really hoping to get 4.0 embedded going by the end of = the =0D > month.=0D > yeah, I'm looking at libmysqld, which is the integrated server, it = only =0D > allows connections from within the same process.=0D >=0D > I'm currently scrambling to catch up on the Windows version of my app =0D= > as Cocoa was too fun to develop in and I actually have a deadline on =0D= > the Win32 app (a client wanted a similar app, so I'm going to just =0D > customize a copy of it for them....its nice to finally make money on =0D= > this project of mine. lol)=0D >=0D > I know the embedded server and 4.0 are both experimental, however this = =0D > app is basically a replacement for entourage and outlook. It doesn't =0D= > use complex queries so I think chances are using Alpha will work just =0D= > fine, and I have an auto update feature so that we can upgrade to 4.0 =0D= > gold when its available.=0D > (However i'm sure you'd agree, using their database engine sure does =0D= > cut down on the load of a programmer for creating an application like =0D= > this, where searches and filters can be applied in real time)=0D >=0D > I'll try to get on the mailing list in the next day or two. If you =0D= > want, I am on both MSN Messenger and AOL Instant Messenger.=0D > dgu...@ho... and DANMN200 respectively.=0D >=0D > -Dan=0D >=0D >=0D > On Tuesday, March 5, 2002, at 04:22 AM, Serge Cohen wrote:=0D >=0D >> -----BEGIN PGP SIGNED MESSAGE-----=0D >> Hash: SHA1=0D >>=0D >> Hi;=0D >>=0D >> first, it would be great if we continue this discussion on the = mailing =0D >> list (for browsable archiving reasons).=0D >>=0D >> I guess what you want is to embed in a application the libmysql =0D >> (embeded db)?=0D >> For the moment I remind to have managed once to compile SMySQL = classes =0D >> with static libmysqlclient, but did not manage to repoduce that since = =0D >> then.=0D >>=0D >> I can propose you an other solution: keep dynamic linking but put the = =0D >> library in the application bundle (maybe in Frameworks, or create a =0D= >> Library?). I know that the recommended way to use a Framework with an = =0D >> app. maybe one can do it with library as well.=0D >>=0D >> About the emebeded system now. You saw it's a new feature of MySQL 4. = =0D >> which is still alpha. I was waiting a bit (I have my PhD in = Structural =0D >> Biology to finish...) before supporting it. I did not understood you =0D= >> were really waiting for it. I've tried once the installation (using =0D= >> the same patch ... as for previous version), and that was straight =0D= >> forward.=0D >>=0D >> I'll try to give you definitive answers for in a couple of days. (try = =0D >> static link again, putting the lib in the app bundle -one as to = change =0D >> the library used : otool -L libmysqlclient.dylib... -, and try to = make =0D >> a correct install of mysql4.)=0D >>=0D >> Serge.=0D >>=0D >>=0D >>=0D >> Le mardi 5 mars 2002, =C3=A0 03:12 , Dan Guisinger a =C3=A9crit :=0D >>=0D >>> Have you figured this out yet?=0D >>>=0D >>> I've been pulling my hair out, and I don't even want the MySQL =0D >>> client. I want MySQL Embedded and both are driving me crazy.=0D >>>=0D >>> If you need any help, I'll help out.=0D >>> I'm looking to create a framework for MySQL Embedded Server 4.0.1.=0D= >>>=0D >>> My current plans are to open source the embedded server framework =0D= >>> although the product I am putting it into isn't open source. MySQL =0D= >>> AB seems a little aggressive these days and I fear linking directly =0D= >>> into our product would be putting us on their radar.=0D >>>=0D >>> -Dan=0D >>>=0D >>>=0D >> - ----------------------------------------------------=0D >> Serge Cohen=0D >>=0D >> GPG Key ID: 1024D/69B1D346=0D >> - ----------------------------------------------------=0D >> -----BEGIN PGP SIGNATURE-----=0D >> Version: GnuPG v1.0.6 (Darwin)=0D >> Comment: For info see http://www.gnupg.org=0D >>=0D >> iD8DBQE8hJxtMygj1Wmx00YRAtAKAKCgNi+XCCxw05zfwu1Q7qRG+WszwgCfclkV=0D >> DyQzIvmxtdtmqmCyfZPRZPA=3D=0D >> =3DjsSL=0D >> -----END PGP SIGNATURE-----=0D >>=0D >=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 1024D/69B1D346=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE8jNsvMygj1Wmx00YRAkhZAJ9B5IZJB0Nx4Ds0GzqQ61wGEQtghACfSUDQ vNBuKgA/NVM4RUVT40gsg6I=3D =3DKI7d -----END PGP SIGNATURE----- |