[Top][All Lists]

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

Re: [Lynx-dev] lynx under OSX 10.4 (Tiger) fails 'make' @ "h_addr" ; OK

From: OpenMacNews
Subject: Re: [Lynx-dev] lynx under OSX 10.4 (Tiger) fails 'make' @ "h_addr" ; OK under 10.3.X
Date: Sun, 01 May 2005 15:47:00 -0700


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

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 ->

so, how do i tell if the widec patch has been applied?

reading the release notes @ <>, i note:

   Announcing ncurses 5.4
   Interface changes:
   add the remaining functions for X/Open curses wide-character  support.
           These are only available if the library is configured using the
           --enable-widec option.

and checking

% nm /usr/lib/libncurses.5.4.dylib

   965e5a10 T _pecho_wchar
            U _prefresh
            U _wadd_wch
            U _wecho_wchar
            u dyld_stub_binding_helper

            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 \

with the 'temp changes' to netdb.h 'ON', i.e.:

(EDITOR) /usr/include/netdb.h
        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.


% 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


% otool -L /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 ...



reply via email to

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