Hello...I am trying to compile this on a Centos7 VirtualBox VM with the make command. I am getting an error:
no terminal library found
checking for tgetent()... configure: error: NOT FOUND!
You need to install a terminal library; for example ncurses.
Or specify the name of the library with --with-tlib.
make: * [auto/config.mk] Error 1
I already have the ncurses library on my system. How do I know that? When I fired the command yum install ncurses, it says already exsits.
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Please help.
Eh, well, this is MacVim, it is for Apple macOS. Technically speaking, Vim part of this repository could be compiled for other supported platform aside from macOS, But it is not intended. I recommend you to visit http://www.vim.org/ .
The reason I'm compiling on the Linux is just incidental. Ultimately the
goal is to scan for security vulnerabilities using hpe fortify, before we
authorize our developers from using it.
Since you said that it can be compiled in any platform as it is written in
C, please look into this and help me go through it successfully before
scanning the code for security vulnerabilities.
On Wed, Mar 22, 2017 at 9:08 PM Kazuki Sakamoto notifications@github.com
wrote:
Eh, well, this is MacVim, it is for Apple macOS. Technically speaking, Vim
part of this repository could be compiled for other supported platform
aside from macOS, But it is not intended. I recommend you to visit
http://www.vim.org/ .—
You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub
https://github.com/macvim-dev/macvim/issues/481#issuecomment-288587322,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEXDyXT79Fv4Eys658CT14yanYUmSH-Bks5rocYkgaJpZM4Ml1o5
.>
Sent from my iPhone
Surya Avantsa
There is no reason for a repo geared around macOS to help you build something on a non-Apple system, just so that you can audit plain Vim, which has its own repo and dev mailing list and lots of people who can help you build on a non-Apple system.
Ok. I got over that by installing ncurses-devel not just ncurses. Now I am getting a syntax error in option.c file.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/option.o option.c
option.c:1948:24: error: ‘PV_MMTA’ undeclared here (not in a function)
(char_u *)NULL, PV_MMTA,
Please understand that as I work for the US Department of Homeland Security and our developers have requested to use this application, I need to be able to compile it before scanning it and letting them use this. So I appreciate your cooperation and suggestions to make it work.
I need to be able to compile it
You cannot compile MacVim on CentOS. I don't know why you keep asking for this.
You might be able to compile a piece of MacVim on CentOS (by passing --disable-gui to ./configure). But (even if that works):
(a) That does you no good, because you will not be able to "scan" the piece that your developers actually want to use, namely the Mac-specific piece that will not compile on CentOS.
And (b) the compiled piece would just be ... plain Vim, which has it's own repo and mailing list for help, and people who can help you build plain Vim on CentOS.
Now, that makes sense. Thank you for your clarification and your patience.