lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, 2011-04-19 at 20:08 -0400, David Manura wrote:
> On Tue, Apr 19, 2011 at 9:44 AM, Diab Jerius <dj@head.cfa.harvard.edu> wrote:
> >> To avoid a symbol-not-found error on Ubuntu, I had to build with the suggested
> >>
> >>   perl Makefile.PL LUA_INC=-I/usr/include/lua5.1 LUA_LIBS='-llua5.1'
> >
> > Which version of ubuntu? Could you send me the error? I'll try to fix
> > that.
> 
> 10.10.  The problem was that I didn't have ExtUtils::PkgConfig
> installed (apt-get install libextutils-pkgconfig-perl), so the
> detection code in Makefile.PL got skipped, after printing a warning
> that various packages were missing.  "perl Makefile.PL" (without
> arguments) worked fine after installing this package.

Ok.  That's expected behavior. Not optimal though; discovering libraries
on various platforms can be challenging.  There's some newer machinery
to do so in the Perl world; I'll see about incorporating that.