Changes between Initial Version and Version 1 of Ticket #49449


Ignore:
Timestamp:
Oct 26, 2015, 2:55:15 AM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49449

    • Property Owner changed from macports-tickets@… to howarth.at.macports@…
    • Property Summary changed from Error installing Pymol to pymol: error: no type named 'shared_ptr' in namespace 'std'
    • Property Port pymol added
  • Ticket #49449 – Description

    initial v1  
    11I am unable to install Pymol. I upgraded my MacPorts, did sudo install, and sudo clean, but I am getting the following error:
    22
     3{{{
    34Error: org.macports.destroot for port pymol returned: command execution failed
    45Please see the log file for port pymol for details:
    56    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_pymol/pymol/main.log
     7}}}
    68
    79I 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!