Re: Compile vim with perl
On Friday, April 11, 2014 8:41:48 PM UTC+12, Егор wrote: checking if compile and link flags for Perl are sane... no PERL DISABLED configure runs some perl commands to find the right compiler and linker options to use for perl. Then, it uses these options to compile a dummy programme using them and checks if the compile and link was successful, and for you it wasn't. On my Kubuntu 13.10 with perl v5.14.2, these commands are run, with their output: $ perl -MConfig -e 'print $Config{privlibexp}' /usr/share/perl/5.14 $ perl -MExtUtils::Embed -e 'ccflags;perl_inc;print\n' -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE $ perl -MExtUtils::Embed -e 'ldopts' -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lc -lcrypt $ perl -MExtUtils::Embed -e 'ccdlflags' -Wl,-E You might try running these to see if their output is reasonable, or informative. I suspect you have a difficulty with your perl install. (Of course, it's easy for me because the gvim in the Ubuntu repositories is compiled with +perl, so the packagers have already sorted it all out for me.) Regards, John Little -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Compile vim with perl
Need to use perl in vimscript. My system vim on :echo has('per') prints 0. I hav no expirience in compiling vim so can anyone help me to buil vim with perl? -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Compile vim with perl
Hi Erop, On Fri, 11 Apr 2014 10:59:48 +0300 Егор negr...@mail.ru wrote: Need to use perl in vimscript. My system vim on :echo has('per') prints 0. I hav no expirience in compiling vim so can anyone help me to buil vim with perl? I'm using the following script to build perl: #!/bin/bash set -x ./configure $@ --prefix=$HOME/apps/vim \ --enable-fail-if-missing \ --with-features=huge \ --enable-perlinterp --enable-pythoninterp --enable-rubyinterp \ --enable-tclinterp \ Vim uses a standard ./configure/autoconf setup. Also see the links here: https://duckduckgo.com/?q=how%20to%20build%20vim Note that you should provide more information about your system and setup where you want to build Vim. Finally see http://www.shlomifish.org/philosophy/computers/netiquette/email/start-new-thread.html regarding how to start a new thread. Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Parody of The Fountainhead - http://shlom.in/towtf Chuck Norris is the reason why OpenBSD is called OpenBSD. They wanted to call it LockedDownBSD but couldn't find a way to keep Chuck Norris out! (By Andrew Brehm) — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/ Please reply to list if it's a mailing list post - http://shlom.in/reply . -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Compile vim with perl
Hi Erop, On Fri, 11 Apr 2014 11:41:48 +0300 Егор negr...@mail.ru wrote: First problem - during configure got such message checking if compile and link flags for Perl are sane... no PERL DISABLED using this ./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp --enable-luainterp --enable-perlinterp=yes --enable-cscope --prefix=$HOME/apps/vim conf.log Try looking for the problem in configure.log. If need some additional info? say what comand outputs it Please give me the output of uname -a and cat /etc/lsb-release. Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Free (Creative Commons) Music Downloads, Reviews and more - http://jamendo.com/ 95% of Programmers consider 95% of the code they did not write, in the bottom 5%. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.