Linuxbrew / legacy-linuxbrew

:skull: This repository is defunct, because it has been split into https://github.com/Linuxbrew/brew and https://github.com/Linuxbrew/homebrew-core
http://linuxbrew.sh
Other
2.23k stars 297 forks source link

vim not getting build #1104

Closed schizoidcock closed 7 years ago

schizoidcock commented 8 years ago

Im trying to install vim with brew and im getting make error everytime that i try to install, i had no problems with other packages like python or gcc, i run brew doctor and i had no issue at all

https://gist.github.com/anonymous/235fcb55542a13100af2ce1ea4810da2

this is the console error

brew install vim
==> Downloading https://github.com/vim/vim/archive/v7.4.1755.tar.gz
Already downloaded: /home/schizoidcock/.cache/Homebrew/vim-7.4.1755.tar.gz
==> ./configure --prefix=/home/schizoidcock/.linuxbrew --mandir=/home/schizoidco
==> make
Last 15 lines from /home/schizoidcock/.cache/Homebrew/Logs/vim/02.make:
cd src && make first
make[1]: Entering directory '/tmp/vim-20160501-24468-1o5b2tj/vim-7.4.1755/src'
mkdir objects
CC="/usr/bin/gcc -Iproto -DHAVE_CONFIG_H   -isystem/home/schizoidcock/.linuxbrew/include    " srcdir=. sh ./osdef.sh
creating auto/pathdef.c
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c
/usr/bin/perl  -prototypes -typemap \
    /usr/share/perl5/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
Unrecognized switch: -rototypes  (-h will show valid options).
Makefile:2659: recipe for target 'auto/if_perl.c' failed
make[1]: *** [auto/if_perl.c] Error 25
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/vim-20160501-24468-1o5b2tj/vim-7.4.1755/src'
Makefile:26: recipe for target 'first' failed
make: *** [first] Error 2
sjackman commented 8 years ago
/usr/bin/perl  -prototypes -typemap \
    /usr/share/perl5/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
Unrecognized switch: -rototypes  (-h will show valid options).
sjackman commented 8 years ago

Please report /usr/bin/perl --version Try brew install perl vim

alyssais commented 7 years ago

I got this error with v5.18.2

sjackman commented 7 years ago

Please open a new issue over at https://github.com/Linuxbrew/homebrew-core/issues