Nate Bargmann
2018-04-06 11:54:35 UTC
I'm not sure if this is a bug, but I've not encountered this behavior
with other macro packages from the Autoconf Archive.
I found that when the configure script is passed '--prefix=/usr' that
the resulting share and library paths are munged so that the slash
between '/usr' and 'lib64' on my Slackware systems goes missing. Here
is what I am seeing with '--prefix=/usr':
checking for a Lua interpreter with version >= 5.2, < 5.4... lua5.2
checking for lua5.2... /usr/bin/lua5.2
checking for lua5.2 version... 5.2
checking for lua5.2 platform... unknown
checking for lua5.2 script directory... ${prefix}share/lua/5.2
checking for lua5.2 module directory... ${exec_prefix}lib64/lua/5.2
Here is what I see when '--prefix=$HOME/local'):
checking for a Lua interpreter with version >= 5.2, < 5.4... lua5.2
checking for lua5.2... /usr/bin/lua5.2
checking for lua5.2 version... 5.2
checking for lua5.2 platform... unknown
checking for lua5.2 script directory... ${prefix}/share/lua/5.2
checking for lua5.2 module directory... ${exec_prefix}/lib/lua/5.2
And when '--prefix' is left at default ('/usr/local'):
checking for a Lua interpreter with version >= 5.2, < 5.4... lua5.2
checking for lua5.2... /usr/bin/lua5.2
checking for lua5.2 version... 5.2
checking for lua5.2 platform... unknown
checking for lua5.2 script directory... ${prefix}/share/lua/5.2
checking for lua5.2 module directory... ${exec_prefix}/lib/lua/5.2
Here are variables from config.status with '--prefix=/usr':
S["LUA_LIB"]="-llua5.2 -lm -ldl"
S["LUA_INCLUDE"]="-I/usr/include/lua5.2"
S["pkgluaexecdir"]="${luaexecdir}/hamlib"
S["luaexecdir"]="${exec_prefix}lib64/lua/5.2"
S["pkgluadir"]="${luadir}/hamlib"
S["luadir"]="${prefix}share/lua/5.2"
S["LUA_EXEC_PREFIX"]="${exec_prefix}"
S["LUA_PREFIX"]="${prefix}"
S["LUA_PLATFORM"]="unknown"
S["LUA_SHORT_VERSION"]="52"
S["LUA_VERSION"]="5.2"
S["LUA"]="/usr/bin/lua5.2"
and again with '--prefix' not set:
S["LUA_LIB"]="-llua5.2 -lm -ldl"
S["LUA_INCLUDE"]="-I/usr/include/lua5.2"
S["pkgluaexecdir"]="${luaexecdir}/hamlib"
S["luaexecdir"]="${exec_prefix}/lib/lua/5.2"
S["pkgluadir"]="${luadir}/hamlib"
S["luadir"]="${prefix}/share/lua/5.2"
S["LUA_EXEC_PREFIX"]="${exec_prefix}"
S["LUA_PREFIX"]="${prefix}"
S["LUA_PLATFORM"]="unknown"
S["LUA_SHORT_VERSION"]="52"
S["LUA_VERSION"]="5.2"
S["LUA"]="/usr/bin/lua5.2"
Thanks!
- Nate
with other macro packages from the Autoconf Archive.
I found that when the configure script is passed '--prefix=/usr' that
the resulting share and library paths are munged so that the slash
between '/usr' and 'lib64' on my Slackware systems goes missing. Here
is what I am seeing with '--prefix=/usr':
checking for a Lua interpreter with version >= 5.2, < 5.4... lua5.2
checking for lua5.2... /usr/bin/lua5.2
checking for lua5.2 version... 5.2
checking for lua5.2 platform... unknown
checking for lua5.2 script directory... ${prefix}share/lua/5.2
checking for lua5.2 module directory... ${exec_prefix}lib64/lua/5.2
Here is what I see when '--prefix=$HOME/local'):
checking for a Lua interpreter with version >= 5.2, < 5.4... lua5.2
checking for lua5.2... /usr/bin/lua5.2
checking for lua5.2 version... 5.2
checking for lua5.2 platform... unknown
checking for lua5.2 script directory... ${prefix}/share/lua/5.2
checking for lua5.2 module directory... ${exec_prefix}/lib/lua/5.2
And when '--prefix' is left at default ('/usr/local'):
checking for a Lua interpreter with version >= 5.2, < 5.4... lua5.2
checking for lua5.2... /usr/bin/lua5.2
checking for lua5.2 version... 5.2
checking for lua5.2 platform... unknown
checking for lua5.2 script directory... ${prefix}/share/lua/5.2
checking for lua5.2 module directory... ${exec_prefix}/lib/lua/5.2
Here are variables from config.status with '--prefix=/usr':
S["LUA_LIB"]="-llua5.2 -lm -ldl"
S["LUA_INCLUDE"]="-I/usr/include/lua5.2"
S["pkgluaexecdir"]="${luaexecdir}/hamlib"
S["luaexecdir"]="${exec_prefix}lib64/lua/5.2"
S["pkgluadir"]="${luadir}/hamlib"
S["luadir"]="${prefix}share/lua/5.2"
S["LUA_EXEC_PREFIX"]="${exec_prefix}"
S["LUA_PREFIX"]="${prefix}"
S["LUA_PLATFORM"]="unknown"
S["LUA_SHORT_VERSION"]="52"
S["LUA_VERSION"]="5.2"
S["LUA"]="/usr/bin/lua5.2"
and again with '--prefix' not set:
S["LUA_LIB"]="-llua5.2 -lm -ldl"
S["LUA_INCLUDE"]="-I/usr/include/lua5.2"
S["pkgluaexecdir"]="${luaexecdir}/hamlib"
S["luaexecdir"]="${exec_prefix}/lib/lua/5.2"
S["pkgluadir"]="${luadir}/hamlib"
S["luadir"]="${prefix}/share/lua/5.2"
S["LUA_EXEC_PREFIX"]="${exec_prefix}"
S["LUA_PREFIX"]="${prefix}"
S["LUA_PLATFORM"]="unknown"
S["LUA_SHORT_VERSION"]="52"
S["LUA_VERSION"]="5.2"
S["LUA"]="/usr/bin/lua5.2"
Thanks!
- Nate
--
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."
Web: http://www.n0nb.us GPG key: D55A8819 GitHub: N0NB
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."
Web: http://www.n0nb.us GPG key: D55A8819 GitHub: N0NB