[yt-users] YT installation issues

Matthew Turk matthewturk at gmail.com
Thu Aug 19 07:25:18 PDT 2010


Hi Shankar,

> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -I/home/ucapsag/enzo3/src/yt/doc/yt-x86_64/lib/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/home/ucapsag/enzo3/src/yt/doc/yt-x86_64/lib/python2.6/site-packages/numpy/core/include -Isrc -Iagg24/include -I. -I/home/ucapsag/enzo3/src/yt/doc/yt-x86_64/include/python2.6 -c src/path.cpp -o build/temp.linux-x86_64-2.6/src/path.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
> In file included from /shared/ucl/test/GCC4/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../include/c++/4.4.1/ext/hash_map:59,
>                 from ./CXX/Extensions.hxx:68,
>                 from src/path.cpp:8:
> /shared/ucl/test/GCC4/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../include/c++/4.4.1/backward/backward_warning.h:28:2: 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.
>
>
> Please let me know what could be happening here.
>

Frankly, it looks like you did everything right.  The fact that it
dies with a warning is confusing to me, because those should be
non-fatal.

If possible, could you include a bit more of the output?  Say, the
last  fifty or so lines?  There might be something buried in there.
(C++ is not known for making it easy to find the compilation failure
point!)  You might also try, just to be safe, setting CXXFLAGS and
CFLAGS to include "-Wno-deprecated" inside the script, which should
get rid of that warning.

Thanks,

Matt



More information about the yt-users mailing list