List:MySQL++« Previous MessageNext Message »
From:Ooi Wai Weiy Date:November 22 2006 1:06pm
Subject:how to install mysql++
View as plain text  
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::operator 
field_names.h:78: implicit declaration of function `int mysqlpp::at(...)'
field_names.h:78: conversion from `int' to non-scalar type 

 >' requested
field_names.h: In method `const class string & mysqlpp::FieldNames::operator 
[](int) const':
field_names.h:85: conversion from `int' to non-scalar type 

 >' 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

how to install mysql++Ooi Wai Weiy22 Nov
  • Re: how to install mysql++Warren Young22 Nov
    • Re: how to install mysql++Ooi Wai Weiy23 Nov
      • Re: how to install mysql++Warren Young28 Nov
        • Re: how to install mysql++Ooi Wai Weiy28 Nov
          • Re: how to install mysql++Warren Young29 Nov