构建Qt5 Git / Perl - 路径 [英] Building Qt5 Git / Perl - path
问题描述
我有一个小小的理解问题。
在 Qt Wiki 的写法是必须的:
提示:确保将Perl添加到git之前的路径,因为它提供了过时的版本(Perl 5.8),这会导致脚本失败。
这是否意味着什么?这是否意味着PATH变量?它包含以下内容:
C:\Python33\
C:\ Perl64 \site\\ \\ bin
C:\Perl64\bin
C:\程序文件(x86)\NVIDIA Corporation\PhysX\Common
C:\程序文件(x86) \AMD APP\bin\x86_64
C:\程序文件(x86)\AMD APP\bin\x86
%SystemRoot%\system32
%SystemRoot%
%SystemRoot%\System32\Wbem
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
C:\程序文件(x86)\ATI Technologies \ATI.ACE\Core- Static
C:\程序文件\ Microsoft SQL Server\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \ Autodesk Shared \
C:\程序文件\ Microsoft \ Web平台安装程序\
C:\程序文件(x86)\ Microsoft ASP.NET \ ASP .NET Web Pages \v1.0\
C:\ Program Files(x86)\Windows Kits\8。 0 \Windows性能工具包\
C:\程序文件(x86)\Autodesk®\\ Backburner \
C:\程序文件(x86)\ Microsoft SQL Server \ 100 \Tools\Binn\
C:\程序文件\微软SQL Server\100\Tools\Binn\
C:\程序文件\微软SQL Server\\ \\ 100 \DTS\Binn\
C:\Python33\Lib\site-packages\PyQt4
有人能告诉我如何在git前面设置路径吗?我不知道这意味着什么
问候
如果命令处理程序在当前目录中找不到程序,它将检查 PATH
环境变量中的每个目录并执行找到的第一个目录。 wiki说的是,因为git安装包含过时的Perl版本,如果git目录首先出现在 PATH
列表中,那么它将被选中而不是任何其他已安装版本的Perl。
git
不会出现在您的 PATH
中问题不会出现。在任何情况下, Perl
的条目都在列表的开头附近,因此安装的Perl将在其他任何事情之前被选中。
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
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.
这篇关于构建Qt5 Git / Perl - 路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!