ilhan ilhan - 2 months ago 15
Git Question

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

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

From the link below, it says for FreeBSD you should be able to install git simply using

pkg_add -r git

or

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 <arch> with your machine's architecture. (e.g. git.i386,git.i686,git.x86_64)

Further

Comments