hi,
please let me know if/how i can help ... i'm a lynx user, and FAR from being of any real dev use here at this stage, but happy to do what i can.
Well certainly you can be useful (by providing information).
fair nuf =)
Anyway - what would be useful would be to know if there are other header problems with the _POSIX_C_SOURCE defined as in the 2.8.6dev.11 code. Your platform might be able to compile the IPV6 support - but the headers might not work. Same with compiling against wide-character ncurses (though most of the impact there would likely be in building ncursesw).
For lynx, if you add --enable-ipv6, does that build?
For ncurses it's more complicated - you'd have to apply the rollup patch and see if configure --enable-widec configures and builds.
let's see ... i haven't built libncurses, rather using the native install's:
% ls -al /usr/lib/*ncurses* -rw-r--r-- 1 root wheel 304580 Mar 25 21:30 libncurses.5.4.dylib -rw-r--r-- 1 root wheel 278948 Mar 20 15:10 libncurses.5.dylib lrwxr-xr-x 1 root wheel 20 Apr 30 12:10 libncurses.dylib -> libncurses.5.4.dylib
so, how do i tell if the widec patch has been applied?
reading the release notes @ <http://www.gnu.org/software/ncurses/ncurses.html>, i note:
Announcing ncurses 5.4
...
Interface changes:
add the remaining functions for X/Open curses wide-character support.
pecho_wchar()
slk_wset()
These are only available if the library is configured using the
--enable-widec option.and checking
% nm /usr/lib/libncurses.5.4.dylib
...
libncurses.5.4.dylib(lib_pecho_wchar.o):
965e5a10 T _pecho_wchar
U _prefresh
U _wadd_wch
U _wecho_wchar
u dyld_stub_binding_helper libncurses.5.4.dylib(lib_slk_wset.o):
U _SP
U __DefaultRuneLocale
U ___maskrune
U __nc_doalloc
a65d80a4 b _empty.0
U _free
U _isascii
U _memset
965e5a8c T _slk_wset
U _sprintf
U _strcpy
U _wcrtomb
U _wcslen
U _wcswidth
u dyld_stub_binding_helper
...if i'm reading this correctly, the funcs ARE defined/available, so the lib WAS config'd with widec support. true?
config'ing lynx2.8.6dev.11 w/ BOTH ip6 & widec options as:
./configure \ --prefix=/usr/local \ --with-ssl=/usr/local/ssl \ --with-zlib \ --with-screen=ncurses \ --enable-color-style \ --enable-default-colors \ --enable-change-exec \ --enable-cgi-links \ --enable-exec-links \ --enable-exec-scripts \ --disable-nls \ --enable-ipv6 \ --enable-widec
with the 'temp changes' to netdb.h 'ON', i.e.:
=====================================
(EDITOR) /usr/include/netdb.h
@115
struct hostent {
char *h_name; /* official name of host */
char **h_aliases; /* alias list */
int h_addrtype; /* host address type */
int h_length; /* length of address */
char **h_addr_list; /* list of addresses from name server */
--- #ifndef _POSIX_C_SOURCE
#define h_addr h_addr_list[0] /* address, for backward compatiblity */
--- #endif /* !_POSIX_C_SOURCE */
};
=====================================
'make' & 'make install' complete OK.
checking:
% lynx -version Lynx Version 2.8.6dev.11 (05 Jan 2005) libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 0.9.7g, ncurses 5.4.20040208(wide) Built on darwin8.0.0 May 1 2005 15:36:05
and:
% otool -L /usr/local/bin/lynx
/usr/local/bin/lynx:
/usr/lib/libz.1.2.2.dylib (compatibility version 1.2.0, current
version 1.2.2) /usr/lib/libncurses.5.4.dylib (compatibility version
5.4.0, current version 5.4.0) /usr/local/ssl/lib/libssl.0.9.7.dylib
(compatibility version 0.9.0, current version 0.9.7)
/usr/local/ssl/lib/libcrypto.0.9.7.dylib (compatibility version
0.9.0, current version 0.9.7) /usr/lib/libmx.A.dylib (compatibility
version 1.0.0, current version 92.0.0) /usr/lib/libSystem.B.dylib
(compatibility version 1.0.0, current version 88.0.0)seem to indicate that widec support is ON.
as for IP6 support, yes it compiles, but not sure how to test ...
hth,
richard
_______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev
