I need to install fcl which depends on libboost-dev. However, libboost-dev depends on libboost1.46-dev and it refuses to install because I have the newer libboost1.48-dev.
I have followed instructions in the answer to this question: apt and fixing incorect dependencies. However, I'm unable to run
debuild -uc -us successfully. This is the output:
dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2 dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro dpkg-buildpackage: source package boost-defaults dpkg-buildpackage: source version 18.104.22.168 dpkg-buildpackage: source changed by Steve M. Robbins dpkg-source --before-build boost-defaults-22.214.171.124 dpkg-buildpackage: host architecture amd64 dpkg-checkbuilddeps: Unmet build dependencies: libboost1.48-dev (>= 1.48.1) dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting. dpkg-buildpackage: warning: (Use -d flag to override.) debuild: fatal error at line 1350: dpkg-buildpackage -rfakeroot -D -us -uc failed
I currently have libboost1.48-dev installed and other 1.48 boost packages.
This link shows the source of the libboost-dev error: http://www.ubuntuupdates.org/package/core/precise/main/base/libboost-dev
What can I do to fix this?
After checking dependencies, I realized I could uninstall
libboost1.48-dev and use
I accepted terdon's answer because I think it is still useful information.