4

I would like to install the latest Boost C++ libraries onto my 10.10 system using a PPA but cannot find one that works. Nordlöw already suggested good sources in a similar discussion but I could not install the library. The installer states that I have the latest version running.

The ppa:purplekarrot by Daniel Pfeiffer does not upgrade my current 1.42 installation. current 1.42 installation

Although I try to follow the exact instructions by fossfreedom there are no packages listed to being upgraded when I run sudo apt-get upgrade. Here is the output log.

When I try to install libboost-filesystem the only tab completions I am offered are the following.

⚡ sudo apt-get install libboost-filesystem
libboost-filesystem1.40.0    libboost-filesystem1.42.0    libboost-filesystem-dev
libboost-filesystem1.40-dev  libboost-filesystem1.42-dev
JJD
  • 862
  • similar question - http://askubuntu.com/questions/61384/where-do-i-find-an-up-to-date-version-of-boost – fossfreedom Dec 15 '11 at 10:10
  • ... still need to see the update and upgrade output - can you pastebin the results please? – fossfreedom Dec 15 '11 at 11:10
  • It was not ticked. Here is the latest installation output. Should I uninstall boost 1.42 before? – JJD Dec 15 '11 at 11:31
  • Why do the packages not have the signature 1.48 but 111111-maverick. – JJD Dec 15 '11 at 11:37
  • that's the naming convention the PPA maintainer has used. For some reason libboost-filesystem-dev has been kept back - what happens if you just install this package ie. sudo apt-get install libboost-filesystem-dev ? – fossfreedom Dec 15 '11 at 11:47
  • Sorry for the delay. So I run sudo apt-get install libboost-filesystem-dev without running sudo apt-get upgrade (right?). The installation starts but cannot resolve all dependencies. Here is the partial log I could catch: http://pastebin.com/VwWM7mzs – JJD Dec 16 '11 at 14:55
  • from the trace it looks like you have the very same issue as the OP to the question I answered. Strange - since other commenters said the PPA works ok. I would ppa-purge that PPA. Maybe there is another PPA? otherwise the only solutions I can think of is to compile from source or to look to upgrading/dual booting with a newer version of ubuntu. – fossfreedom Dec 16 '11 at 15:06
  • Hm. Thank you. How to think about sudo apt-get dist-upgrade? Does this update my Ubuntu 10.10 to something > 10.10? – JJD Dec 16 '11 at 15:39
  • Using Upgrade Manager to upgrade is easier... it will go to 11.04. However - take an image backup first - you've got lots of PPAs that could muck-up an upgrade. – fossfreedom Dec 16 '11 at 15:42
  • Oh! --- I tried sth else: I uninstalled all libboost packages (1.42 in my case). Then I installed libboost-filesystem sudo apt-get install libboost-filesystem. That worked. Here is the log. --- But: Since it is for the purpose to install Gource I am still stucked. When I run ./configure --with-tinyxml the installer stops because it could not find boost >= 1.46... Here is the log. Do you know how I can deal with this? – JJD Dec 16 '11 at 17:12
  • I got the same issue with Ubuntu Desktop 11.04 64-bit – Coc Jan 12 '12 at 04:24
  • In case you want to install Gource I figured out what needs to be done to fulfill the dependencies. This post on GLM answers one issue. For Boost you need to customize some more settings. If you are interested please open another question and I will explain the details! – JJD Feb 11 '12 at 14:15

1 Answers1

3

In the end I did not use the PPA since the author clearified its purpose.

please note that the Boost packages in my PPA are not based on the official 1.48 release of boost.

We are developing a new CMake-based build system for the Boost C++ Libraries that can create component-based installers.

My PPA currently is used for testing whether the package generation using our new build system is working. Whether the generated packages are working is currently not tested. If you are looking for a stable Boost release, you should not use this PPA.

I suggest you compile boost yourself. It is actually quite easy. You don't need to call install and you don't need admin rights. Just download the boost sources, exctract them and in a terminal window call:

$ ./bootstrap.sh $
./b2

Then set the BOOST_ROOT environment variable to the path where you extracted boost. You now should be able to build Gource.

Nevertheless, there are some details that I needed to take care of regarding Gource. I will post them in a short while since I need to look them up again.

JJD
  • 862