Failed to builed vim 7.4.1689 in ubuntu 14.04

12 views
Skip to first unread message

Shidong Wang

unread,
Oct 13, 2019, 6:37:59 AM10/13/19
to vim_dev
Hello, I just want to build the vim on my old linux system. but I get following error. I have searched in google, but failed.


gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA   -I/usr/local/include  -O       -o objects/buffer.o buffer.c
In file included from vim.h:1973:0,
                 from buffer.c:28:
globals.h:784:1: error: unknown type name 'JMP_BUF'
 EXTERN JMP_BUF lc_jump_env; /* argument to SETJMP() */
 ^
make[1]: *** [objects/buffer.o] Error 1

--------------
wsdjeg

Tony Mechelynck

unread,
Oct 13, 2019, 6:58:08 AM10/13/19
to vim_dev
Vim 7.4 is old stuff, no more supported. If you want to build your own
Vim, it is recommended that you use the latest source (currently Vim
8.1.2144). If that fails, come back here with not only the error
message but also full details of your configure arguments and of the
versions of the relevant software packages.

See for instance:
http://vim.fandom.com/wiki/Getting_the_Vim_source_with_Mercurial
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm

Best regards,
Tony.

Shidong Wang

unread,
Oct 13, 2019, 7:03:52 AM10/13/19
to vim_dev
Hi Tony, I build vim 7.4.1689 is to test my old vim plugin, because most of my friends are still using ubuntu 16.04, and the default version of vim is 7.4.1609. and here is full build log and system info:

https://travis-ci.org/SpaceVim/SpaceVim/jobs/597219276

all the system info is in it.

and the config is:

install_vim() {
    local URL=https://github.com/vim/vim
    local tag=$1
    local ext=$([[ $tag == "HEAD" ]] && echo "" || echo "-b $tag")
    local tmp="$(mktemp -d)"
    local out="${DEPS}/_vim/$tag"
    mkdir -p $out
    local ncpu=$(awk '/^processor/{n+=1}END{print n}' /proc/cpuinfo)
    git clone --depth 1 --single-branch $ext $URL $tmp
    cd $tmp
    ./configure --enable-fail-if-missing \
        --with-features=huge \
        --enable-pythoninterp \
        --enable-python3interp \
        --enable-luainterp \
        --prefix=${out}
    make -j$ncpu
    make install
}


--------------
wsdjeg

>--
>--
>You received this message from the "vim_dev" 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_dev" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.
>To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAJkCKXtr6VYrNeeGsYJBEeU2cSK2nKDaQzwZ93YLTiVtXKqDRA%40mail.gmail.com.

Christian Brabandt

unread,
Oct 13, 2019, 12:11:27 PM10/13/19
to vim_dev
I can still build Vim 7.4.1689 in my debian development machine. I had a
couple of warnings, but it worked.

It's strange, JMP_BUF is defined in os_unix.h so can you make sure it is
there. Perhaps you are missing some libraries? Did you do `apt-get
build-dep vim-gtk`?

Best,
Christian
--
So verblaßt das Abwesende, und eine neue Liebe tritt ein.
-- Ovid (Liebeskunst)
Reply all
Reply to author
Forward
0 new messages