<div dir="ltr"><br><div>Hi,</div><div><br></div><div>I am newbie about ubuntu snappy. I read the doc, but I was not able to find an answer for my problem.</div><div><br></div><div>I am trying to create a snap for nginx. </div><div>The relevant parts of the snapcraft.yaml is </div><div><br></div><div>parts:<br></div><div><div>  nginx:</div><div>    type: autotools-project</div><div>    plugin: autotools</div><div>    source: <a href="http://nginx.org/download/nginx-1.9.7.tar.gz">http://nginx.org/download/nginx-1.9.7.tar.gz</a> </div><div>    source-type: tar</div><div>    configflags:</div><div>      - --with-ld-opt="-Wl,-rpath,/usr/local/lib/"</div><div>      - --add-module=ngx_devel_kit</div><div>      - --add-module=lua-nginx-module</div><div>      ...    </div><div>     after:</div></div><div>      - lua-nginx-module</div><div>      - ngx-devel-kit</div><div><br></div><div>Without the modules it compiles fine.</div><div><div>My question is about the add-module configflags. The add-module directive expects the filesystem path of the module, what is the right way to manage it? </div><div>I try to add</div></div><div><br></div><div>   ngx-devel-kit:</div><div>    plugin: copy</div><div>    files: </div><div>      ngx_devel_kit-0.2.19: ngx_devel_kit</div><div><br></div><div>if I try snapcraft build I get </div><div><br></div><div>./configure: error: no ngx_devel_kit/config was found<br></div><div><br></div><div>in the stage directory the ngx_devel_kit exists.</div><div><br></div><div>which is the filesystem visibility of the --add-module?</div><div><br></div><div>Regards,</div><div>Nicola</div><div><br></div><div><br></div></div>