1 message in com.mysql.lists.plusplusInstallation error| From | Sent On | Attachments |
|---|---|---|
| Oskar Norin | 08 Apr 2003 07:39 |
| Subject: | Installation error![]() |
|---|---|
| From: | Oskar Norin (berg...@yahoo.se) |
| Date: | 04/08/2003 07:39:49 AM |
| List: | com.mysql.lists.plusplus |
Hi
First I used apt-get in debian to install mysql and all component, then I read
that I should download the latest version of the client lib, I removed mysql and
downloaded all from mysql, installed it and then I tried to compiled
mysql++-1.7.9 with the new mysql libs, with no luck.
I get a compilation error and form what I can see the mysql people have change
the arguments to class string MysqlConnection::info() on the new version.
Somebody have an idea how I can solve this, please!!! Oskar Norin KTH Sweden
make[2]: Entering directory `/home/osknor/mysql++-1.7.9/sqlplusint'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.
-I../sqlplusint -I/usr/local/mysql/include/mysql -g -O2 -c connection.cc
rm -f .libs/connection.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint
-I/usr/local/mysql/include/mysql -g -O2 -Wp,-MD,.deps/connection.pp -c -fPIC
-DPIC connection.cc -o .libs/connection.lo
connection.cc: In method `class string MysqlConnection::info()':
connection.cc:112: initialization to `char *' from `const char *' discards
qualifiers
make[2]: *** [connection.lo] Error 1




