[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] gzip & conftest in latest
From: |
Jude DaShiell |
Subject: |
Re: [Lynx-dev] gzip & conftest in latest |
Date: |
Sat, 31 Mar 2018 15:40:22 -0400 |
For the version of lynx that can't uncompress gzipped pages, I wonder has
anyone put a .mailcap entry together to have gunzip handle those and
display them on the screen? If so, did writing such a .mailcap entry make
any decompression work?
--
On Fri, Mar 30, 2018 at 08:45:20AM -0600, address@hidden wrote:
>
> I just built latest. It saves files as html but names them with gz :
hmm - that might be due to the server-side compression fix (will see).
(The suggested filename - which you can edit - depends on how lynx
sees the remote filename).
> Mar 30 08:22:34 randytool lynx[27842]:
> https://www.nytimes.com/2018/03/30/books/review/perfect-reading-spots.html
> Mar 30 08:22:40 randytool lynx[27842]:
> LYNXDOWNLOAD://Method=-1/File=/tmp/lynxXXXX2OuEtB/L27842-7580TMP.bin/SugFile=perfect-reading-spots.html.gz
>
> config.log records:
>
> configure:1098: PATH=".;."; conftest.sh
> ./configure: line 1099: conftest.sh: command not found
>
> and:
>
> configure:36125: checking if you want to use zlib for decompression of
> some gzip files
> configure:36135: result: yes
> configure:36388: testing Starting FIND_LINKAGE(z,zlib) ...
> configure:36409: gcc -o conftest -O2 -D_FILE_OFFSET_BITS=64
> -D_GNU_SOURCE -D_DEFAULT_SOURCE -DLINUX -D_GNU_SOURCE -D_DEFAULT_SOURCE
> conftest.c -lbz2 -lidn -lncurses -ltinfo -lssl -lcrypto >&5
By default, the configure script tries to find how to compile the program
to support large (>2Gb) files:
--disable-largefile omit support for large files
Doing that requires it to test-compile the more likely possibilities.
For some of those, the header-files will declare symbols such as gzopen64
which don't happen to be in your actual libraries:
> /tmp/ccw22Onp.o: In function `main':
> conftest.c:(.text.startup+0x1c): undefined reference to `gzopen64'
> collect2: error: ld returned 1 exit status
> configure:36412: $? = 1
> configure: failed program was:
> #line 36393 "configure"
> #include "confdefs.h"
...
> I'm 32-bit: does lynx require 64-bit now?
no (and for largefile support, it's been quite a while since I made changes)
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature
_______________________________________________
Lynx-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lynx-dev