Changes between Initial Version and Version 1 of Ticket #26623
- Timestamp:
- Sep 25, 2010, 11:04:57 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26623
- Property Owner changed from macports-tickets@… to jwa@…
- Property Port couchdb added
-
Ticket #26623 – Description
initial v1 3 3 This is what I tried: 4 4 5 {{{ 5 6 shell > sudo port install couchdb 6 7 7 shell > sudo port uninstall couchdb 8 9 8 shell > sudo port install couchdb 10 9 }}} 11 10 ERROR strings that print on "re-install" 11 {{{ 12 12 ...... 13 13 Error: reinplace: couldn't read file … … 15 15 no such file or directory 16 16 ..... 17 }}} 17 18 18 19 WORKAROUND 19 20 21 {{{ 20 22 shell > sudo mkdir 21 23 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_couchdb/work/destroot/opt/local/Library/LaunchDaemons 22 23 24 shell > sudo touch 24 25 /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 26 26 shell > sudo port install couchdb 27 }}} 27 28 28 29 /*** this will succeed, however DO NOT run the launchctl yet ****/ … … 30 31 NOTE: the org.apache.couchdb.plist is created but there is no data. We need to add the PLIST data for launchctl. 31 32 33 {{{ 32 34 shell > sudo vi /Library/LaunchDaemons/org.apache.couchdb.plist 33 35 … … 62 64 </dict> 63 65 </plist> 66 }}} 64 67 65 68 NOTE: Now execute the launchtctl command from the message of the 66 69 couchdb successful install. 67 70 68 71 {{{ 69 72 shell > sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist 70 71 73 shell > curl http://127.0.0.1:5984 72 73 74 {"couchdb":"Welcome","version":"1.0.1"} 74 75 }}} 75 76 76 77 Perhaps the install procedure needs to be a little bit proactive in creating directories if they do not exist.