[SerialICE] build.sh error - Lua version >= 5.3 not found , despite it being present in /usr/local/bin.

Arpita Biswas arpita.biswas07 at gmail.com
Fri Oct 30 00:15:20 CET 2015


Hi folks,

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" didn't
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.

Thanks,
- Arpita




On Wed, Oct 28, 2015 at 4:57 PM, Arpita Biswas <arpita.biswas07 at gmail.com>
wrote:

> Hi folks,
>
> 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
> support."
>
> 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 build.sh
> 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.
>
> Thanks,
> - Arpita
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.serialice.com/pipermail/serialice/attachments/20151029/42fdf2b1/attachment.html>


More information about the SerialICE mailing list