If libpcre is not compiled with the cxx useflag the configure script of mongodb fails because it can't find "pcrecpp.h".
Compiling libpcre with the cxx flag solves this problem.
Mongodb 1.7.0 isn't in the tree yet, but thanks for the heads up. Are there any upstream discussions about this?
This also applies to 1.6.0 which is in the tree.
Just confirmed this with a 1.6.4 ebuild. We should indeed depend on libpcre[cxx].
Hi Roeland and thanks for reporting this issue, you're right about this and we fixed this in tree.
+*mongodb-1.8.1 (13 Apr 2011)
+*mongodb-1.6.5 (13 Apr 2011)
+ 13 Apr 2011; Ultrabug <email@example.com> -mongodb-1.2.4.ebuild,
+ -files/mongodb-1.2-modify-testing.patch, -mongodb-1.4.4.ebuild,
+ -files/mongodb-1.4-modify-testing.patch, -mongodb-1.5.5.ebuild,
+ -mongodb-1.6.0.ebuild, -files/mongodb-1.6.0-fix-scons.patch,
+ +mongodb-1.6.5.ebuild, +files/mongodb-1.6-fix-scons.patch,
+ +mongodb-1.8.1.ebuild, +files/mongodb-1.8-fix-scons.patch,
+ +files/mongos.confd, +files/mongos.initd, files/mongodb.confd,
+ Mongodb rework/bump. Fix bugs #329167, #334081, #337085, #337593, #337973,
+ #338039, #340032, #356731. Many thanks to Johan Bergström for his help and
+ testing. Drop old versions.