12 messages in com.mysql.lists.plusplusRe: MySQL C++ API on Fedora
FromSent OnAttachments
vishal kothari23 Jan 2004 08:34 
Sinisa Milivojevic23 Jan 2004 11:22 
Benjamin Pflugmann23 Jan 2004 15:02 
Bryan W. Headley23 Jan 2004 18:38 
Sinisa Milivojevic24 Jan 2004 04:34 
Bryan W. Headley24 Jan 2004 07:15 
Sinisa Milivojevic26 Jan 2004 04:13 
Warren Young26 Jan 2004 05:59 
vishal kothari27 Jan 2004 08:46 
Sinisa Milivojevic28 Jan 2004 03:32 
vishal kothari28 Jan 2004 08:37 
vishal kothari28 Jan 2004 11:34 
Subject:Re: MySQL C++ API on Fedora
From:vishal kothari (vck_@hotmail.com)
Date:01/28/2004 11:34:01 AM
List:com.mysql.lists.plusplus

Thank you Sinisa. It worked. :-) And thanks to everybody else as well.

Regards, Vishal Kothari.

From: Sinisa Milivojevic <sin@mysql.com>

Reply-To: sin@beotel.yu To: vishal kothari <vck_@hotmail.com> CC: cby@virginia.edu, plus@lists.mysql.com Subject: Re: MySQL C++ API on Fedora Date: Wed, 28 Jan 2004 19:14:06 +0200

vishal kothari wrote:

From: Chuck Byam <cby@virginia.edu>

To: "vishal kothari" <vck_@hotmail.com> Subject: Re: MySQL C++ API on Fedora Date: Wed, 28 Jan 2004 11:10:21 -0500

On Tuesday 27 January 2004 12:48, you wrote: | Hi, | | I am using Fedora Core 1 | MySQL++ API Version 1.7.9 | MySQL Version 4.0.17 | GCC Version 3.3.2 | sqlplus.hh is in /usr/include/sqlplus/ | mysql.h is in /usr/include/mysql/ | | After changing strstream.h to strstream, I get almost the same errors. Here | they are: | << snip, snip >>

I did this from a Fedora box as well. Start with a "clean" download of the mysql++ source code, then download the GCC3.3 patch from mysql.com and apply it to the source.

for example:

[crb6x@sierra mysql++-1.7.9]$ patch -p1 < ../patch_gcc_3.3

after the patch is applied, run configure and then make. I have found that errors still occur when compiling the example code but it will build the libraries.

Good luck.

_________________________________________________________________ Play the prediction game on MEZ. Win Sehwag’s autographed T-shirts. http://go.msnserver.com/IN/41491.asp Predict and win on myenjoyzone.com.

Yes, that is due to SSQL not working with gcc 3.3.*

If you need SSQL, try this patch. Run the resulting perl script.

--

Sincerely,

Want to swim with the dolphins? (April 14-16, 2004) http://www.mysql.com/uc2004/ << patch-3.3.2.diff.gz >>