Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1307 - mysql++-1.7.9-r1.ebuild (New Package)
Summary: mysql++-1.7.9-r1.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-22 18:27 UTC by Ric Messier
Modified: 2003-07-31 14:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild script for mysql++ (mysql++-1.7.9-r1.ebuild,1.20 KB, text/plain)
2002-03-22 18:30 UTC, Ric Messier
Details
Updated ebuild with docs installed as requested (mysql++-1.7.9.ebuild,1.23 KB, application/octet-stream)
2002-10-13 19:06 UTC, Ric Messier
Details
Corrected ebuild (mysql++-1.7.9.ebuild,1.31 KB, application/octet-stream)
2002-10-13 19:58 UTC, Ric Messier
Details
patch to work with GCC3 (mysql++-gcc-3.0.patch,155.50 KB, patch)
2002-10-14 14:25 UTC, Ric Messier
Details | Diff
Patch to be applied after first patch (mysql++-gcc-3.2.patch.gz,2.37 KB, patch)
2002-10-26 19:39 UTC, Ric Messier (RETIRED)
Details | Diff
Patch that solves the compiling errors during example directory (mysql++-1.7.9_example.patch,1.17 KB, patch)
2002-12-03 13:30 UTC, Sascha Herrmann
Details | Diff
ebuild that is fully compatible with gcc-3.2 ( needs the gcc-3.0, gcc-3.2, and the example patch #6173) (mysql++-1.7.9.ebuild,1.49 KB, text/plain)
2002-12-03 13:35 UTC, Sascha Herrmann
Details
official mysql++-gcc-3.0-patch (mysql++-gcc-3.0.patch,150.92 KB, patch)
2002-12-03 13:37 UTC, Sascha Herrmann
Details | Diff
offical mysql++-gcc-3.2.patch (mysql++-gcc-3.2.patch,12.51 KB, patch)
2002-12-03 13:38 UTC, Sascha Herrmann
Details | Diff
modified ebuild that should allow to use the mysql++ api (mysql++-1.7.9.ebuild,1.58 KB, text/plain)
2003-02-11 11:14 UTC, Sascha Herrmann
Details
patch that corrects some throw() errors during compiling custom projects againts mysql++ api (mysql++-gcc_throw.patch,3.09 KB, text/plain)
2003-02-11 11:16 UTC, Sascha Herrmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ric Messier 2002-03-22 18:27:27 UTC
Please find attached a new ebuild script for the mysql++ api. I have tested this
ebuild in dev-db/mysql++ which is where it would seem to go.

As might be expected, mysql++ allows a programmatic interface from C++
applications.
Comment 1 Ric Messier 2002-03-22 18:30:09 UTC
Created attachment 419 [details]
ebuild script for mysql++

this is the ebuild script
Comment 2 Donny Davies (RETIRED) gentoo-dev 2002-06-08 22:44:48 UTC
well i noticed it has a huge amount of docs, but you install -zero- of them.

could you please go through and install them, then submit your
changes.
Comment 3 SpanKY gentoo-dev 2002-09-04 16:20:24 UTC
closed bug until the original submitter updates his ebuild ...
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-10-12 18:02:24 UTC
not gonna happen -- he submitted in march. let's get this to a dev to take care
of post-freeze
Comment 5 Ric Messier 2002-10-13 19:06:09 UTC
Created attachment 4684 [details]
Updated ebuild with docs installed as requested

correct ebuild. installs docs
Comment 6 Ric Messier 2002-10-13 19:58:03 UTC
Created attachment 4685 [details]
Corrected ebuild

This adds in the KEYWORDS, SLOT, LICENSE fields that were missing in the update
Comment 7 Ric Messier 2002-10-14 14:25:37 UTC
Created attachment 4710 [details, diff]
patch to work with GCC3

this patch corrects the errors generated using gcc3
Comment 8 Ryan Phillips (RETIRED) gentoo-dev 2002-10-18 00:12:46 UTC
Errors out:

connection1.hh:51: after previous specification in `bool
   MysqlConnection::real_connect(const cchar* = "", const cchar* = "", const
   cchar* = "", const cchar* = "", unsigned int = 0, char = 0, unsigned int =
   60, const cchar* = "", unsigned int = 0)'
connection.cc:45: default argument given for parameter 8 of `bool
   MysqlConnection::real_connect(const cchar*, const cchar*, const cchar*,
   const cchar*, unsigned int, char = 0, unsigned int = 60, const char* = "",
   unsigned int = 0)'
connection1.hh:51: after previous specification in `bool
   MysqlConnection::real_connect(const cchar* = "", const cchar* = "", const
   cchar* = "", const cchar* = "", unsigned int = 0, char = 0, unsigned int =
   60, const cchar* = "", unsigned int = 0)'
connection.cc:45: default argument given for parameter 9 of `bool
   MysqlConnection::real_connect(const cchar*, const cchar*, const cchar*,
   const cchar*, unsigned int, char = 0, unsigned int = 60, const char* = "",
   unsigned int = 0)'
connection1.hh:51: after previous specification in `bool
   MysqlConnection::real_connect(const cchar* = "", const cchar* = "", const
   cchar* = "", const cchar* = "", unsigned int = 0, char = 0, unsigned int =
   60, const cchar* = "", unsigned int = 0)'
make[2]: *** [connection.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql
-march=i686 -O3 -pipe -Wp,-MD,.deps/coldata.pp -c coldata.cc -o coldata.o
>/dev/null 2>&1
mv -f .libs/coldata.lo coldata.lo
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/mysql++-1.7.9/work/mysql++-1.7.9/sqlplusint'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql++-1.7.9/work/mysql++-1.7.9'
make: *** [all-recursive-am] Error 2

Comment 9 Ric Messier (RETIRED) gentoo-dev 2002-10-26 19:39:25 UTC
Created attachment 5049 [details, diff]
Patch to be applied after first patch 

this will have it work with gcc 3.2
Comment 10 Ric Messier (RETIRED) gentoo-dev 2002-10-27 16:26:02 UTC
Applied patches and testing:

make[2]: Entering directory `/var/tmp/portage/mysql++-1.7.9/work/mysql++-
1.7.9/examples'
make[2]: *** No rule to make target `resetdb.@OBJEXT@', needed by 
`resetdb@EXEEXT@'.  Stop.

still working...
Comment 11 Sascha Herrmann 2002-12-03 13:30:35 UTC
Created attachment 6173 [details, diff]
Patch that solves the compiling errors during example directory

Hi, this is an patch that allows to compile mysql++ without an error! (by
excluding the examples directory, that does not matter to the important files!)
Comment 12 Sascha Herrmann 2002-12-03 13:35:22 UTC
Created attachment 6174 [details]
ebuild that is fully compatible with gcc-3.2 ( needs the gcc-3.0, gcc-3.2, and the example patch #6173)

Hi,

this is a full functional ebuild for building mysql++-1.7.9 with gentoo-1.4
(gcc-3.2).
It needs the example patch #6173 and the mysql-gcc3.0 and mysql-gcc3.2 patches.

Then it compiles without errors. My applications compile and work well.
cya
Comment 13 Sascha Herrmann 2002-12-03 13:37:45 UTC
Created attachment 6175 [details, diff]
official mysql++-gcc-3.0-patch

the official mysql++-gcc-3.0.patch i used for #6174
Comment 14 Sascha Herrmann 2002-12-03 13:38:58 UTC
Created attachment 6176 [details, diff]
offical mysql++-gcc-3.2.patch

offical mysql++-gcc-3.2.patch i used for #6174

have a nice try
Comment 15 Ryan Phillips (RETIRED) gentoo-dev 2002-12-11 16:58:04 UTC
committed.
Comment 16 Sascha Herrmann 2003-02-11 11:11:52 UTC
Sorry i've to REOPEN this bug, as i found again some big problems in mysql++ with gcc-3.2.1, but finally (after quite a long time!) i got that fixed ;-)!
For me mysql++-1.7.9 works, and even my old source code runs again.

The following attachments are the modified ebuild, and the patch fixing some throw errors, that prevented programs (not the package!) to compile!

So for my state of view, the package may become stable after quite a few tests by other users!
Comment 17 Sascha Herrmann 2003-02-11 11:14:31 UTC
Created attachment 8161 [details]
modified ebuild that should allow to use the mysql++ api
Comment 18 Sascha Herrmann 2003-02-11 11:16:29 UTC
Created attachment 8162 [details]
patch that corrects some throw() errors during compiling custom projects againts mysql++ api
Comment 19 Bjørn Magnus Mathisen 2003-07-30 20:03:05 UTC
I get this error message while emerging mysql-1.7.9-r1: 

( i have mysql 4.0.13-r3 )

shell> emerge mysql++

>>> Unpacking mysql++-1.7.9.tar.gz mysql++-gcc-3.0.patch.gz mysql++-gcc-3.2.patch.gz to /var/tmp/portage/mysql++-1.7.9-r1/work 
/usr/sbin/ebuild.sh: line 289: ${x%.*}: ambiguous redirect 

!!! ERROR: dev-db/mysql++-1.7.9-r1 failed. 
!!! Function unpack, Line 289, Exitcode 1 
!!! failure unpacking mysql++-1.7.9.tar.gz mysql++-gcc-3.0.patch.gz mysql++-gcc-3.2.patch.gz 



Am I the only one getting this error message? 
Seems like a ebuild error in my eyes.
Comment 20 Ryan Phillips (RETIRED) gentoo-dev 2003-07-31 14:49:47 UTC
try updating portage.   
emerge rsync 
emerge portage 
emerge mysql++