Friday, June 30, 2017

Re: Failing to do an install in $HOME from git

On Fr, 30 Jun 2017, Tim Chase wrote:

> On 2017-06-30 21:43, Christian Brabandt wrote:
> > On Fr, 30 Jun 2017, Tim Chase wrote:
> >
> > > 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.
> >
> > You need to run configure. I usually do something like this:
> > ,----
> > | ./configure --with-features=huge --enable-luainterp
> > | --enable-python3interp --enable-pythoninterp
> > |
> > --with-python3-config-dir=/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu
> > | --enable-gui=no --prefix=/home/chrisbra/local `----
>
> I tried your suggestion (I don't need other language interpreters for
> my testing)
>
> $ git clean -xf # reset back to fresh repo status
>
> $ ./configure --with-features=huge --enable-gui=no --prefix=$HOME/local

The last line, if run successfully, should show this:
...
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking linker --as-needed support... yes
configure: updating cache auto/config.cache
configure: creating auto/config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h

You might want to check the log file, something is wrong here.
Perhaps you are missing some packages? Did you try running
apt-get build-dep vim-nox

Best,
Christian
--
Oliver's Gesetz:
Erfahrung ist etwas, was man erst unmittelbar nachdem man es brauchte
bekommen kann.

--
--
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: