On 04/29/2015 03:03 PM, m_balewski wrote:
Hi,
It's my first mail here, so I would like to welcome you all! wget isgreat (I'm using it
for years) and I wish to try to look into it's codeand maybe do some changens some day :)
But for now, I have a problem... I've just downloaded the sources and trying to compile
as describedin "Compiling From Repository Sources", but after installing all
therequired (not required as well) packages, I'm still getting:./bootstrap: 1: eval: Bad
substitution ./bootstrap: Please install the prerequisite programs
What I need except: autoconf automake flex
perl texinfo gettext libidn2-0
and libiconv?
Regards,
Mariusz
You can debug the script and see if it prints something weird:
/bin/bash -x ./bootstrap
That will most likely generate a lot of output. The interesting stuff should be
in the bottom lines.
If you want to be a bit more precise, you can search and replace all the calls
to eval with:
set -x
eval <whatever>
set +x
"set -x" turns on the debugging and "set +x" turns it off. I know it's
confusing but that's the it works.
If the problem is at the way Bash invokes eval, that should tell it.
--
Regards,
- AJ