1.) Install following packages apt-get install build-essential gfortran libboost* scons 2.) use the modified machine_cfg.py as shown here ---------------- 8< Code Snippet 8< -------------------------- # This Python script contains all the machine dependent settings # for questions concerning Ubuntu contact Christian Weickhmann # , TU Darmstadt, Germany cc = "gcc" cxx = "g++" f77 = "gfortran" link = 'gcc' # Compiler flags. flags = "-Wall -pipe -O2 -fno-strength-reduce -DCPU=core2" # chooose appropreate cpu here (e.g. athlon64 etc. "586" should work always link_flags = "-O2" # Include directories. (boost and python) include_dirs = ["/usr/include/", "/usr/include/boost/", "/usr/include/boost/python/", "/usr/include/python2.5/"] # Library directories.(those are the libraries of the compiler, python and # boost) library_dirs = ["/lib/", "/usr/lib/", "/usr/lib/python2.5/"] # Library names. libs = [ "python2.5" ,"boost_python" ] # Command to strip library of excess symbols. dllsuffix = ".so" strip_command = "" # look -recursive- in the dir tree and save files in a -special- array of # arrays import os import os.path def find_all_files(path, name): filelist = [] full_path = path+name+"/" all_files_dirs = os.listdir(full_path) for n in all_files_dirs: if os.path.isfile(full_path+n): filelist.append(full_path+ n) elif os.path.isdir(full_path+n): find_all_files(path,name+"/"+n) doclist.append([name, filelist]) # all documentation docpath = "/home/christian/download/rodis/" doclist = [] docname = "doc" find_all_files(docpath, docname) # add more extra files extra_files = doclist ---------------- 8< Code Snippet 8< -------------------------- 3.) Run "python setup.py build" and "sudo python setup install" 4.) Done.