Hi,
I’ve recently tried to compile amber16 with ambertools17 and am failing. This is on Centos 6.8 with the intel compilers 2016.0 version.
./configure --with-python /packages/python/anaconda/latest/bin/python intel
make install
ShapeWidg.c(27): catastrophic error: cannot open source file "X11/extensions/shape.h"
#include <X11/extensions/shape.h>
Yes, there is no shape.sh file in /usr/include/X11/extensions. However, I have it here: /usr/include/xcb. Whats the best way to have amber deal with this? I tried:
CFLAGS="-I/usr/include/xcb"
But amber doesn’t find it. I even tried doing a lame hack and copying shape.h into /usr/include/X11/extensions and then I move on and get this:
===============================
make[4]: `libWcLeap.a' is up to date.
make[4]: Leaving directory `/packages/amber/amber16-intel-2016.0-384.66/AmberTools/src/leap/src/Wc'
cd src/Xmu && make
make[4]: Entering directory `/packages/amber/amber16-intel-2016.0-384.66/AmberTools/src/leap/src/Xmu'
icc -c -I/usr/include -fPIC -I/usr/include/xcb -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DHASGZ -DHASBZ2 -D__PLUMED_HAS_DLOPEN -o ShapeWidg.o ShapeWidg.c
ShapeWidg.c(84): error: identifier "ShapeBounding" is undefined
ShapeBounding, 0, 0, None, ShapeSet);
^
ShapeWidg.c(84): error: identifier "ShapeSet" is undefined
ShapeBounding, 0, 0, None, ShapeSet);
^
ShapeWidg.c(86): error: identifier "ShapeClip" is undefined
ShapeClip, 0, 0, None, ShapeSet);
^
ShapeWidg.c(141): error: identifier "ShapeBounding" is undefined
XShapeCombineMask(dpy, XtWindow(w), ShapeBounding,
^
ShapeWidg.c(143): error: identifier "ShapeSet" is undefined
p, ShapeSet);
^
ShapeWidg.c(161): error: identifier "ShapeClip" is undefined
XShapeCombineMask(dpy, XtWindow(w), ShapeClip, 0, 0, p, ShapeSet);
^
ShapeWidg.c(165): error: identifier "ShapeClip" is undefined
ShapeClip, 0, 0, None, ShapeSet);
^
ShapeWidg.c(221): error: identifier "ShapeBounding" is undefined
XShapeCombineMask(dpy, XtWindow(w), ShapeBounding,
^
ShapeWidg.c(223): error: identifier "ShapeSet" is undefined
p, ShapeSet);
^
ShapeWidg.c(236): error: identifier "ShapeClip" is undefined
XShapeCombineMask(dpy, XtWindow(w), ShapeClip, 0, 0, p, ShapeSet);
^
ShapeWidg.c(240): error: identifier "ShapeClip" is undefined
ShapeClip, 0, 0, None, ShapeSet);
^
compilation aborted for ShapeWidg.c (code 2)
make[4]: *** [ShapeWidg.o] Error 2
make[4]: Leaving directory `/packages/amber/amber16-intel-2016.0-384.66/AmberTools/src/leap/src/Xmu'
make[3]: *** [install_xleap] Error 2
make[3]: Leaving directory `/packages/amber/amber16-intel-2016.0-384.66/AmberTools/src/leap'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/packages/amber/amber16-intel-2016.0-384.66/AmberTools/src/leap'
make[1]: *** [serial] Error 2
make[1]: Leaving directory `/packages/amber/amber16-intel-2016.0-384.66/AmberTools/src'
make: *** [install] Error 2
================================
Is this something new in ambertools17? Anyone have any ideas? Thanks!
Chris
—
Christopher Coffey
High-Performance Computing
Northern Arizona University
928-523-1167
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Oct 05 2017 - 07:30:02 PDT