Luarocks dependencies moved to .rockspec file #316
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.
Trying to create consistent setup in the CentOS 6 environment and found that if I install the lua-resty-waf with the provided .rockspec - packages that it depends on get installed, but not added to the "luarocks list":
Here the output after the installation:
But of I install dependencies first with
luarocks install busted
- everything looks good.Decided to try to move the luarocks dependencies installation from Makefile back to .rockspec and everything looks smoother now and shows consistent list of libraries:
Are there reasons why this can't be back-ported to your master tree?
And package doesn't build on CentOS 6 system because of the outdated GCC (4.4.7) - had to remove the
-flto
flag (kariedo/lua-resty-htmlentities@4dbb9bf), but that's different story.