<div dir="ltr"><div><div><div><div>Hi, I downloaded Sage to build on a MacBook Pro running Ubuntu 12.04 LTS 64bit. A real partitioned OS, not a VM. Anyways, I used<br><br><a href="http://www.cecm.sfu.ca/sage/src/index.html">http://www.cecm.sfu.ca/sage/src/index.html</a><br>
<br></div>and downloaded "sage-5.12.tar".<br><br></div>I made sure all my prerequisites (including dpkg-dev) were installed (via apt-get) and then I just ran;<br><br></div>make<br><br></div>It finished with errors and I followed it back until it said; <br>
<br>Successfully installed ppl-1.1pre9.p0<br><div><br></div><div>But when it ran the test suite it failed a little later around <br><br>make cotree1<br><br></div><div>So I just played around by implementing,<br><br>cd '/home/sbh/SW/Sage/sage-5.12/spkg/build/ppl-1.1pre9.p0' && '/home/sbh/SW/Sage/sage-5.12/sage' --sh<br>
<br></div><div>and started from the "successful install of ppl....."<br><br></div><div>The complaint about the libstdc++.so.6 being the wrong version makes me think that a LD_LIBRARY_PATH is pointing to this library, from a Matlab install, before /usr/lib - actually my libstdc++.so is in /usr/lib/x86_64-linux-gnu/ instead of /usr/lib/. So I checked these libraries;<br>
<br>sbh@sbh-MacBookPro:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/os/glnxa64$ /sbin/ldconfig -p | grep stdc++<br>    libstdc++.so.6 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6<br>    libstdc++.so.6 (libc6) => /usr/lib/i386-linux-gnu/libstdc++.so.6<br>
    libstdc++.so.6 (libc6) => /usr/lib32/libstdc++.so.6<br>    libstdc++.so.6 (libc6) => /home/sbh/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libstdc++.so.6<br>    libstdc++.so.5 (libc6) => /usr/lib/i386-linux-gnu/libstdc++.so.5<br>
sbh@sbh-MacBookPro:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/os/glnxa64$ strings /usr/lib/libstdc++.so.6 | grep LIBCXX<br>strings: '/usr/lib/libstdc++.so.6': No such file<br>sbh@sbh-MacBookPro:/usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/sys/os/glnxa64$ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep LIBCXX<br>
GLIBCXX_3.4<br>GLIBCXX_3.4.1<br>GLIBCXX_3.4.2<br>GLIBCXX_3.4.3<br>GLIBCXX_3.4.4<br>GLIBCXX_3.4.5<br>GLIBCXX_3.4.6<br>GLIBCXX_3.4.7<br>GLIBCXX_3.4.8<br>GLIBCXX_3.4.9<br>GLIBCXX_3.4.10<br>GLIBCXX_3.4.11<br>GLIBCXX_3.4.12<br>
GLIBCXX_3.4.13<br>GLIBCXX_3.4.14<br>GLIBCXX_3.4.15<br>GLIBCXX_3.4.16<br>GLIBCXX_DEBUG_MESSAGE_LENGTH<br><br></div><div>I tried copying some around, symbolic links, etc. Seems it is requesting an older one than the one above, that I had copied to the matlab folder just to see if it would work. <br>
<br>Anyway, long story short, I've attached the ppl log file, though I will say that while I was in the subshell I did have a problem with one make process complaining of no header file;<br><br>g++     cotree1.cc   -o cotree1<br>
cotree1.cc:24:23: fatal error: ppl_test.hh: No such file or directory<br>compilation terminated.<br><br></div><div>Anyways, I've built a lot of software (OpenFOAM, MPI, Tor, etc.) on this machine successfully so I'm not really sure what is the problem, and was hoping you could help me figure it out.<br>
<br></div><div>Thank you!<br>Brett<br></div></div>