I think if you install "msgpack-devel”, it will compile and install.

Generally, header files (which is what is included in C++ files) are in *-devel 
packages. The regular msgpack package just contains the shared library for use 
by programs already compiled against msgpack.

-David

> On Jun 7, 2017, at 10:18 PM, sunyeping via PyMOL-users 
> <pymol-users@lists.sourceforge.net 
> <mailto: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 
> <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
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org <http://slashdot.org/>! 
> http://sdm.link/slashdot_______________________________________________ 
> <http://sdm.link/slashdot_______________________________________________>
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net 
> <mailto:PyMOL-users@lists.sourceforge.net>)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users 
> <https://lists.sourceforge.net/lists/listinfo/pymol-users>
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net 
> <http://www.mail-archive.com/pymol-users@lists.sourceforge.net>
------------------------------------------------------------------------------
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