Sunday, February 20, 2011

Re: if_lua compilation error

> On 2011-02-20 Aleksandar Dimitrov <aleks.dimitrov@googlemail.com> wrote:
>
> Works here:
>
> ./configure \
> --prefix=/home/myname/vimtest/usr \
> --with-features=huge \
> --with-lua-prefix=/home/myname/vimtest/usr \
> --enable-luainterp=dynamic

I've tried it with huge and dynamic, though not both at once.

> Versions:
> Vim 7.3 (2010-08-15) (tar.gz from www.vim.org, not mercurial source)

I'll try that out.

> Lua 5.1.4

Interesting, I get the following error if I'm not using Lua 5.0.3

gcc -L/usr/local/lib -o vim objects/buffer.o objects/blowfish.o
objects/charset.o objects/diff.o objects/digraph.o objects/edit.o
objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o
objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o
objects/getchar.o objects/hardcopy.o objects/hashtab.o objects/if_cscope.o
objects/if_xcmdsrv.o objects/main.o objects/mark.o objects/memfile.o
objects/memline.o objects/menu.o objects/message.o objects/misc1.o
objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o
objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o
objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o
objects/sha256.o objects/spell.o objects/syntax.o objects/tag.o
objects/term.o objects/ui.o objects/undo.o objects/window.o objects/gui.o
objects/gui_gtk.o objects/gui_gtk_x11.o objects/pty.o objects/gui_gtk_f.o
objects/gui_beval.o objects/if_lua.o objects/netbeans.o
objects/version.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng12
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0
-lrt -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses
-lnsl -lselinux -lacl -lattr -lgpm -L/home/adimit/local/vim/lib -llua5.0.3
/usr/bin/ld: cannot find -llua5.0.3
collect2: ld returned 1 exit status
make[1]: *** [vim] Error 1
make[1]: Leaving directory `/home/adimit/var/src/vim/src'
make: *** [first] Error 2

> gcc 3.4.3

I just hope it's not the GCC version. That'd be most unfortunate. Is there a
'recommended' GCC version for building Vim?

> SunOS 5.10, x86

%> uname -a
Linux bylha 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64
GNU/Linux

Thanks for your help. I'll try it with the sources available from the website.
Maybe that's gonna help.

Regards,
Aleks

No comments:

Post a Comment