Could it be an issue with not finding lua.pc? I was looking at this post, and
that seems to be important:
https://stackoverflow.com/questions/47458678/why-lua-5-3-can-not-find-the-path-of-include-missing-lua-include-dir
I've been trying all morning to get this to work with various variables
pointing to the lua libraries and no go. I can confirm they are there:
```
$ ls
opt/spack/linux-ubuntu20.04-skylake/gcc-9.3.0/lua-5.4.0-pnz7qlunrfkgnsgsbdn2t73tkwicdfkv/include/
lauxlib.h luaconf.h lua.h lua.hpp lualib.h
```
This is always the result:
```
==> [2021-03-17-10:29:19.597984] Error: ProcessError: Command exited with
status 1:
'/tmp/vanessa/spack-stage/spack-stage-rpm-4.16.1.2-afb44p5cjv2ydl5i5sc4yzljuezhfhhv/spack-src/configure'
'--prefix=/home/vanessa/Desktop/Code/spack-dev/opt/spack/linux-ubuntu20.04-skylake/gcc-9.3.0/rpm-4.16.1.2-afb44p5cjv2ydl5i5sc4yzljuezhfhhv'
'--enable-ndb' 'CFLAGS=-fPIC'
'--with-lua-prefix=/home/vanessa/Desktop/Code/spack-dev/opt/spack/linux-ubuntu20.04-skylake/gcc-9.3.0/lua-5.4.0-pnz7qlunrfkgnsgsbdn2t73tkwicdfkv'
'--with-lua=/home/vanessa/Desktop/Code/spack-dev/opt/spack/linux-ubuntu20.04-skylake/gcc-9.3.0/lua-5.4.0-pnz7qlunrfkgnsgsbdn2t73tkwicdfkv'
'CPPFLAGS=-L/home/vanessa/Desktop/Code/spack-dev/opt/spack/linux-ubuntu20.04-skylake/gcc-9.3.0/lua-5.4.0-pnz7qlunrfkgnsgsbdn2t73tkwicdfkv'
'--with-crypto=libgcrypt'
1 error found in build log:
364 checking for localtime_r... yes
365 checking for statvfs... yes
366 checking for getaddrinfo... yes
367 checking for doxygen... no
368 checking for dot... YES
369 checking for LUA... no
>> 370 configure: error: lua not present or too old (--without-lua to
disable)
```
Does this not compile on Ubuntu?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1581#issuecomment-801228290
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint