Boost: compile latest source or use add-apt-repository

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
GeoBeBee
Posts: 5
Joined: Tuesday 26 April 2016 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Contact:

Boost: compile latest source or use add-apt-repository

Post by GeoBeBee »

I’m at a junction should I go one way or another…?
Boost 1.55 is part of Jessie stable, and the advice when installing Domoticz is to use the latest Boost, ie. now 1.61, though “as of 19th December 2015 that is version 1.60.” Installing and running Domoticz on a Raspberry PI.

(Edit: following advice I have successfully built Domoticz on top of Boost 1.55 using gcc 4:4.9.2-2 (just had to let it have 3 bites at the make)).

I can do one of the following:

a) compile the downloaded source outside of the apt-get system (this seems like a bad idea unless I can re-connect it with the apt-get system...),

(Edit: I got errors trying to go this way and backed off.)

b) ignore that source and start with the following and stay within the apt-get system but perhaps stay on the bleeding edge of Boost?:

(Edit: This seemed unnecessary unless necessary! :-p, so again I backed off.)

Code: Select all

sudo add-apt-repository ppa:boost-latest/ppa
etc
I have appropriate backups using rpi-clone to a set of SD cards ;)
- I have a backup of pre-Boost 1.55 removal (“you will get linking errors if you don't remove the old Boost library”).
- I have since downloaded Boost 1.61 and could compile it (just doing another separate rpi-clone backup to another SD card)…

Any suggestions welcome…

I've seen: When should one compile and install from source?
  • "I would say, compile from source only when you have to. When managing a system, losing the management facilities of your package manager can be something that should be avoided at all costs."
  • and it mentions rpmbuild...
GeoBeBee
Posts: 5
Joined: Tuesday 26 April 2016 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Contact:

Re: Boost: compile latest source or use add-apt-repository

Post by GeoBeBee »

I thought Domoticz users might appreciate this discussion on the above question:
http://unix.stackexchange.com/questions ... repository ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest