Friday, June 30, 2017

Failing to do an install in $HOME from git

I just pulled down a clone of the git repo, modified src/Makefile to
point `prefix` at $HOME/local but when I go to build, it complains
that it can't find auto/config.h but as far as I can tell, I'm doing
everything according to the install-from-source instructions in
usr_90:

$ git clone https://github.com/vim/vim.git
$ cd vim/src
$ sed -i '/^#prefix/{s/^#//;s@$@/local@}' Makefile
$ mkdir -p $HOME/local/
$ make
:
:
configure: creating auto/config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h
config.status: auto/config.h is unchanged
make: *** No rule to make target 'auto/config.h', needed by
'objects/arabic.o'. Stop.

When I check, there's no auto/config.h file generated by the
configure process, so of course objects/arabic.o can't be built if
it requires auto/config.h to continue. Attempting `touch
auto/config.h` doesn't seem to net me any progress. I find a
config.h.in file but figured `configure` (or `make`) should be using
this file to generate auto/config.h

What am I missing?

This is on Debian Stretch (9.0) if that makes a difference.

Thanks,

-tim




--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment