newbie question about the autools configflags
Nicola Manica
nicola.manica at gmail.com
Sat Feb 6 21:11:37 UTC 2016
Hi,
I am newbie about ubuntu snappy. I read the doc, but I was not able to find
an answer for my problem.
I am trying to create a snap for nginx.
The relevant parts of the snapcraft.yaml is
parts:
nginx:
type: autotools-project
plugin: autotools
source: http://nginx.org/download/nginx-1.9.7.tar.gz
source-type: tar
configflags:
- --with-ld-opt="-Wl,-rpath,/usr/local/lib/"
- --add-module=ngx_devel_kit
- --add-module=lua-nginx-module
...
after:
- lua-nginx-module
- ngx-devel-kit
Without the modules it compiles fine.
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?
I try to add
ngx-devel-kit:
plugin: copy
files:
ngx_devel_kit-0.2.19: ngx_devel_kit
if I try snapcraft build I get
./configure: error: no ngx_devel_kit/config was found
in the stage directory the ngx_devel_kit exists.
which is the filesystem visibility of the --add-module?
Regards,
Nicola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160206/3d2cb27d/attachment.html>
More information about the snappy-app-devel
mailing list