[debian-mysql] Bug#623556: libmysqlcppconn-dev: Should depend on libboost-dev

Grzegorz Bizon grzegorz.bizon at ntsn.pl
Thu Apr 21 07:54:46 UTC 2011


Package: libmysqlcppconn-dev
Version: 1.1.0~r814-1
Severity: important

Hi. 

It looks like libmysqlcppconn-dev requires development files
from libboost:

g++ -c  myapp.cpp -o myapp.o In file included
from /usr/include/cppconn/driver.h:17, from MyApp.hpp:8,
                 from myapp.cpp:1:
/usr/include/cppconn/connection.h:16:29: error: boost/variant.hpp: No
such file or directory In file included
from /usr/include/cppconn/driver.h:17, from MyApp.hpp:8,
                 from myapp.cpp:1:
/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 myapp.cpp: In
constructor 'MyApp::MyApp()':
make: *** [myapp.o] Error 1

Tested on Squeeze, but it seems that version in testing does not
depend on libboost-dev also.

Installing libboost-dev solved compilation problems.

Regards,
 Grzegorz Bizon

-- 
 Grzegorz Bizon
 ntsn.pl sotware development 
 http://ntsn.pl/en





More information about the pkg-mysql-maint mailing list