Member Site Forums Rosetta 3 Rosetta 3 – Build/Install Build Error, ubuntu 10.10, scons 2.0, python 2.6.6 and gcc 4.4.5, truncation Reply To: Build Error, ubuntu 10.10, scons 2.0, python 2.6.6 and gcc 4.4.5, truncation

#5546
Anonymous

    Sounds more like gcc/g++ are installed subtly wrong, as opposed to a Rosetta problem. Alternatively, you’re using a newer Ubuntu than Rosetta has been tested on, so maybe there’s some untested incompatibility.

    When more than one GCC exists, often you need to add a flag to scons that tells it which to use, like so: “cxx_ver=4.2”. That is not terribly likely to be your problem, since your linker path is clearly looking at 4.2.3, but it’s worth trying, because it affects what compiler flags scons tries to pass to GCC. So try that first.

    The error suggests adding -fPIC to your g++ command lines; we can try that next if the first thing doesn’t work…