Open teonimesic opened 12 years ago
macports installs mongod in /opt/local/bin. The binary is detected. However, the assumption in the code to replace /opt/local/bin by /opt/local/etc because the mongod.conf file is expected to be there is not true with macports. In spite of it, the user has not the right to write a file in /opt/local/etc. and the LaunchDaemon in in /opt/local/etc/LaunchDaemons/org.macports.mongodb and contains all the configuration in its arguments.
--> The mongod.conf file should be created in /opt/local/etc/
----> This should be done by refactoring the core code to share it with cassandra-macosx-prefspane (to prepare the release of others prefspane)
+1. At the very least, update the README.md to indicate that this preference pane doesn't work with the Macports version of MongoDB
you are right. I have updated the README.md.
Clicking the start button does nothing when mongodb is installed via macports, and the readme doesnt says anything on how to configure the paths to make this work.