Git Product home page Git Product logo

Comments (6)

dundargoc avatar dundargoc commented on June 3, 2024

I'm confused. You don't need git to build neovim though. On what distro/os did you build neovim and what error message did you get?

from neovim.

OscarCreator avatar OscarCreator commented on June 3, 2024

Maybe refering to this?

neovim/BUILD.md

Lines 6 to 16 in 4ca6e08

1. Install [build prerequisites](#build-prerequisites) on your system
2. `git clone https://github.com/neovim/neovim`
3. `cd neovim && make CMAKE_BUILD_TYPE=RelWithDebInfo`
- If you want the **stable release**, also run `git checkout stable`.
- If you want to install to a custom location, set `CMAKE_INSTALL_PREFIX`. See also [INSTALL.md](./INSTALL.md#install-from-source).
- On BSD, use `gmake` instead of `make`.
- To build on Windows, see the [Building on Windows](#building-on-windows) section. _MSVC (Visual Studio) is recommended._
4. `sudo make install`
- Default install location is `/usr/local`
- On Debian/Ubuntu, instead of installing files directly with `sudo make install`, you can run `cd build && cpack -G DEB && sudo dpkg -i nvim-linux64.deb` to build DEB-package and install it. This should help ensuring the clean removal of installed files.

from neovim.

clason avatar clason commented on June 3, 2024

It's not a prerequisite, though (in the sense that you need it); you can just as well download the tarball from github.

from neovim.

dundargoc avatar dundargoc commented on June 3, 2024

Aha, I see. You don't need it to build neovim, but you do need it to follow the "Quick Start" section. Thanks for the clarification. We could add a small note that the user may need to install git in the "Quick Start" section rather than adding git as a build dependency, which isn't true.

from neovim.

dundargoc avatar dundargoc commented on June 3, 2024

I've added a small snippet in the quick start section in this PR: #28208. I think it should suffice.

Update: We've decided against due to reasons outlined here.

from neovim.

alanifotis avatar alanifotis commented on June 3, 2024

Yeah I know isn’t necessary to build
I installed debian on my android phone (inside termux terminal emulator) didn’t include git i was copy pasting the commands to build and i got the error message git not found
I needed to install git and I thought it would be a good idea to have git in the build prerequisites
I built the package successfully no problem at all
I am sorry if I wasted your time
I am not trying to get a job by opening this request but for someone less experienced than me ( i am a amateur at this stuff) they will think that the guide isn’t complete
I totally get the point if you don’t know that you need git to run git clone you are not supported 😅😅
thank you in advance

from neovim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.