Public bug reported:
It looks like this package is missing 'libboost' from it's dependencies.
I installed this package, but when trying the sample code on
'http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-tutorials.html' it
gave a bunch of errors about boost not being installed. Installing
'libboost-dev' seemed to fix the problem.
Here is a paste of the errors from g++
g++ -g -Wall -Wno-unused-label -MMD
-I/usr/loca/ -I/usr/local/cppconn -c -o sql.o sql.cc
In file included from /usr/include/mysql_connection.h:15,
from sql.cc:6:
/usr/include/cppconn/connection.h:26: error: ‘boost’ has not been declared
/usr/include/cppconn/connection.h:26: error: expected initializer before ‘<’
token
/usr/include/cppconn/connection.h:28: error: ‘ConnectPropertyVal’ was not
declared in this scope
/usr/include/cppconn/connection.h:28: error: template argument 2 is invalid
/usr/include/cppconn/connection.h:28: error: template argument 4 is invalid
/usr/include/cppconn/connection.h:28: error: invalid type in declaration before
‘;’ token
In file included from sql.cc:6:
/usr/include/mysql_connection.h:55: error: ‘ConnectPropertyVal’ is not a member
of ‘sql’
/usr/include/mysql_connection.h:55: error: ‘ConnectPropertyVal’ is not a member
of ‘sql’
/usr/include/mysql_connection.h:55: error: template argument 2 is invalid
/usr/include/mysql_connection.h:55: error: template argument 4 is invalid
In file included from sql.cc:6:
/usr/include/mysql_connection.h:131: error: ‘ConnectPropertyVal’ is not a
member of ‘sql’
/usr/include/mysql_connection.h:131: error: ‘ConnectPropertyVal’ is not a
member of ‘sql’
/usr/include/mysql_connection.h:131: error: template argument 2 is invalid
/usr/include/mysql_connection.h:131: error: template argument 4 is invalid
/usr/include/mysql_connection.h:135: error: ‘boost’ has not been declared
/usr/include/mysql_connection.h:135: error: expected ‘;’ before ‘<’ token
Ubuntu version:
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Package version
libmysqlcppconn-dev:
Installed: 1.1.0~r791-1
Candidate: 1.1.0~r791-1
Version table:
*** 1.1.0~r791-1 0
500 http://mirror.csclub.uwaterloo.ca/ubuntu/ lucid/universe Packages
100 /var/lib/dpkg/status
What I expected to happen: ALL dependencies would be installed
automatically
What happened: 'libboost' was not installed. No indication was made that
it was even needed.
** Affects: mysql-connector-c++ (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/941256
Title:
Missing 'libboost' from dependencies
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-connector-c++/+bug/941256/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs