[Freeswitch-users] modu_lua compile error in freebsd
Michael Jerris
mike at jerris.com
Thu Jun 25 16:09:47 MSD 2015
try setting path for pkg-config
On Thursday, June 25, 2015, Rajil Saraswat <rajil.s at gmail.com> wrote:
> Hello,
>
> I am trying to compile freeswitch in freebsd. The lua package is
> installed on my system, but still freeswitch is unable to find -llua.
>
> Installed lua52 package
> #pkg info -l lua52
> lua52-5.2.4:
> /usr/local/bin/lua52
> /usr/local/bin/luac52
> /usr/local/include/lua52/lauxlib.h
> /usr/local/include/lua52/lua.h
> /usr/local/include/lua52/lua.hpp
> /usr/local/include/lua52/luaconf.h
> /usr/local/include/lua52/lualib.h
> /usr/local/lib/liblua-5.2.a
> /usr/local/lib/liblua-5.2.so
> /usr/local/libdata/pkgconfig/lua-5.2.pc
> /usr/local/man/man1/lua52.1.gz
> /usr/local/man/man1/luac52.1.gz
> /usr/local/share/licenses/lua52-5.2.4/LICENSE
> /usr/local/share/licenses/lua52-5.2.4/MIT
> /usr/local/share/licenses/lua52-5.2.4/catalog.mk
>
> Compile flags have been set
> #echo $CPPFLAGS
> -I/usr/local/include/lua52
> # echo $LDFLAGS
> -L/usr/local/lib -R/usr/local/lib
>
> Compile error
> gmake[4]: Entering directory '/src/freeswitch/src/mod/languages/mod_lua'
> CXXLD mod_lua.la
> /usr/bin/ld: cannot find -llua
> Makefile:761: recipe for target 'mod_lua.la' failed
> gmake[4]: *** [mod_lua.la] Error 1
> gmake[4]: Leaving directory '/src/freeswitch/src/mod/languages/mod_lua'
> Makefile:650: recipe for target 'mod_lua-all' failed
> gmake[3]: *** [mod_lua-all] Error 1
> gmake[3]: Leaving directory '/src/freeswitch/src/mod'
> Makefile:562: recipe for target 'all-recursive' failed
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory '/src/freeswitch/src'
> Makefile:2652: recipe for target 'all-recursive' failed
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory '/src/freeswitch'
> Makefile:1063: recipe for target 'all' failed
> gmake: *** [all] Error 2
>
>
> anything i maybe missing?
>
> Thanks
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <javascript:;>
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <javascript:;>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150625/fc380d6f/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list