pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48062: lang/lua fails on Ubuntu Linux
>Number: 48062
>Category: pkg
>Synopsis: lang/lua fails on Ubuntu Linux
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 18 13:15:01 +0000 2013
>Originator: Litvinov Sergey
>Release: Ubuntu Linux
>Organization:
>Environment:
>Description:
lang/lua fails to build with the following error message
libtool: link: gcc -shared -fPIC -DPIC .libs/lapi.o .libs/lcode.o
.libs/lctype.o .libs/ldebug.o .libs/ldo.o .libs/ldump.o .libs/lfunc.o
.libs/lgc.o .libs/llex.o .libs/lmem.o .libs/lobject.o .libs/lopcodes.o
.libs/lparser.o .libs/lstate.o .libs/lstring.o .libs/ltable.o .libs/ltm.o
.libs/lundump.o .libs/lvm.o .libs/lzio.o .libs/lauxlib.o .libs/lbaselib.o
.libs/lbitlib.o .libs/lcorolib.o .libs/ldblib.o .libs/liolib.o .libs/lmathlib.o
.libs/loslib.o .libs/lstrlib.o .libs/ltablib.o .libs/loadlib.o .libs/linit.o
-lm -ldl -ledit -ltinfo -L/home/vital303/pkgsrc/lang/lua/work/.buildlink/lib
-Wl,-E -Wl,-soname -Wl,liblua.so.5 -o .libs/liblua.so.5.0.2
/usr/bin/ld: cannot find -ledit
collect2: error: ld returned 1 exit status
make[2]: *** [liblua.la] Error 1
make[2]: Leaving directory `/home/vital303/pkgsrc/lang/lua/work/lua-5.2.2/src'
It is possibility because of this change
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/lua/Makefile.diff?r1=1.50&r2=1.51
>How-To-Repeat:
Run `bmake build' in lang/lua on Linux
>Fix:
If I do
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index 3ecf16a..df531ec 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -52,6 +52,10 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.??? ${DESTDIR}${PREFIX}/share/doc/lua
${INSTALL_DATA} ${WRKSRC}/doc/*.???? ${DESTDIR}${PREFIX}/share/doc/lua
+.if ${OPSYS} == "Linux"
+.include "../../devel/readline/buildlink3.mk"
+.else
.include "../../mk/readline.buildlink3.mk"
+.endif
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
it compiles
Home |
Main Index |
Thread Index |
Old Index