Add environment variable so binaries work; tweak install script #461
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was trying to run this using the Vagrant method and I got some errors, so I thought I would just try and fix them.
First, the default version of
pip
that's already installed seems to try to install from the non-TLS version of the python repositories.Next, the Python
chardet
library version that the system wants conflicts with one that's already installed on Ubuntu. I just uninstalled the package so the new one can get put in instead.I also disabled the
pip
version check, it just makes for confusing errors.And the last change to the
setup.sh
script is - because of howupstart
is hooked into the system, mysql seems to start on its own and themysqld_safe
binary doesn't need to be run directly.Additionally, I modified the
Vagrantfile
to make the various binaries run as documented in the README. I adding aprofile.d
script to set thePYTHONPATH
environment variable so those various binaries will execute correctly.That last change seems weird; if that was something that was necessary I would expect it to already be there? If there's a better or different way to do that, I'm happy to rework my changes here to accommodate.