I figured out the problems by parsing info from config.log. In case anybody
is having similar issues, you can try these -
(1) pkg-config wasn't detecting lua since Lua's "sudo make install"
create lua.pc file. So I went ahead and manually created a lua.pc in
/usr/lib/pkgconfig (in fact, even /usr/share/pkconfig would do I guess).
(2) Apart from maths lib to be included, we also need -ldl. So, added
--extra-ldflags="-lm -ldl" to build.sh script.
On Wed, Oct 28, 2015 at 4:57 PM, Arpita Biswas <arpita.biswas07(a)gmail.com>
I am trying to build qemu-0.15.x for serialICE by running build.sh script.
However, it fails stating Lua 5.3 wasn't found as below :
"Error Lua version >= 5.3 not found. Can't build QEMU with SerialICE
I am on Ubuntu 14.04. I downloaded lua5.3, built and installed it
manually. I did not use apt-get for it, because the max it allowed was
lua5.2 . As a result, qemu-0.15.x/configure cannot find the lua packages
despite it being installed in /usr/local/bin.
After reading previous posts, I added "--extra-ldflags="-lm" " to
script. That also did not help.
Can someone please suggest a way to get it working - like changing some
path names / modifying the configure script ? I've a feeling build.sh isn't
able to identify lua, despite it being in the right path.