Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

git compiling on ubuntu system

Help
2010-07-17
2013-05-28
  • daniel jimenez
    daniel jimenez
    2010-07-17

    compiling the git version works straight away on an average ubuntu system following instructions from here:
    http://rakarrack.sourceforge.net/dl.html

    however, it installs by default in /usr/local/bin/rakarrack wich is protected by default.
    if you already have an older version you can use the existing menu shortcuts by replacing the old executable (0.5.8, for example) with the new executable (0.6.0 at the time of writing)

    to do so just type at the console (might need sudo at the first line.. can't remember):

    mv /usr/bin/rakarrack /usr/bin/rakarrack.old

    to keep the old version, in case the git version causes trouble

    then, to place the shiny new freshly compiled version:

    sudo cp /usr/local/bin/rakarrak /usr/bin/rakarrak

    that should place the new file at the place the old version was taking
    when you call rakarrack from the command line, its the git version that will come up too!!

    have fun

    :D

     
  • Transmogrifox
    Transmogrifox
    2010-07-17

    If you have older versions of rakarrack and want to keep it, I recommend you either save the package (if from your distribution repository), or better, keep the source of each release where you keep your source.

    For a package:
    apt-get remove rakarrack

    For an older version of rakarrack installed from source,
    enter the directory containing git source and type:
    $sudo make uninstall

    Enter v0.3.0 source directory, or 0.4.2, or 0.5.8 and
    $sudo make install

    If you have all older versions of rakarrack removed, then when you type,
    $rakarrack
    in the terminal it will launch the correct version and you don't have to copy binaries around.  The install scripts are intended to do this for you.

    If you want to hang on to older versions of rakarrack, I suggest you also rename the ~.fltk/rakarrack.sf.net/rakarrack.prefs to a filename that identifies it.  Then when you make changes to the prefs in the new version, you can copy your old prefs back for the old version so you don't get conflicts due to new features that don't exist in the old version.