sous-chefs / nginx

Development repository for the nginx cookbook
https://supermarket.chef.io/cookbooks/nginx
Apache License 2.0
553 stars 806 forks source link

add support for load-dynamic-module #466

Closed bigman3 closed 4 years ago

bigman3 commented 6 years ago

steps to achieve working dynamic module (example from ngx-lua-module bash):

make install luajit: make install CFLAGS="-fPIC"

... export relevant env vars ...

in nginx sources: ./configure --with-ld-opt="-Wl,-rpath,$LUAJIT_LIB" \ --with-compat \ --add-dynamic-module=${NGX_DEVEL_KIT} \ --add-dynamic-module=${LUA_NGX_MOD} \ && make modules

thoughts? I can patch it with pull request / several requests for gradually, with several modules at a time

welcomebot commented 6 years ago

Hey There It looks like this is the first issue you've filed against the chef-cookbooks project. I'm here to offer you a bit of extra help to make sure we can quickly get back to you. Make sure you've filled out all the fields in our issue template. Make sure you've provided us with the version of chef-client you're running, your operating system and the version of the cookbook. If you're not using the most up to date version of the cookbook then please make sure to update first. Lots of things change between versions even if you're issue isn't listed in the changelog. Finally please give us a detailed description of the issue you're having. The more we know about what you're trying to do, what actually happens, and how you can reproduce the problem, the better.

If you're looking for more immediate troubleshooting help make sure to check out #general on the Chef Community Slack. There's plenty of folks there willing to lend a helping hand. Thanks for the first issue. We hope we can get back to you soon with a solution.

MarkGibbons commented 4 years ago

The reported issue seems to be aimed at compiling and building nginx. The nginx cookbook no longer builds nginx so I don't this issue applies to the current cookbook. Please reopen if this issue is still and problem with the current cookbook.