Hi Yeping,

3 options:

1) Get msgpack 2.x sources from https://github.com/msgpack/msgpack-c and tell 
the C++ compiler about the headers, e.g. with:

export CXXFLAGS="-I/tmp/msgpack-2.1.2/include"

2) If you have installed msgpack 1.x, which is a dynamic library, also install 
msgpack-devel and build pymol with --use-msgpackc=c

3) Build pymol with --use-msgpackc=no which disables MMTF load support

Note that msgpack version 0.x is not supported by PyMOL.

Hope that helps.

Cheers,
  Thomas

> On Jun 8, 2017, at 4:18 AM, sunyeping via PyMOL-users 
> <pymol-users@lists.sourceforge.net> wrote:
> 
> Dear pymol users,
> 
> I am trying to intall pymol on my centos 7 system from source using the 
> mothed discribed at pymolwiki (https://pymolwiki.org/index.php/Linux_Install)
> Everything was ok until I run install script: 
> 
> #!/bin/bash -e
> 
> prefix=/opt/pymol-svn
> modules=$prefix/modules
> 
> # If you want to install as root, then split this line up in "build"
> # and "install" and run the "install" with "sudo"
> python2.7 setup.py build install \
>     --home=$prefix \
>     --install-lib=$modules \
>     --install-scripts=$prefix
> 
> I got a error message and the installation process was terminated:
> 
> In file included from contrib/mmtf-c/mmtf_parser.cpp:31:0:
> contrib/mmtf-c/mmtf_parser_private.h:38:23: fatal error: msgpack.hpp: No such 
> file or directory
>  #include <msgpack.hpp>
>                        ^
> compilation terminated.
> 
> I then installed msgpack by yum command and tried to run the pymol install 
> script again, but the same error still occurred.
> 
> I googled this problem but cannot find a answer. Could anyone help me here?
> 
> Best regards.
> 
> Yeping Sun

--
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to