# There you have it. Git.pm breaks pull.

4 messages from 2006-07-03 to 2006-07-03. Participants: Johannes Schindelin, Junio C Hamano.
Thread: https://gitlist.dev/t/4747

## Johannes Schindelin, 2006-07-03 04:35

Subject: There you have it. Git.pm breaks pull.
Message-ID: <Pine.LNX.4.63.0607030633120.29667@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0607030633120.29667%40wbgn013.biozentrum.uni-wuerzburg.de

```
Hi,

I do not install git, but run it in place. And now git-pull, the core of 
git, is broken.

Can't locate Git.pm in @INC (@INC contains: 
/home/gene099/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi 
/usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at 
./git-fmt-merge-msg line 14.
BEGIN failed--compilation aborted at ./git-fmt-merge-msg line 14.

I have to run for work, but next thing I'll do with git is rewrite 
git-fmt-merge-msg in C.

Ciao,
Dscho

```

## Junio C Hamano, 2006-07-03 04:42

Subject: Re: There you have it. Git.pm breaks pull.
Message-ID: <7v64ifuwo7.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7v64ifuwo7.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <Pine.LNX.4.63.0607030633120.29667@wbgn013.biozentrum.uni-wuerzburg.de>

```
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

> Can't locate Git.pm in @INC (@INC contains: 
> /home/gene099/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi 
> /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 
> /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at 
> ./git-fmt-merge-msg line 14.
> BEGIN failed--compilation aborted at ./git-fmt-merge-msg line 14.

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

```

## Junio C Hamano, 2006-07-03 04:59

Subject: Re: There you have it. Git.pm breaks pull.
Message-ID: <7v1wt3uvvq.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7v1wt3uvvq.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <7v64ifuwo7.fsf@assigned-by-dhcp.cox.net>

```
Junio C Hamano <junkio@cox.net> writes:

> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
>> 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.

```

## Johannes Schindelin, 2006-07-03 08:39

Subject: Re: There you have it. Git.pm breaks pull.
Message-ID: <Pine.LNX.4.63.0607031039110.29667@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0607031039110.29667%40wbgn013.biozentrum.uni-wuerzburg.de
In-Reply-To: <7v1wt3uvvq.fsf@assigned-by-dhcp.cox.net>

```
Hi,

On Sun, 2 Jul 2006, Junio C Hamano wrote:

> Junio C Hamano <junkio@cox.net> writes:
> 
> > Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> >
> >> Can't locate Git.pm in @INC (@INC contains: 
> >> /home/gene099/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi 
> >>...
> >
> >         PERL5LIB=`pwd`/perl/blib/lib:`pwd`/perl/blib/arch/auto/Git
> >         export PERL5LIB
> 
> ... and I tested the above -- it works fine.

Thank you. It works fine, here, too.

Ciao,
Dscho

```
