3

I need to install gcc 5.2 and boost 1.62 on openSUSE 11.4. The point is that the official version of these two tools on openSUSE 11.4 is gcc 4.5 and boost 1.44. I tried to build them from source code, but the problem is that regarding to lots of dependencies, I should build those dependencies as well.

Is there any straightforward method to do this job?

7
  • you don't want this ... openSUSE 11.4 is out of support for years.
    – mimi.vx
    Commented Apr 23, 2017 at 13:37
  • @mimi.vx It is still supported.
    – TonySalimi
    Commented Apr 24, 2017 at 22:50
  • openSUSE 11.4 is out of support for years Supported openSUSE is now : openSUSE Tumbleweed and openSUSE Leap 42.1 / 42.2
    – mimi.vx
    Commented Apr 26, 2017 at 11:28
  • @mimi.vx You are right :) I confused openSUSE 11.4 with Suse Linux Enterprise Server 11.4 that is supported currently.
    – TonySalimi
    Commented Apr 27, 2017 at 15:00
  • but still this ins't good idea. This packages are core, and update or multiple install is nontrivial. What I recommend is SLES12SP2 + SDK + Toolchain module
    – mimi.vx
    Commented Apr 28, 2017 at 9:07

1 Answer 1

2

In theory you can recompile everything with supported version dependencies. However this can involve a lot of grunt work and the fastest way to get things working is to get someone else to do the grunt work for you. So, in addition to your normal system, install one or more distribution for development work. This doesn't have to have a lot of overhead: you don't need to set up a virtual machine, a chroot environment will do fine. Schroot is a handy tool to set up chroot environments with a different system but the same home directory.

I've written a guide for Debian-like distributions; you could follow this guide and install Debian unstable on SuSE, and this blog post by masterpatricko describes) explains a setup with a SuSE host.

For more fine-grained control of development tool versions, you could use the Nix package manager to install software in your home directory. Nix-user-chroot is a tool similar to schroot that lets you easily run software from a different (Nix-managed, in this case) installation.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .