ports/125107: graphics/cegui: won't build if lang/lua is installed
Dmitry Marakasov
amdmi3 at amdmi3.ru
Mon Jun 30 00:20:02 UTC 2008
>Number: 125107
>Category: ports
>Synopsis: graphics/cegui: won't build if lang/lua is installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 30 00:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Dmitry Marakasov
>Release: FreeBSD 7.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #1: Wed Jun 25 15:36:22 MSD 2008 root at hades.panopticon:/usr/obj/usr/src/sys/HADES i386
>Description:
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.
>How-To-Repeat:
Install lang/lua, try to build CEGUI
>Fix:
Either
1) Patch configure so it doesn't detect lua51.
or
2) Use lua 5.1 for CEGUI (not tested with real apps)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list