How can I install Git on FreeBSD after error code 1?

ilhan picture ilhan · Oct 6, 2014 · Viewed 9.2k times · Source

I want to install Git but it gives me error.

I enter make clean install and it says:

===>  git-2.1.0 using GITWEB support requires PERL support.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/git

What can I do?

Note: When I first tried to install Git, I didn't choose PERL, and I choose GITWEB. Then it gave me this error above. Now, I cannot get rid of this error.

Answer

Edward Tomasz Napierala picture Edward Tomasz Napierala · Jan 22, 2015

Simply do "pkg install git", as root.