Changes between Initial Version and Version 1 of Ticket #57155, comment 5


Ignore:
Timestamp:
Oct 5, 2018, 9:39:32 PM (6 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57155, comment 5

    initial v1  
    11I just went through the LibcxxOnOlderSystems instructions from the start on a pristine 10.6.8 VM running the current MacPorts. It worked successfully, and I have a complete libcxx system with clang-3.7, a current cctools, a current ld64-latest, and all the supporting software.
     2
     3At the broken point in time you find yourself as described in the top of this ticket, I would uninstall all your ports on macports, and most likely it would be best to start completely clean, by do a complete uninstall to make sure you have a stock setup:
     4
     5<https://guide.macports.org/chunked/installing.macports.uninstalling.html>
     6
     7Then install from the 10.6.8 Installer package <https://github.com/macports/macports-base/releases/download/v2.5.4/MacPorts-2.5.4-10.6-SnowLeopard.pkg>, and then run through the LibcxxOnOlderSystems instructions as specified, but with the following minor adjustments.
     8
     9
     10
     11
    212
    313I noticed a couple of things that might not be obvious from the instructions.
     
    1323+llvm39
    1424}}}
    15 You will be asked a number of time if you want to rebuild your installed ports because of mismatches between libstdc++ and libc++ . This is a new feature of MacPorts that didn't exist when the LibcxxOnOlderSystems instructions were written. I would suggest you do NOT do this along the way. Instead, do the following:
     25You will be asked a number of times if you want to rebuild your installed ports because of mismatches between libstdc++ and libc++ . This is a new feature of MacPorts that didn't exist when the LibcxxOnOlderSystems instructions were written. I would suggest you do NOT do this along the way. Instead, do the following:
    1626
    17 Step 8 (update variants.conf again)
    18 Step 12 (uninstall llvm-3.4 and clang-3.4)
    19 Then run `sudo port -v rev-upgrade` and let it rebuild the smaller ports it wants to rebuild.
     27
     28- Step 8 (update variants.conf again)
     29- Step 12 (uninstall llvm-3.4 and clang-3.4)
     30- Then run `sudo port -v rev-upgrade` and let it rebuild the smaller ports it wants to rebuild.
     31
     32
    2033
    2134Then do steps 9, 10, and 11.
    2235
    23 At this point, I would uninstall all your ports on macports, and most likely it would be best to start completely clean, by do a complete uninstall to make sure you have a stock setup:
    24 
    25 <https://guide.macports.org/chunked/installing.macports.uninstalling.html>
    26 
    27 Then install from the 10.6.8 Installer package <https://github.com/macports/macports-base/releases/download/v2.5.4/MacPorts-2.5.4-10.6-SnowLeopard.pkg>, and then run through as I specified.
    28 
    29 
    30 
    3136Please report back any issues or concerns.