Wireshark-bugs: [Wireshark-bugs] [Bug 7373] New: premature update to Lua 5.2 in macosx-setup.sh
Date: Fri, 15 Jun 2012 21:08:05 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7373

           Summary: premature update to Lua 5.2 in macosx-setup.sh
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: Mac OS X 10.7
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Build Information:
wireshark 1.9.0 (SVN Rev 43278 from /trunk)

Copyright 1998-2012 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.24.10, with Cairo 1.11.2, with Pango 1.28.4, with
GLib 2.30.2, with libpcap, with libz 1.2.6, without POSIX capabilities, without
SMI, without c-ares, without ADNS, with Lua 5.1, without Python, with GnuTLS
2.12.11, with Gcrypt 1.5.0, with MIT Kerberos, without GeoIP, without
PortAudio,
with AirPcap.

Running on Mac OS 10.7.4 (Darwin 11.4.0), with locale en_US.UTF-8, with libpcap
version 1.1.1, with libz 1.2.6, GnuTLS 2.12.11, Gcrypt 1.5.0, without AirPcap.

Built using llvm-gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
2336.1.00).
--
The setup script for OSX was recently updated to download newer lib versions: 

http://anonsvn.wireshark.org/viewvc/trunk/macosx-setup.sh?r1=41551&r2=42687

The Lua version was updated from 5.1.4 to 5.2.0, but this breaks the configure
script, which only checks for Lua 5.1.x.

$ ./configure --with-lua=/path/to/lua5.2
[snip]
checking whether to use liblua for the Lua scripting plugin... yes
checking lua.h usability... yes
checking lua.h presence... yes
checking for lua.h... yes
checking lualib.h usability... yes
checking lualib.h presence... yes
checking for lualib.h... yes
checking lauxlib.h usability... yes
checking lauxlib.h presence... yes
checking for lauxlib.h... yes
checking for luaL_register in -llua... no
checking for luaL_register in -llua5.1... no
configure: error: Linking with liblua failed.

To switch to 5.2.x, the configure script and CMakeLists.txt need an update. It
might also be necessary to update several source files containing #ifdef
HAVE_LUA_5_1.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.