bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] bootstrap problem


From: Ander Juaristi
Subject: Re: [Bug-wget] bootstrap problem
Date: Thu, 30 Apr 2015 12:26:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]