Re: Wget-1.25.0

Pocket ([email protected] via blfs-support Mailing List) <[email protected]> Sun, 2 Aug 2026 16:20:06 -0400
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1785702037-1024790-7536
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit



On 8/2/26 15:51, Joe Locash ([email protected] via blfs-support Mailing 
List) wrote:
> On 8/2/26 10:31 AM, Pocket ([email protected] via blfs-support 
> Mailing List) wrote:
>> Beyond Linux® From Scratch (systemd Edition) - Version r13.0-1090
>>
>> Looks like wget has an issue with openssl-4 
> 
> <snip>
> 
> Are you applying the sed in the book for the openssl-4 change?
> 
> 
>

This is the "build commands"

cat 358-wget
NEW_LINE='#if !defined OPENSSL_NO_SSL3_METHOD '
NEW_LINE+=' OPENSSL_VERSION_NUMBER < 0x40000000L'
sed -i "/SSL3/c $NEW_LINE" src/openssl.c
unset NEW_LINE
./configure --prefix=/usr      \
             --sysconfdir=/etc  \
             --with-ssl=openssl
make
# Run this as root
make install
# End root commands


This is the error

openssl.c: In function 'ssl_init':
openssl.c:229:38: error: missing binary operator before token '('
   229 | #if !defined OPENSSL_NO_SSL3_METHOD  OPENSSL_VERSION_NUMBER < 
0x40000000L
       |                                      ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:2475: openssl.o] Error 1
make[3]: Leaving directory '/tmp/Build/wget-1.25.0/src'
make[2]: *** [Makefile:2282: all] Error 2
make[2]: Leaving directory '/tmp/Build/wget-1.25.0/src'
make[1]: *** [Makefile:2191: all-recursive] Error 1
make[1]: Leaving directory '/tmp/Build/wget-1.25.0'
make: *** [Makefile:2143: all] Error 2


So yes the sed is applied

grep 'OPENSSL_VERSION_NUMBER < 0x40000000L' src/openssl.c
#if !defined OPENSSL_NO_SSL3_METHOD  OPENSSL_VERSION_NUMBER < 0x40000000L

Looks like it was applied

-- 
Hindi madali ang maging ako


------------=_1785702037-1024790-7536
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page

------------=_1785702037-1024790-7536--