Member Site Forums Rosetta 3 Rosetta 3 – Build/Install Debian Med: Sharing Rosetta build experience with Debian and Ubuntu Reply To: Debian Med: Sharing Rosetta build experience with Debian and Ubuntu


    A new version is out, the one or other may profit from the following instructions for a compilation on recent Debian or Ubuntu machines.

    Getting the source to a good place

    Download tarball from your web browser

    Render it detectable to Debian build system

    ln -s rosetta3.3_source.tgz rosetta_3.3.orig.tar.gz

    Unpack it

    tar xzvf rosetta_3.3.orig.tar.gz

    Be impressed by the size of the source code

    du -sh rosetta_source

    374M rosetta_source

    Substract contribution external software from that impression

    du -sh rosetta_source/external

    make sure you have at least 4.5 GB of free disk space on that partition

    df -h .

    Adding Build instructions to the source code from Debian Med‘s subversion repository

    change to source tree

    cd rosetta_source

    get debian directory

    svn checkout svn://

    quickly check that the debian directory is talking about the same version and is not somewhat ‘behind’


    Source: rosetta

    Version: 3.3-1

    Handling patches to the source code to adapt from Rosetta’s source tree for Debian/Ubuntu

    make sure all build dependencies are available

    sudo apt-get install debhelper scons zlib1g-dev quilt build-essential

    prepare patch-tool quilt to find the patches in the Debian subfolder

    QUILT_PATCHES=debian/patches; export QUILT_PATCHES

    check if all patches apply

    quilt push -a

    The very new releases won’t have any such patches. Complain here or by email to the package maintainer if something fails.

    Reserve an hour for the build on a recent machine.

    initiate build

    fakeroot ./debian/rules -j 4 binary

    the Debian package is not too big

    ls -lh ../rosetta_3.3-1_amd64.deb

    -rw-r–r– 1 moeller moeller 30M Aug 1 16:35 ../rosetta_3.3-1_amd64.deb

    install the package

    dpkg -i ../rosetta_3.3-1_amd64.deb

    quick cross-check that the libraries are indeed found

    ldd /usr/bin/FlexPepDocking => (0x00007fff24db8000) => /usr/lib/rosetta/lib/ (0x00007ffd5fd31000) => /usr/lib/rosetta/lib/ (0x00007ffd5f8a0000) => /usr/lib/rosetta/lib/ (0x00007ffd5ef22000) => /usr/lib/rosetta/lib/ (0x00007ffd5d7f6000) => /usr/lib/rosetta/lib/ (0x00007ffd5d118000) => /usr/lib/rosetta/lib/ (0x00007ffd5cedf000) => /usr/lib/rosetta/lib/ (0x00007ffd5c969000) => /usr/lib/rosetta/lib/ (0x00007ffd5c681000) => /usr/lib/rosetta/lib/ (0x00007ffd5c30e000) => /usr/lib/rosetta/lib/ (0x00007ffd5c0c1000) => /lib/ (0x00007ffd5be8c000) => /usr/lib/rosetta/lib/ (0x00007ffd5bc32000) => /usr/lib/rosetta/lib/ (0x00007ffd5b996000) => /usr/lib/x86_64-linux-gnu/ (0x00007ffd5b68c000) => /lib/x86_64-linux-gnu/ (0x00007ffd5b409000) => /lib/x86_64-linux-gnu/ (0x00007ffd5b1f3000) => /lib/x86_64-linux-gnu/ (0x00007ffd5ae6f000)

    /lib64/ (0x00007ffd6328d000)