Member Site › Forums › Rosetta++ › Rosetta++ – General › Linux Distros and Settings
- This topic has 2 replies, 3 voices, and was last updated 15 years, 10 months ago by
grocklingmail-com.
-
AuthorPosts
-
-
August 20, 2008 at 12:48 am #578
Dear all,
after several failed attempts to install Rosetta++ 2.3.0 using the Bundle + Fragments + Examples, I wonder if I simply use the wrong compiler versions or linux distros.
So far I have used MinGW with MinSYS, Red Hat Enterprise 3.0, Fedora 9, SuSe 11.0 (not supported, I know) and Ubuntu 8.04. With each of the distros I tried to compile rosetta++ with gcc 4.2 / 4.3 and gcc 3.4, but the making process always gets aborted due to an error.
Some errors indicate that “make gcc” does not use the standard libraries. My libraries are up to date and I get different error messages depending on the platform I use.
Maybe some of you have experienced similar problems and know a solution or did I simply miss anything?
Thanks a lot for you help. I am really looking forward to your answers. (:smile:)
Kind regards,
Stephan -
August 20, 2008 at 2:55 pm #4005
Anonymous
If the error shows that you does not have correct library, you can download one from http://zlib.net/
And also, 2.3.0 suggests to use scons as compile tool.> Dear all,
>
> after several failed attempts to install Rosetta++ 2.3.0 using the Bundle + Fragments + Examples, I wonder if I simply use the wrong compiler versions or linux distros.
>
> So far I have used MinGW with MinSYS, Red Hat Enterprise 3.0, Fedora 9, SuSe 11.0 (not supported, I know) and Ubuntu 8.04. With each of the distros I tried to compile rosetta++ with gcc 4.2 / 4.3 and gcc 3.4, but the making process always gets aborted due to an error.
>
> Some errors indicate that “make gcc” does not use the standard libraries. My libraries are up to date and I get different error messages depending on the platform I use.
>
> Maybe some of you have experienced similar problems and know a solution or did I simply miss anything?
>
> Thanks a lot for you help. I am really looking forward to your answers. (:smile:)
>
> Kind regards,
> Stephan -
October 28, 2008 at 5:46 am #4024
Stephan,
I have just compiled Rosetta 2.3.0 on a fresh Ubuntu 8.04 (Hardy Heron) installation. Installing the “build-essential” package from the repositories will not work. This installs gcc-4.2 and g++-4.2; compiling with make or scons will fail. Make ends with some odd “invalid instantiation” error and scons will not even recognize version 4.2 of gcc (it raises a python KeyError). Version 4.1 does work, and I didn’t see it in your list of compilers you tried.
Here’s how I got the build to work:
sudo apt-get remove build-essential gcc-4.2 gcc-4.2-base g++-4.2 g++-4.2-base
sudo rm /usr/bin/gcc /usr/bin/g++ # If sym-links to gcc-4.2 and g++-4.2 are present
sudo apt-get install gcc-4.1gcc-4.1-base g++-4.1 g++-4.1-base scons zlib1g-dev
sudo ln -s gcc-4.1 gcc
sudo ln -s g++-4.1 g++
cd path/to/rosetta/rosetta++
scons rosetta++ mode=release
In retrospect, there was no need to remove gcc-4.2. Changing the links should have been sufficient. I hope this belated reply works for you.
Regards,
Steve
-
-
AuthorPosts
- You must be logged in to reply to this topic.