Snort mailing list archives

Re: Error with LuaJIT when compiling 2.9.7.x on OS X with OpenAppID


From: "Carter Waxman (cwaxman)" <cwaxman () cisco com>
Date: Fri, 29 May 2015 14:01:37 +0000

Hi Wil,

Does pkgconfig find LuaJIT when run manually?

Thanks,
Carter

From: Wil Mail <willstmail () gmail com<mailto:willstmail () gmail com>>
Date: Wednesday, May 27, 2015 at 10:18 AM
To: snort-users <snort-users () lists sourceforge net<mailto:snort-users () lists sourceforge net>>
Subject: Re: [Snort-users] Error with LuaJIT when compiling 2.9.7.x on OS X with OpenAppID

Hi,
I posted this a few weeks ago and I don't think I saw any response.  I just tried again with 2.9.7.3 on OS X 10.9, but 
same result.  I don't see a new version of LuaJIT.  Is anyone rolling Snort on OS X with OpenAppID configured?


On Fri, May 8, 2015 at 5:12 PM, Wil Mail <willstmail () gmail com<mailto:willstmail () gmail com>> wrote:
Hello,
I've been trying to compile 2.9.7 and 2.9.7.2 on OS X 10.9, using these configure options:

./configure --prefix=/opt/snort --enable-sourcefire --enable-open-appid

I consistently fail on LuaJIT:

checking for luajit... no

   ERROR!  LuaJIT library not found. For better performance, go get it from
   http://www.luajit.org/.
configure: error: "Fatal!"


My config.log shows luajit_CFLAGS and luajit_LIBS set to empty.  I've tried installing LuaJIT two ways, first by 
following the suggestion of downloading from luajit.org<http://luajit.org> and then through brew.  In the former 
option, I downloaded LuaJIT 2.0.3 tarball, ran a 'make' followed by 'sudo make install.'  That reports a successful 
install to /usr/local.  In the latter option, I just did a 'brew install luajit', which claims to have successfully 
installed luajit-2.0.3_1.

I have a luajit.pc file in /usr/local/lib/pkgconfig, and if I read it correctly it maps includedir and libdir to places 
where libluajit and .h files exist.  My user account running the configure has rights to read all of those directories 
and files.

Snort configure fails I've done a fresh install from source, brew, or both at the same time.  I've also tried running 
the configure with sudo just for fun.

Any ideas what's wrong here?



------------------------------------------------------------------------------
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
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!

Current thread: