| 2 | |
| 3 | I got further by doing the following: |
| 4 | * uninstalled lua and installed lua52 |
| 5 | * edited the portfile to depend on lua52 |
| 6 | * `sudo ln -s /opt/local/include/lua-5.2 /opt/local/include/lua5.2` (the configure script seems to be looking for lua 5.2 there) |
| 7 | |
| 8 | {{{ |
| 9 | checking whether to use liblua for the Lua scripting plugin... yes |
| 10 | checking Lua version... Lua 5.2 |
| 11 | checking lua.h usability... no |
| 12 | checking lua.h presence... no |
| 13 | checking for lua.h... no |
| 14 | checking lua5.2/lua.h usability... yes |
| 15 | checking lua5.2/lua.h presence... yes |
| 16 | checking for lua5.2/lua.h... yes |
| 17 | checking lua5.2/lualib.h usability... yes |
| 18 | checking lua5.2/lualib.h presence... yes |
| 19 | checking for lua5.2/lualib.h... yes |
| 20 | checking lua5.2/lauxlib.h usability... yes |
| 21 | checking lua5.2/lauxlib.h presence... yes |
| 22 | checking for lua5.2/lauxlib.h... yes |
| 23 | checking lualib.h usability... no |
| 24 | checking lualib.h presence... no |
| 25 | checking for lualib.h... no |
| 26 | checking for lua5.2/lua.h... (cached) yes |
| 27 | checking for lua5.2/lualib.h... (cached) yes |
| 28 | checking for lua5.2/lauxlib.h... (cached) yes |
| 29 | checking lauxlib.h usability... no |
| 30 | checking lauxlib.h presence... no |
| 31 | checking for lauxlib.h... no |
| 32 | checking for lua5.2/lua.h... (cached) yes |
| 33 | checking for lua5.2/lualib.h... (cached) yes |
| 34 | checking for lua5.2/lauxlib.h... (cached) yes |
| 35 | checking for luaL_openlibs in -llua... no |
| 36 | checking for luaL_openlibs in -llua5.2... no |
| 37 | configure: error: Linking with liblua failed. |
| 38 | Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.12.7" && ./configure --prefix=/opt/local --disable-usr-local --without-adns --with-c-ares=/opt/local --with-pcap=/opt/local --with-ssl=/opt/local --with-zlib=/opt/local --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --disable-warnings-as-errors --with-krb5=/opt/local --with-gnutls=yes --with-libgcrypt-prefix=/opt/local --enable-ipv6 --with-lua=/opt/local --with-libsmi=/opt/local --with-geoip=/opt/local --with-portaudio=/opt/local --with-qt=no --with-gtk2=no --with-gtk3=yes |
| 39 | Exit code: 1 |
| 40 | }}} |