Could not find Git / could not find Perl
-
- Posts: 26
- Joined: Wed Dec 20, 2017 9:39 am
Could not find Git / could not find Perl
Hello,
just now i download the current master version and if i compile i get the Warnings
missing PERL_EXECUTABLE
missing GIT_EXECUTABLE
How to do ?
thanks
just now i download the current master version and if i compile i get the Warnings
missing PERL_EXECUTABLE
missing GIT_EXECUTABLE
How to do ?
thanks
Re: Could not find Git / could not find Perl
If you are using Linux Ubuntu Build System then execute below command to install both packeges which are required using root access.arnold.braun@gmx.de wrote: ↑Sat Apr 20, 2019 2:47 pmHello,
just now i download the current master version and if i compile i get the Warnings
missing PERL_EXECUTABLE
missing GIT_EXECUTABLE
How to do ?
thanks
apt-get install perl
apt-get install git
Let me know if you are using any different build system.
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 26
- Joined: Wed Dec 20, 2017 9:39 am
Re: Could not find Git / could not find Perl
Sorry, i forgot to tell. I´m using Windows.
Re: Could not find Git / could not find Perl
Ok. So, Are you using MSYS into Windows? If yes then you can install above packages using below commands
pacman --noconfirm -S --needed perl git
Let me know if any concern with that
Regards,
Ritesh Prajapati
Ritesh Prajapati
-
- Posts: 26
- Joined: Wed Dec 20, 2017 9:39 am
Re: Could not find Git / could not find Perl
Hello, thanks for helping.
I don´t use msys. i just use this installation.
https://github.com/Deous/VSC-Guide-for-esp32
i just need to know which version of perl i have to install and if it is enough to put it into environment path or does it use a special environment var.
for what is perl used ?. because everything works. i just can not upload to spiffs.
thanks again
I don´t use msys. i just use this installation.
https://github.com/Deous/VSC-Guide-for-esp32
i just need to know which version of perl i have to install and if it is enough to put it into environment path or does it use a special environment var.
for what is perl used ?. because everything works. i just can not upload to spiffs.
thanks again
Re: Could not find Git / could not find Perl
Hi,arnold.braun@gmx.de wrote: ↑Mon Apr 22, 2019 1:10 pmHello, thanks for helping.
I don´t use msys. i just use this installation.
https://github.com/Deous/VSC-Guide-for-esp32
i just need to know which version of perl i have to install and if it is enough to put it into environment path or does it use a special environment var.
for what is perl used ?. because everything works. i just can not upload to spiffs.
thanks again
So, You have total 2 requirements in which one is git requirement. That requirement has been resolved or still open?
I think they might be using perl for some parsing mechanism internally but i am not sure for that.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Could not find Git / could not find Perl
Hi Arnold,
If you're using the current master branch of ESP-IDF, I suggest following the entire official CMake Getting Started guide from here:
https://docs.espressif.com/projects/esp ... ted-cmake/
Once those steps are finished try picking up VSCode integration based on the above link, starting from after the ESP-IDF installation part.
You may also want to report the issues to the author of that guide.
EDIT: My colleague reminds me that we build mbedTLS under CMake using their CMakeLists file, and this will use Perl if it's available and warn if it is not available. But the build should succeed in either case.
I think the GIT_EXECUTABLE error may be coming from CMake, but I'm not sure about PERL_EXECUTABLE. It's hard to tell without any context for the error messages.
This third party guide is pretty old. It mentions the feature/cmake branch, this branched was merged to master last September.arnold.braun@gmx.de wrote: ↑Mon Apr 22, 2019 1:10 pmI don´t use msys. i just use this installation.
https://github.com/Deous/VSC-Guide-for-esp32
If you're using the current master branch of ESP-IDF, I suggest following the entire official CMake Getting Started guide from here:
https://docs.espressif.com/projects/esp ... ted-cmake/
Once those steps are finished try picking up VSCode integration based on the above link, starting from after the ESP-IDF installation part.
You may also want to report the issues to the author of that guide.
ESP-IDF doesn't use Perl directly and I don't think VSCode uses Perl either. However I think Git does use Perl internally.arnold.braun@gmx.de wrote: ↑Mon Apr 22, 2019 1:10 pmfor what is perl used ?. because everything works. i just can not upload to spiffs.
EDIT: My colleague reminds me that we build mbedTLS under CMake using their CMakeLists file, and this will use Perl if it's available and warn if it is not available. But the build should succeed in either case.
I think the GIT_EXECUTABLE error may be coming from CMake, but I'm not sure about PERL_EXECUTABLE. It's hard to tell without any context for the error messages.
-
- Posts: 26
- Joined: Wed Dec 20, 2017 9:39 am
Re: Could not find Git / could not find Perl
Ok, thanks.
i will make a new installation with cmake, just in case.
i will make a new installation with cmake, just in case.
-
- Posts: 48
- Joined: Wed Feb 05, 2020 6:29 pm
Re: Could not find Git / could not find Perl
Hello,
I have just create the IDF environment with the std setup https://dl.espressif.com/dl/esp-idf-tools-setup-2.2.exe
Using the script "idf.py menuconfig" or "idf.py build" I get (among several other logs) the following:
"Could NOT find Perl (missing: PERL_EXECUTABLE)"
Unfortunately I have not received yet the ESP and therefore I have not uploaded the build so I can't say if this error is affecting or not.
Should I fix it? If so, could you, please, explain how?
Thank you and best regards, s.
I have just create the IDF environment with the std setup https://dl.espressif.com/dl/esp-idf-tools-setup-2.2.exe
Using the script "idf.py menuconfig" or "idf.py build" I get (among several other logs) the following:
"Could NOT find Perl (missing: PERL_EXECUTABLE)"
Unfortunately I have not received yet the ESP and therefore I have not uploaded the build so I can't say if this error is affecting or not.
Should I fix it? If so, could you, please, explain how?
Thank you and best regards, s.
Re: Could not find Git / could not find Perl
Hi Sergio,
ESP-IDF uses the mbedTLS library and we include it's CMake files directly, and one of them checks for Perl. Nothing in ESP-IDF actually needs Perl, though (it's used by some mbedTLS features that we don't use)! We can't remove this check because mbedTLS is maintained by a third party, not us.
If everything else appears to be succeeding, there is nothing to worry about (and if idf.py is failing, there will be another error message which is related to the actual problem).
You can ignore this line in the log.sergiomarina wrote: ↑Wed Feb 05, 2020 7:01 pmUsing the script "idf.py menuconfig" or "idf.py build" I get (among several other logs) the following:
"Could NOT find Perl (missing: PERL_EXECUTABLE)"
ESP-IDF uses the mbedTLS library and we include it's CMake files directly, and one of them checks for Perl. Nothing in ESP-IDF actually needs Perl, though (it's used by some mbedTLS features that we don't use)! We can't remove this check because mbedTLS is maintained by a third party, not us.
If everything else appears to be succeeding, there is nothing to worry about (and if idf.py is failing, there will be another error message which is related to the actual problem).
Who is online
Users browsing this forum: Baidu [Spider] and 243 guests