ฉันติดตั้ง MacPorts จากแพ็คเกจ DMG ที่ http://www.macports.org/install.php
หลังจากติดตั้งแล้วฉันพยายามใช้และรับ:
dlopen(/opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib, 10): no suitable image found.  Did find:
    /opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib: no matching architecture in universal wrapper
    while executing
"load /opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib"
    ("package ifneeded macports 1.0" script)
    invoked from within
"package require macports"
    (file "/opt/local/bin/port" line 39)
ฉันพยายามลบ / opt / local / share / macports และ / opt / local / bin / พอร์ตและติดตั้งใหม่ แต่ก็ไม่ได้ช่วย
ปรับปรุง:
ฉันพยายามลบอย่างสมบูรณ์โดยทำ
%% sudo rm -rf \
    /opt/local \
    /Applications/DarwinPorts \
    /Applications/MacPorts \
    /Library/LaunchDaemons/org.macports.* \
    /Library/Receipts/DarwinPorts*.pkg \
    /Library/Receipts/MacPorts*.pkg \
    /Library/StartupItems/DarwinPortsStartup \
    /Library/Tcl/darwinports1.0 \
    /Library/Tcl/macports1.0 \
    ~/.macports
แล้วติดตั้ง MacPorts-1.9.2-10.6-SnowLeopard.dmg แต่ฉันก็ยังได้รับข้อผิดพลาดเดียวกัน
                   ขอบคุณ slhck ฉันไปกับ MacPorts เพราะเป็นขั้นตอนหนึ่งใน  stackoverflow.com/questions/4868185/... 
                
                
                  
                    —
                    Bemmu
                    
                  
                
              
                   @ user16145 ตกลง! Btw คุณสามารถใส่โซลูชันการทำงานของคุณเป็นคำตอบสำหรับคำถามนี้และยอมรับในสองวัน 
                
                
                  
                    —
                    slhck
                    
                  
                
              
                   เรายินดีหากคุณเพิ่มคำตอบสำหรับคำถามตามที่ @slhck แนะนำมิฉะนั้น; มันจะถูกชนเข้ากับหน้าแรกโดยอัตโนมัติเนื่องจากระบบคิดว่าไม่ได้รับคำตอบ 
                
                
                  
                    —
                    Daniel Beck
                    
                  
                
              
ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)"