Member Site › Forums › Rosetta 3 › Rosetta 3 – Build/Install › Help with build on Fedora 19
- This topic has 5 replies, 2 voices, and was last updated 11 years, 3 months ago by Anonymous.
-
AuthorPosts
-
-
September 2, 2013 at 1:27 am #1710Anonymous
Hello there, I’ve been struggling with building Rosetta for about a week now and seem to have gotten myself good and stuck, so I was wondering if I could get some advice. I’m new to both Rosetta and Linux, which I’m sure is not helping. I just installed Fedora 19 after failing at using Cygwin, and I’m still getting lots of problems. I have SCons and gcc now (and subversion which I realize now I don’t need but oh, well), but when I attempt to build Rosetta I still get a massive list of errors, almost all ending in
“sh: o: command not found”
If that is meaningful. The build now does complete, in as much as SCons says “done building targets” as opposed to ‘build stopped due to errors’, however all the links in bin are broken and attempting to use them renders a ‘directory does not exist’ error (and, naturally, the target directories likewise do not exist). I’ve tried specifying cxx_ver=4.8 for my gcc version when calling scons, which doesn’t seem to change very much, as well as changing site.settings.topsail to site.settings which stopped the build cold so I’m sure I’m not following that advice properly if that would help. Any help at all would be appreciated, and if you need more info from me let me know. Thanks in advance.
-
September 2, 2013 at 3:08 am #9258Anonymous
Here’s a sample of some of the text it gives:
scons: Reading SConscript files …
Running versioning script … sh: git: command not found
sh: git: command not found
Done. (0.0 seconds)
scons: done reading SConscript files.
…….
o build/src/debug/linux/3.10/32/x86/gcc/4.8/default/libdevel.so -shared -Wl,-rpath=/home/Sean/rosetta_2013wk34_bundle/main/source/build/external/debug/linux/3.10/32/x86/gcc/4.8/default -Wl,-rpath=$ORIGIN -Wl,-rpath=$ORIGIN/../lib build/src/debug/linux/3.10/32/x86/gcc/4.8/default/devel/init.os build/src/debug/linux/3.10/32/x86/gcc/4.8/default/devel/svn_version.os -Lexternal/lib -Lbuild/src/debug/linux/3.10/32/x86/gcc/4.8/default -Lsrc -Lbuild/external/debug/linux/3.10/32/x86/gcc/4.8/default -Lexternal -L/usr/lib -L/usr/local/lib -lprotocols.7 -lprotocols.6 -lprotocols_f.5 -lprotocols_e.5 -lprotocols_d.5 -lprotocols_c.5 -lprotocols_b.5 -lprotocols_a.5 -lprotocols_h.4 -lprotocols_g.4 -lprotocols_f.4 -lprotocols_e.4 -lprotocols_d.4 -lprotocols_c.4 -lprotocols_b.4 -lprotocols_a.4 -lprotocols.3 -lprotocols_b.2 -lprotocols_a.2 -lprotocols.1 -lcore.5 -lcore.4 -lcore.3 -lcore.2 -lcore.1 -lbasic -lnumeric -lutility -lObjexxFCL -lz -lcppdb -lsqlite3
sh: o: command not found
scons: done building targets.This is with simply ‘scons’. ‘scons bin mode=release cxx=gcc cxx_ver=4.8’ and ‘scons bin mode=release cxx_ver=4.8’ return essentially the same thing.
-
September 2, 2013 at 7:42 pm #9266Anonymous
Scons is having problems finding your compiler. Try the technique used here. Let us know if that doesn’t work.
-
September 2, 2013 at 8:59 pm #9269Anonymous
Hmm, so now I feel like there might be an issue with my gcc version, because it doesn’t recognise the g++ command. Full output from ‘scons bin mode=release’ is
scons: Reading SConscript files …
Running versioning script … sh: git: command not found
sh: git: command not found
Done. (0.0 seconds)
scons: done reading SConscript files.
scons: Building targets …
g++ -o build/src/release/linux/3.10/32/x86/gcc/4.8/default/apps/public/AbinitioRelax.o -c -std=c++98 -isystem external/boost_1_46_1/ -pipe -ffor-scope -Wall -Wextra -pedantic -Wno-long-long -malign-double -march=pentium4 -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/32/gcc/4.8 -Isrc/platform/linux/32/gcc -Isrc/platform/linux/32 -Isrc/platform/linux -Iexternal/boost_1_46_1 -Iexternal/dbio -I/usr/include -I/usr/local/include src/apps/public/AbinitioRelax.cc
sh: g++: command not found
scons: *** [build/src/release/linux/3.10/32/x86/gcc/4.8/default/apps/public/AbinitioRelax.o] Error 127
scons: building terminated because of errors.Is this an issue with the gcc version? the gcc command is recognised just fine, but g++ returns ‘command not found’.
-
September 2, 2013 at 11:04 pm #9271Anonymous
From a quick Google search, it looks like Fedora users have to explicitly install the C++ portion of GCC. (It’s not included in the default gcc package, as it is on some other distributions.) The package to install appears to be called “gcc-c++”.
-
September 2, 2013 at 11:09 pm #9272Anonymous
Wow, i compeltely missed that when googling myself. That seems to have done it, it’s currently compiling with no errors yet. Thanks!
-
-
AuthorPosts
- You must be logged in to reply to this topic.