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

I want to install Git, but it gives me an error.

I enter make clean install

and he says:

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

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


What can I do?

Note. When I first tried installing Git, I didn't select PERL and I choose GITWEB. Then he gave me this error above. Now I cannot get rid of this error.


source to share

3 answers

From the link below it says that for FreeBSD you can install git simply by using

pkg_add -r git



yum -y install gcc gcc-c++ make gettext-devel expat-devel curl-devel zlib-devel openssl-devel bzip2 readline-devel libpcap-devel git.<arch> 


Replace with <arch>

your machine architecture. (e.g git.i386

. git.i686

,, git.x86_64





Just run "pkg install git" as root.



Using ports


cd /usr/ports/devel/git 
sudo make
sudo make install
sudo make clean




All Articles