Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building Qt5 Git / Perl - path

Tags:

git

perl

qt

I have a little comprehension problem.

In the Qt Wiki is written that I have to:

Hint: Make sure that Perl is added to the path in front of git since that ships an outdated version (Perl 5.8), which will cause the scripts to fail.

But what does this exactly mean? Does it mean the PATH variable? It contains the following items:

C:\Python33\
C:\Perl64\site\bin
C:\Perl64\bin
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files (x86)\AMD APP\bin\x86_64
C:\Program Files (x86)\AMD APP\bin\x86
%SystemRoot%\system32
%SystemRoot%
%SystemRoot%\System32\Wbem
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
C:\Program Files\Common Files\Autodesk Shared\
C:\Program Files\Microsoft\Web Platform Installer\
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\
C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\
C:\Program Files (x86)\Autodesk\Backburner\
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\
C:\Program Files\Microsoft SQL Server\100\Tools\Binn\
C:\Program Files\Microsoft SQL Server\100\DTS\Binn\
C:\Python33\Lib\site-packages\PyQt4

Can someone tell me how to set the path in front of git? I don't know what that means

Regards

like image 951
Michael Brenndoerfer Avatar asked Jan 17 '13 16:01

Michael Brenndoerfer


1 Answers

If the command processor doesn't find a program in the current directory, it will check each of the directories in the PATH environment variable and execute the first one it finds. What the wiki is saying is that, because the git installation contains an outdated version of Perl, if the git directory appears first in the PATH list then it will be chosen instead of any other installed version of Perl.

git doesn't appear in your PATH so the problem doesn't arise. In any case the entries for Perl are right near the beginning of the list, so the installed Perl will be chosen before anything else.

like image 54
Borodin Avatar answered Nov 14 '22 23:11

Borodin