分类: LINUX
2009-07-26 21:41:01
ln -s /usr/kerberos/include/com_err.h /usr/include/
ln -s /usr/kerberos/include/profile.h /usr/include/
ln -s /usr/kerberos/include/krb5.h /usr/include/
之后make通过,make install之后在我设定的/usr/local下并没有预想的git目录,它是直接把可执行文件分别放到了/usr/local/bin/下和/usr/local/libexec/git-core/下。
修改/etc/profile,添加export PATH=/usr/local/bin:/usr/local/libexec/git-core:$PATH,然后更新一下:source /etc/profile就可以了。