Changes between Version 2 and Version 3 of Ticket #61720, comment 9


Ignore:
Timestamp:
Jul 17, 2021, 1:04:56 AM (3 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61720, comment 9

    v2 v3  
    1 Replying to [comment:4 rowue]:
     1Replying to [comment:4 rowue]:\\
    22Okay. I did all the steps you mentioned. I'll list the commands below (I typed on the mac terminal) and it worked for me but now i get new errors on gwyddion installation. Also my username is nirjharize to clarify the chown cmd
    33
     4{{{
    45sudo port install git
    5 
    66cd /opt/local/var/macports/sources
    7 
    87sudo mkdir -p github.com/macports/macports-ports/
    9 
    108sudo chown -R nirjharize:admin github.com
    11 
    129git clone ​https://github.com/rowue/macports-ports.git github.com/macports/macports-ports/
    13 
    1410cd github.com/macports/macports-ports
    15 
    1611git checkout gwyddion-bigsur
     12}}}
    1713
    1814Then I open finder and look for file /opt/local/etc/macports/sources.conf (by pressing command + Shift + G and typing the address). The last line in that file reads:
     15{{{
    1916#rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default]
     17}}}
    2018
    21 Write in the next line after #rsync:
     19Write in the next line after `#rsync`:
     20{{{
    2221file:///opt/local/var/macports/sources/github.com/macports/macports-ports/ [default]
     22}}}
    2323
    2424Then type in mac terminal:
     25{{{
    2526sudo port -v sync
     27}}}
    2628
    2729Then tried installing gwyddion again by typing this:
     30{{{
    2831sudo port install gwyddion
     32}}}
    2933
    3034Got 1 error and 2 warnings. The main log repeated the fatal error string.h file not found and Error code CHILDSTATUS 28380 2. Attached the main log file and also listing the error that showed on mac terminal:
    3135
     36{{{
    3237Warning: More than one default port source is defined.
    3338Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.
     
    4348Error: Follow https://guide.macports.org/#project.tickets to report a bug.
    4449Error: Processing of port gwyddion failed
     50}}}