Opened 9 years ago
Last modified 9 years ago
#49449 closed defect
pymol: error: no type named 'shared_ptr' in namespace 'std' — at Version 1
Reported by: | kathryncole | Owned by: | howarth.at.macports@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | pymol |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I am unable to install Pymol. I upgraded my MacPorts, did sudo install, and sudo clean, but I am getting the following error:
Error: org.macports.destroot for port pymol returned: command execution failed Please see the log file for port pymol for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_pymol/pymol/main.log
I searched the previous tickets, and see that there have been similar reports, but I am unsure of the best/ most current solution. Thank you for your help!
Change History (2)
Changed 9 years ago by kathryncole
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to howarth.at.macports@… |
Port: | pymol added |
Summary: | Error installing Pymol → pymol: error: no type named 'shared_ptr' in namespace 'std' |
The error in the log is:
error: no type named 'shared_ptr' in namespace 'std'
I think this error means the port requires C++11.
The log also shows this is on OS X 10.8, which uses libstdc++ by default which does not support C++11.
The current MacPorts solution to this type of problem is to include the cxx11 portgroup by writing:
PortGroup cxx11 1.0
after the PortSystem line in the portfile. This will cause the user to be directed to a web page that informs them how they can resolve the problem.
main.log