Changes between Initial Version and Version 1 of Ticket #26623


Ignore:
Timestamp:
Sep 25, 2010, 11:04:57 PM (14 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Please remember to use WikiFormatting and to fill in the Port and Cc fields.

AFAIK the install procedure is plenty proactive about creating all needed directories. Not sure yet what went wrong in your case.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26623

    • Property Owner changed from macports-tickets@… to jwa@…
    • Property Port couchdb added
  • Ticket #26623 – Description

    initial v1  
    33This is what I tried:
    44
     5{{{
    56shell > sudo port install couchdb
    6 
    77shell > sudo port uninstall couchdb
    8 
    98shell > sudo port install couchdb
    10 
     9}}}
    1110ERROR strings that print on "re-install"
     11{{{
    1212......
    1313Error: reinplace: couldn't read file
     
    1515no such file or directory
    1616.....
     17}}}
    1718
    1819WORKAROUND
    1920
     21{{{
    2022shell > sudo mkdir
    2123/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_couchdb/work/destroot/opt/local/Library/LaunchDaemons
    22 
    2324shell > sudo touch
    2425/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_couchdb/work/destroot/opt/local/Library/LaunchDaemons/org.apache.couchdb.plist
    25 
    2626shell > sudo port install couchdb
     27}}}
    2728
    2829/*** this will succeed, however DO NOT run the launchctl yet ****/
     
    3031NOTE: the org.apache.couchdb.plist is created but there is no data. We need to add the PLIST data for launchctl.
    3132
     33{{{
    3234shell > sudo vi /Library/LaunchDaemons/org.apache.couchdb.plist
    3335
     
    6264</dict>
    6365</plist>
     66}}}
    6467
    6568NOTE: Now execute the launchtctl command from the message of the
    6669couchdb successful install.
    6770
    68 
     71{{{
    6972shell > sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist
    70 
    7173shell > curl http://127.0.0.1:5984
    72 
    7374{"couchdb":"Welcome","version":"1.0.1"}
    74 
     75}}}
    7576
    7677Perhaps the install procedure needs to be a little bit proactive in creating directories if they do not exist.