Try to search your question here, if you can't find : Ask Any Question Now ?

How do I fix "Can't locate Automake/Struct.pm in @INC" error when building Wget2 code?

HomeCategory: stackoverflowHow do I fix "Can't locate Automake/Struct.pm in @INC" error when building Wget2 code?
Avatarsourav asked 5 months ago

I was trying to build Wget2 according to the manual.

This is the link I’m consulting:

https://gitlab.com/gnuwget/wget2/blob/master/README.md#building-from-git

Here is the instructions from the link:

git clone https://gitlab.com/gnuwget/wget2.git
cd wget2
./bootstrap
# on shell failure try 'bash ./bootstrap'

I’m currently stuck at the ./bootstrap command.
Below is the error I got.

Can't locate Automake/Struct.pm in @INC (you may need to install the Automake::Struct module) (@INC contains: /mingw/share/automake-1.11 /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /c/MinGW/bin/automake-1.11 line 47.
BEGIN failed--compilation aborted at /c/MinGW/bin/automake-1.11 line 47.
./bootstrap: Error: 'automake' not found

./bootstrap: Please install the prerequisite programs

The thing is that I do have Automake/Struct.pm inside /mingw/share/automake-1.11 folder. In other words, ..wget2AutomakeStruct.pm file exists. It still won’t recognize existing files. How can I fix this problem?

I’m working on Windows 10 and used Git Bash.

1 Answers
Best Answer
AvatarAmit answered 5 months ago
Your Answer

10 + 19 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com