Re: [Snort-users] --enable-open-appid failing even though luajit is installed
Avery Rozar <[email protected]>
| Newsgroups | gmane.comp.security.ids.snort.devel |
|---|---|
| Message-ID | <CAEoLmm5tj=RpzZ6ZKS9F2ZP8V_j1kXUnzN5ME1vLdTSoh7xZaQ@mail.gmail.com> |
I did see this one but from what I can see freeBSD 10.2 is not using pkg-config, but I could be wrong. Thank you, Avery On Mon, Dec 7, 2015 at 2:03 PM, William S <[email protected]> wrote: > Hi, > Back in May I had issues installing on OS X, with --enable-open-appid > complaining about LuaJIT. I sent my solution to the list. Maybe this will > help? Text from my response: > > """ > Hi, > Well, this is fun. I started picking apart the configure script again to > figure out which pkg-config commands it was running. I then realized I > didn't have pkg-config installed at all, which was actually evidenced in > the script output. Just before the "checking for luajit... no" line, it > also said "checking for pkg-config... no". Further, grepping for > PKG_CONFIG variables in config.log shows that PKG_CONFIG and > PKG_CONFIG_LIBDIR were empty. I installed pkg-config via brew, reran my > configure script with options, and voila. It configures and compiles just > fine! > > To further validate, I uninstalled pkg-config, reran configure, and it > failed as expected. > > Moral of the story - pkg-config is required for the configure script on OS > X, at least when enabling OpenAppID. > > Thanks for the prompting to check on pkg-config. > > > For future reference, this was what my reply was GOING to be before I did > that one last configure after installing pkg-config: > > """ > I believe this means that pkgconfig can find LuaJIT: > > $ pkg-config --libs luajit > -L/usr/local/lib -lluajit-5.1 > > And > > $ pkg-config --list-all | grep -i lua > lua5.2 Lua - An Extensible Extension Language > lua-5.2 Lua - An Extensible Extension Language > luajit LuaJIT - Just-in-time compiler for Lua > lua Lua - An Extensible Extension Language > > > If I'm pulling the right lines from configure script, I think this also > means yes it can find LuaJIT: > > $ pkg-config --print-errors --cflags --libs luajit > -I/usr/local/include/luajit-2.0 -L/usr/local/lib -lluajit-5.1 > """ > > > > > > On Mon, Dec 7, 2015 at 1:56 PM, Y M <[email protected]> wrote: > >> In my case I also had to install lua51 (which may be unnecessary). Also >> you need to set the "luajit_CFLAGS" and "luajit_LIBS" when compiling Snort. >> >> _____________________________ >> From: Avery Rozar <[email protected]> >> Sent: Monday, December 7, 2015 9:53 PM >> Subject: [Snort-users] --enable-open-appid failing even though luajit is >> installed >> To: <[email protected]>, < >> [email protected]> >> >> >> >> I'm trying trying to install Snort 2.8 on FreeBSD with the >> --enable-open-appid configuration option. It's failing complaining >> that luajit is not installed. I did install luajit 2.0.4 from source with >> default options and verified with "which luajit", this is the response >> "/usr/local/bin/luajit". There does not seem to be an option for >> "--with-luajit-libraries=DIR" in the ./configure --help. >> >> checking for luajit... no >> >> ERROR! LuaJIT library not found..... >> >> Am I missing another dependency? >> >> Thanks, >> >> >> Avery >> >> >> >> >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 >> _______________________________________________ >> Snort-users mailing list >> [email protected] >> Go to this URL to change user options or unsubscribe: >> https://lists.sourceforge.net/lists/listinfo/snort-users >> Snort-users list archive: >> http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users >> >> Please visit http://blog.snort.org to stay current on all the latest >> Snort news! >> > > ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ Snort-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!