Thanks for an answer. It worked. But unfortunately there's another error:
/usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. libtool: compile: g++ -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -g -O2 -MT types.lo -MD -MP -MF .deps/types.Tpo -c ../../src/alps/parapack/types.C -o types.o >/dev/null 2>&1 mv -f .deps/types.Tpo .deps/types.Plo /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -g -O2 -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo `test -f '../../src/alps/parapack/util.C' || echo './'`../../src/alps/parapack/util.C libtool: compile: g++ -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -g -O2 -MT util.lo -MD -MP -MF .deps/util.Tpo -c ../../src/alps/parapack/util.C -fPIC -DPIC -o .libs/util.o libtool: compile: g++ -DHAVE_CONFIG_H -I../../src -I../../src -DNDEBUG -g -O2 -MT util.lo -MD -MP -MF .deps/util.Tpo -c ../../src/alps/parapack/util.C -o util.o >/dev/null 2>&1 mv -f .deps/util.Tpo .deps/util.Plo make[2]: *** No rule to make target `/thread/src/barrier.cpp', needed by `barrier.lo'. Stop. make[2]: Leaving directory `/home/mszynisz/alps-install/alps-1.3.5/lib/alps' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mszynisz/alps-install/alps-1.3.5/lib' make: *** [all-recursive] Error 1
Please help.
Best, Marcin
On Fri, Dec 10, 2010 at 19:22, Matthias Troyer troyer@phys.ethz.ch wrote:
On Dec 10, 2010, at 7:01 PM, MSzynisz wrote:
Hello,
I have a problem installing the ALPS. Ubuntu version: 10.10 ALPS version: 1.3.5 Boost version: 1.45.0 gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
Streamed what I can see in terminal in attachment. Used command sudo make
Here is the answer (we should put that onto the 1.3 wiki) Begin forwarded message:
From: Synge Todo wistaria@comp-phys.org Date: November 20, 2010 2:01:14 AM GMT+01:00 To: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] ../../src/alps/parapack/filelock.C:93: error: 'S_IWRITE' was not declared in this scope Reply-To: comp-phys-alps-users@lists.phys.ethz.ch
This is a known problem on Ubuntu 10.10. Please add
#include <sys/stat.h>
at the beginning of src/alps/parapack/filelock.C, and try to make again.