You are here

Linux Distros and Settings

3 posts / 0 new
Last post
Linux Distros and Settings
#1

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

Tue, 2008-08-19 17:48
Brev

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

Wed, 2008-08-20 07:55
yiliu

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

Mon, 2008-10-27 22:46
sdarnell