Could not find Git / could not find Perl

arnold.braun@gmx.de
Posts: 26
Joined: Wed Dec 20, 2017 9:39 am

Could not find Git / could not find Perl

Postby arnold.braun@gmx.de » Sat Apr 20, 2019 2:47 pm

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

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Could not find Git / could not find Perl

Postby Ritesh » Sun Apr 21, 2019 8:31 am

arnold.braun@gmx.de wrote:
Sat Apr 20, 2019 2:47 pm
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
If you are using Linux Ubuntu Build System then execute below command to install both packeges which are required using root access.

apt-get install perl
apt-get install git

Let me know if you are using any different build system.
Regards,
Ritesh Prajapati

arnold.braun@gmx.de
Posts: 26
Joined: Wed Dec 20, 2017 9:39 am

Re: Could not find Git / could not find Perl

Postby arnold.braun@gmx.de » Mon Apr 22, 2019 12:05 am

Sorry, i forgot to tell. I´m using Windows.

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Could not find Git / could not find Perl

Postby Ritesh » Mon Apr 22, 2019 3:59 am

arnold.braun@gmx.de wrote:
Mon Apr 22, 2019 12:05 am
Sorry, i forgot to tell. I´m using Windows.
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

arnold.braun@gmx.de
Posts: 26
Joined: Wed Dec 20, 2017 9:39 am

Re: Could not find Git / could not find Perl

Postby arnold.braun@gmx.de » Mon Apr 22, 2019 1:10 pm

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

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Could not find Git / could not find Perl

Postby Ritesh » Mon Apr 22, 2019 1:35 pm

arnold.braun@gmx.de wrote:
Mon Apr 22, 2019 1:10 pm
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
Hi,

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Could not find Git / could not find Perl

Postby ESP_Angus » Tue Apr 23, 2019 4:58 am

Hi Arnold,
arnold.braun@gmx.de wrote:
Mon Apr 22, 2019 1:10 pm
I don´t use msys. i just use this installation.

https://github.com/Deous/VSC-Guide-for-esp32
This third party guide is pretty old. It mentions the feature/cmake branch, this branched was merged to master last September.

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.
arnold.braun@gmx.de wrote:
Mon Apr 22, 2019 1:10 pm
for what is perl used ?. because everything works. i just can not upload to spiffs.
ESP-IDF doesn't use Perl directly and I don't think VSCode uses Perl either. However I think Git does use Perl internally.

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.

arnold.braun@gmx.de
Posts: 26
Joined: Wed Dec 20, 2017 9:39 am

Re: Could not find Git / could not find Perl

Postby arnold.braun@gmx.de » Wed Apr 24, 2019 1:16 pm

Ok, thanks.

i will make a new installation with cmake, just in case.

sergiomarina
Posts: 46
Joined: Wed Feb 05, 2020 6:29 pm

Re: Could not find Git / could not find Perl

Postby sergiomarina » Wed Feb 05, 2020 7:01 pm

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.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Could not find Git / could not find Perl

Postby ESP_Angus » Thu Feb 06, 2020 7:21 am

Hi Sergio,
sergiomarina wrote:
Wed Feb 05, 2020 7:01 pm
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)"
You can ignore this line in the log.

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: StanInexeon and 154 guests