How to rebuild a package from testing in Stable ( D3bi@nZ)
Hi
So, i wish to retain the stability of my Squeeze install, nonetheless building and installing packages from Sid into my machine. The packages are : http://packages.debian.org/search?se...eywords=salome salome-common salome-dev salome-doc salome-examples salome-examples-common salome-extras salome-test Some packages needed for building all this from source will be downloaded and installed also, prior to building the salome packages... I just would like to avoid messing with a stable system as much as possible... so, no dist-upgrades pleeze... I have already created my own debs from source, like the CAD package BRLCAD, with non Debian packages which install to prefixes like /usr/brlcad/*, or OpenFOAM CFD package... But this is far more complicated since some of the required dependencies may not be present in squeeze... In Fedora there are the src.rpms to do this... is there anything similar in Debian...? Any ideas ? BRGDS Alex |
Hi,
what you are describing is commonly called "backporting". Basically, you need to get the source package(s) from testing or unstable and build binary packages from them on a Debian stable box. Add the appropriate deb-src lines to your sources.list and then downlaod the source package and build the binary pacakges. Eg. As root Code:
echo "deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free" >> /etc/apt/sources.list Code:
apt-get src salome There's a huge amount of info on the web. For example: http://www.debian.org/doc/manuals/ap...ndling.en.html Among other things this will tell you how to make sure have the build-depends (packages required to build the binary pacakges from the source package) installed . In practice, you may find that the package you want to backport depends on newer libraries, so you may have to backport them too. HTH, Evo2. |
Debian 6 Squeeze.
su echo "deb-src http://ftp.fi.debian.org/debian/ sid main contrib non-free" >> /etc/apt/sources.list apt-get build-dep salome apt-get install fakeroot && exit $ cd <new-directory>/ ( Convinient as a lot of "salome" will appear.) $ apt-get -b source salome=5.1.3-12 EDIT : The compiling went OK, but not the package build. Regards. |
Hi @Evo2, @knudfl
Thanks for your feedback :) Alex |
Hi again @Evo2 and @knudfl,
I successfully built the packages, despite some problems in configuring Salome-Docs, tha package is completely functional. Once again, thanks :) BRGDS Alex |
Moved: This thread is more suitable in Debian and has been moved accordingly to help your thread/question get the exposure it deserves.
|
All times are GMT -5. The time now is 06:12 AM. |