Junio C Hamano [off-list ref] writes:
Johannes Schindelin [off-list ref] writes:
quoted
Can't locate Git.pm in @INC (@INC contains:
/home/gene099/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
...
You need to set up your PERL5LIB appropriately, in addition to
what you used to set: PATH and GIT_EXEC_PATH. Something like
this, perhaps:
PERL5LIB=`pwd`/perl/blib/lib:`pwd`/perl/blib/arch/auto/Git
GIT_EXEC_PATH=`pwd`
PATH=`pwd`:/usr/bin:/bin
export GIT_EXEC_PATH PATH PERL5LIB
... and I tested the above -- it works fine.
As we repeatedly discussed ever since we introduced
GIT_EXEC_PATH, running without installation is something
nonstandard and one would need to work a bit harder, like the
above, to make it work, but the good thing is it can be made to
work.