Follow-up Comment #1, bug #19961 (project freeciv):
Hm. I haven't tested it thoroughly, but looking at package contents, on Ubuntu
(Lucid / Precise) and Debian (stable and testing), the pkgconfig file is
called lua5.1.pc, not lua.pc.
What's your operating system / distribution?
Follow-up Comment #2, bug #19961 (project freeciv):
gentoo
___
Reply to this item at:
http://gna.org/bugs/?19961
___
Message sent via/by Gna!
http://gna.org/
Follow-up Comment #3, bug #19961 (project freeciv):
http://lua-users.org/lists/lua-l/2008-09/msg00184.html
___
Reply to this item at:
http://gna.org/bugs/?19961
___
Message sent via/by
Follow-up Comment #4, bug #19961 (project freeciv):
but pkgconfig file is called lua.pc instead lua51.pc
That's tricky setup. Even ignoring other distributions that would be affected
with checking lua.pc, presumably lua.pc always refers to *current* lua version
in your distribution. 5.0, 5.1,
Follow-up Comment #5, bug #19961 (project freeciv):
lua -e 'print(_VERSION)' 21 | cut -d' ' -f2
will post correct version but Im not good in putting it in configure
___
Reply to this item at:
http://gna.org/bugs/?19961
Follow-up Comment #6, bug #19961 (project freeciv):
lua -e 'print(_VERSION)' 21 | cut -d' ' -f2
You cannot run target system lua on build system when cross-compiling.
___
Reply to this item at:
http://gna.org/bugs/?19961
Follow-up Comment #7, bug #19961 (project freeciv):
so maybe one of these macros will be useful ?
http://www.gnu.org/software/autoconf-archive/ax_lua.html
___
Reply to this item at:
http://gna.org/bugs/?19961
Update of bug #19961 (project freeciv):
Summary: ./configure --enable-sys-lua fail = ./configure
--enable-sys-lua fail on Gentoo
___
Follow-up Comment #8:
Looks like Lua upstream made good on their threat to drop lua.pc
Follow-up Comment #9, bug #19961 (project freeciv):
(It's a bit ugly because it can produce output like this:
checking for LUA... no
checking for LUA... no
checking for LUA... yes)
___
Reply to this item at:
http://gna.org/bugs/?19961
Update of bug #19961 (project freeciv):
Operating System:None = GNU/Linux
___
Reply to this item at:
http://gna.org/bugs/?19961
___
Message sent
Follow-up Comment #10, bug #19961 (project freeciv):
doesnt work anyway
configure:32327: $? = 1
Requested 'lua = 5.1' but version of Lua is 5.1.4
configure:32355: result: no
configure:32358: error: Use of included lua disabled, and no lua found from
system
Follow-up Comment #11, bug #19961 (project freeciv):
Darn, overly fussy. Can you try changing lua = 5.1 to lua =5.1 lua 5.2?
___
Reply to this item at:
http://gna.org/bugs/?19961
___
Follow-up Comment #12, bug #19961 (project freeciv):
Doesnt work:
Unknown version comparison operator '=5.1' after package name 'lua' in file
'(command line arguments)'
___
Reply to this item at:
http://gna.org/bugs/?19961
Follow-up Comment #13, bug #19961 (project freeciv):
Argh. Missing space.
lua = 5.1 lua 5.2
(I've tested it this time.)
___
Reply to this item at:
http://gna.org/bugs/?19961
___
Message
Follow-up Comment #14, bug #19961 (project freeciv):
it works
configure:32306: $PKG_CONFIG --exists --print-errors lua = 5.1 lua 5.2
configure:32309: $? = 0
configure:32324: $PKG_CONFIG --exists --print-errors lua = 5.1 lua 5.2
configure:32327: $? = 0
configure:32369: result: yes
Additional Item Attachment, bug #19961 (project freeciv):
File name: trunk-S2_4-enable-sys-lua-portability-bis.patch Size:1 KB
___
Reply to this item at:
http://gna.org/bugs/?19961
___
Update of bug #19961 (project freeciv):
Status:None = Ready For Test
Assigned to:None = jtn
___
Follow-up Comment #15:
it works
Good
17 matches
Mail list logo