Hi Jeffrey,

For fixing your issue with gettext, you want to set the PATH variable, not 
PKG_CONFIG_PATH.

Try this:

export PATH=$HOME/tmp/ok_to_delete:$PATH
./bootstrap

You might need to set PKG_CONFIG_PATH for libraries, but the gettext binary 
will be found via the PATH variable.

For the failure due to lzip, you could simply remove the dependency by deleting 
the relevant line in bootstrap.conf. Lzip is only needed for building a 
distribution tarball so it's not really a dependency. 

On March 30, 2020 1:49:17 AM GMT+02:00, Jeffrey Walton <[email protected]> 
wrote:
>Hi Everyone/Tim,
>
>I'm testing Wget2 on Solaris 11.3.
>
>$ git clone ...
>Receiving objects: 100% (50791/50791), 11.35 MiB | 4.29 MiB/s, done.
>Resolving deltas: 100% (17123/17123), done.
>$ cd wget2
>$ ./bootstrap
>./bootstrap: Error: 'gettext' version == 0.16.1 is too old
>./bootstrap:        'gettext' version >= 0.18.2 is required
>./bootstrap[255]: lzip: not found [No such file or directory]
>./bootstrap: Error: 'lzip' not found
>./bootstrap: Please install the prerequisite programs
>
>I actually have two copies of Gettext that are usable. One is in
>/usr/local, and the other is in $HOME/tmp/ok_to_delete (where I am
>testing Wget2).
>
>This is producing the same error:
>
>if ! PKG_CONFIG_PATH="$HOME/tmp/ok_to_delete/lib/pkgconfig"
>./bootstrap;
>    then
>        echo "Failed to bootstrap Wget2"
>        exit 1
>    fi
>
>Is it possible to relax the test until I can run configure using
>--with-gettext-prefix or setup a PKG_CONFIG_PATH?
>
>Jeff

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to