dbTalk Databases Forums  

how to install mysql++

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss how to install mysql++ in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ooi Wai Weiy
 
Posts: n/a

Default how to install mysql++ - 11-22-2006 , 07:10 AM






i am now using linux Suseversion is 2.6.5-7.151-smp andmysql server version
is 5.0.26-standard-log.
which version of mysql++ should i download and install?

actually i already download MySQL++ v2.1 online. i install using the command
given by README.unnix file. the first command is ./configure. after finish,i
type second command which is "make", it shows an error message as follow:

make[1]: Entering directory `/nfs/png/home/wooi4/mysql++-2.1.1/lib'
..././bk-deps g++ -c -o mysqlpp_connection.o -I.. -fPIC -DPIC
-I/usr/intel/pkgs/mysql/5.0.21/include/mysql -g -O2 ./connection.cpp
In file included from fields.h:32,
from result.h:34,
from query.h:37,
from ./connection.cpp:32:
resiter.h:120: no class template named `iterator' in `std'
In file included from result.h:35,
from query.h:37,
from ./connection.cpp:32:
field_names.h: In method `class string & mysqlpp::FieldNames:perator
[](int)':
field_names.h:78: implicit declaration of function `int mysqlpp::at(...)'
field_names.h:78: conversion from `int' to non-scalar type
`basic_string<char,string_char_traits<char>,__defa ult_alloc_template<true,0>
Quote:
' requested
field_names.h: In method `const class string & mysqlpp::FieldNames:perator
[](int) const':
field_names.h:85: conversion from `int' to non-scalar type
`basic_string<char,string_char_traits<char>,__defa ult_alloc_template<true,0>
Quote:
' requested
make[1]: *** [mysqlpp_connection.o] Error 1
make[1]: Leaving directory `/nfs/png/home/wooi4/mysql++-2.1.1/lib'
make: *** [lib] Error 2


so what should i do?which version should i install and where should i
install to?how to install it?

__________________________________________________ _______________
Get FREE company branded e-mail accounts and business Web site from
Microsoft Office Live
http://clk.atdmt.com/MRT/go/mcrssaub...mrt/direct/01/


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: how to install mysql++ - 11-22-2006 , 07:33 AM






Ooi Wai Weiy wrote:
Quote:
which version of mysql++ should i download and install?
Either of the source packages: the .tar.gz, or the .src.rpm.

Quote:
In file included from fields.h:32,
from result.h:34,
from query.h:37,
from ./connection.cpp:32:
resiter.h:120: no class template named `iterator' in `std'
This suggests you're using an old version of g++. It needs to be at
least 3.0, and preferably 3.3 or newer.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #3  
Old   
Ooi Wai Weiy
 
Posts: n/a

Default Re: how to install mysql++ - 11-22-2006 , 05:39 PM



what you mean by either of sorce packages? i am not administrator for MySQL
since it was not installed by me. i just apply an account from the related
department in my company and they open a server for me. and i found out
that they don't install MySQL++, just only MySQL C API.

my g++ version is 2.95.3? can i donwload the related MySQL++ online and
install it? which version of MySQL++ should i install?


Quote:
From: Warren Young <mysqlpp (AT) etr-usa (DOT) com
Reply-To: plusplus (AT) lists (DOT) mysql.com
To: MySQL++ Mailing List <plusplus (AT) lists (DOT) mysql.com
Subject: Re: how to install mysql++
Date: Wed, 22 Nov 2006 06:32:21 -0700

Ooi Wai Weiy wrote:
which version of mysql++ should i download and install?

Either of the source packages: the .tar.gz, or the .src.rpm.

In file included from fields.h:32,
from result.h:34,
from query.h:37,
from ./connection.cpp:32:
resiter.h:120: no class template named `iterator' in `std'

This suggests you're using an old version of g++. It needs to be at least
3.0, and preferably 3.3 or newer.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsu...mail (DOT) com

__________________________________________________ _______________
MSN Shopping has everything on your holiday list. Get expert picks by style,
age, and price. Try it!
http://shopping.msn.com/content/shp/...e=wlmtag line


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #4  
Old   
Warren Young
 
Posts: n/a

Default Re: how to install mysql++ - 11-27-2006 , 06:20 PM



Ooi Wai Weiy wrote:
Quote:
what you mean by either of sorce packages?
Have you visited http://tangentsoft.net/mysql++/ ? Right up at the top,
in the section "Source Code", you will find two packages. One is a
..tar.gz file, the other is a .src.rpm file. Pick one. If you can't
decide between them, we are not set up here to teach you how. Join a
Unix/Linux programming mailing list or something.

Quote:
related department in my company and they open a server for me. and i
found out that they don't install MySQL++, just only MySQL C API.
This list is only for MySQL++ questions. Questions about the C API
belong on the main MySQL list.

Quote:
my g++ version is 2.95.3? can i donwload the related MySQL++ online and
install it? which version of MySQL++ should i install?
The only version that will work out of the box with that compiler is the
ancient v1.7.9 version, but I really wouldn't recommend it to a new
user. I only keep that around for people who have old code they still
need to support, so they already know the old MySQL++ quirks and
problems. If you cannot upgrade to a reasonably modern version of GCC,
I would recommend that you stick to the C API.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #5  
Old   
Ooi Wai Weiy
 
Posts: n/a

Default Re: how to install mysql++ - 11-28-2006 , 05:48 AM



ok, now we already migrate our C++ compiler to icc 9.0, is it support
MySQL++ 2.1.1?if not, which version is available?


Quote:
From: Warren Young <mysqlpp (AT) etr-usa (DOT) com
Reply-To: plusplus (AT) lists (DOT) mysql.com
To: MySQL++ Mailing List <plusplus (AT) lists (DOT) mysql.com
Subject: Re: how to install mysql++
Date: Mon, 27 Nov 2006 17:12:47 -0700

Ooi Wai Weiy wrote:
what you mean by either of sorce packages?

Have you visited http://tangentsoft.net/mysql++/ ? Right up at the top, in
the section "Source Code", you will find two packages. One is a .tar.gz
file, the other is a .src.rpm file. Pick one. If you can't decide between
them, we are not set up here to teach you how. Join a Unix/Linux
programming mailing list or something.

related department in my company and they open a server for me. and i
found out that they don't install MySQL++, just only MySQL C API.

This list is only for MySQL++ questions. Questions about the C API belong
on the main MySQL list.

my g++ version is 2.95.3? can i donwload the related MySQL++ online and
install it? which version of MySQL++ should i install?

The only version that will work out of the box with that compiler is the
ancient v1.7.9 version, but I really wouldn't recommend it to a new user.
I only keep that around for people who have old code they still need to
support, so they already know the old MySQL++ quirks and problems. If you
cannot upgrade to a reasonably modern version of GCC, I would recommend
that you stick to the C API.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsu...mail (DOT) com

__________________________________________________ _______________
Talk now to your Hotmail contacts with Windows Live Messenger.
http://clk.atdmt.com/MSN/go/msnnkwme...enger/overview


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #6  
Old   
Warren Young
 
Posts: n/a

Default Re: how to install mysql++ - 11-29-2006 , 07:13 AM



Ooi Wai Weiy wrote:
Quote:
ok, now we already migrate our C++ compiler to icc 9.0, is it support
MySQL++ 2.1.1?
The last time I heard the Intel compiler talked about on this list was
probably a couple of years ago.

As I see it, one of two possibilities exists: 1) Intel's compiler
already works correctly with the code, so no one's had a reason to
complain about it in recent years, or 2) so few people care about the
Intel compiler that the question only comes up once every few years.

Unless you're going to buy me a license for the compiler, I can't help
you any further with it.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.