cegui won't link if lua5.1 (lang/lua) is installed: --- ... if /usr/local/libexec/ccache/cc -DHAVE_CONFIG_H -I/usr/local/include/lua51 -I. -I. -I../../../include -I/usr/local/include/lua51 -I../../../ScriptingModules/CEGUILua/tolua++ -I/usr/local/include -I/usr/local/include/lua50 -O2 -fno-strict-aliasing -pipe -march=pentium4 -MT tolua.o -MD -MP -MF ".deps/tolua.Tpo" -c -o tolua.o `test -f 'tolua.c' || echo './'`tolua.c; then mv -f ".deps/tolua.Tpo" ".deps/tolua.Po"; else rm -f ".deps/tolua.Tpo"; exit 1; fi if /usr/local/libexec/ccache/cc -DHAVE_CONFIG_H -I/usr/local/include/lua51 -I. -I. -I../../../include -I/usr/local/include/lua51 -I../../../ScriptingModules/CEGUILua/tolua++ -I/usr/local/include -I/usr/local/include/lua50 -O2 -fno-strict-aliasing -pipe -march=pentium4 -MT toluabind.o -MD -MP -MF ".deps/toluabind.Tpo" -c -o toluabind.o `test -f 'toluabind.c' || echo './'`toluabind.c; then mv -f ".deps/toluabind.Tpo" ".deps/toluabind.Po"; else rm -f ".deps/toluabind.Tpo"; exit 1; fi /bin/sh ../../../libtool --mode=link /usr/local/libexec/ccache/cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -L/usr/local/lib -L/usr/local/lib/lua50 -o tolua++cegui -L../../../ScriptingModules/CEGUILua/tolua++/.libs tolua.o toluabind.o -lCEGUItoluapp -pthread mkdir .libs /usr/local/libexec/ccache/cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -o tolua++cegui tolua.o toluabind.o -pthread -L/usr/local/lib -L/usr/local/lib/lua50 -L/usr/work/.amd_mnt/hive/pool/ports/graphics/cegui/work/CEGUI-0.6.0/ScriptingModules/CEGUILua/tolua++/.libs /usr/local/lib/libCEGUItoluapp.so -L/usr/local/lib/lua51 -llua -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib tolua.o(.text+0x8e): In function `main': : undefined reference to `luaL_openlibs' *** Error code 1 Stop in /usr/work/.amd_mnt/hive/pool/ports/graphics/cegui/work/CEGUI-0.6.0/ScriptingModules/CEGUILua/tolua++bin. *** Error code 1 --- This happens because cegui's configure erroneously gets include and library paths for wrong version of lua from pkg-config. Fix: Either 1) Patch configure so it doesn't detect lua51. or 2) Use lua 5.1 for CEGUI (not tested with real apps) How-To-Repeat: Install lang/lua, try to build CEGUI
Responsible Changed From-To: freebsd-ports-bugs->oliver Over to maintainer (via the GNATS Auto Assign Tool)
oliver 2008-06-30 17:36:14 UTC FreeBSD ports repository Modified files: graphics/cegui Makefile Log: fix if lua 5.1 is installed PR: ports/125107 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> Revision Changes Path 1.18 +0 -3 ports/graphics/cegui/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed fixed, thanks for filling a PR