[odb-users] Ubuntu compiling issue

Boris Kolpackov boris at codesynthesis.com
Wed Aug 8 02:16:34 EDT 2012


Hi Christian,

Christian Fontana <christian.fontana at gmail.com> writes:

> The error is:
> checking whether g++ supports plugins... no
> configure: error: g++ does not support plugins; reconfigure GCC with
> --enable-plugin
> 
> But as you can see above the --enable-plugin was used by ubuntu team to
> package the compiler.

I think you need to install the gcc-4.6-plugin-dev package. Quoting
the INSTALL file:

"
Note also that for pre-packaged GCC, plugin headers are usually
distributed in a separate package, normally called gcc-plugin-dev
or similar. You will need to install this package in order to build
ODB. For Debian/Ubuntu, this package is called gcc-X.Y-plugin-dev,
for example:

apt-get install gcc-4.7-plugin-dev

For RedHat/Fedora, this package is called gcc-plugin-devel, for
example:

yum install gcc-plugin-devel
"

Boris



More information about the odb-users mailing list