[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 17:38:11 -0700

hi thomas,

if i'm reading this correctly, the funcs ARE defined/available, so the lib
WAS config'd with widec support.  true?

That sounds right.


Actually that would have been
rather than
(that option applies to ncurses).  But the --with-screen option is used
mainly to tell it how to find the header files for the given flavor of

It seems that someone's packaged ncursesw as libncurses (which works,
but means that you can't have both libraries).  Since ncursesw stores
more data per cell, it will be slower (I prefer being able to make the

yes - the "(wide)" says that as far as lynx is concerned, it's there.

fair nuf ... then:

    ./configure \
---  --with-screen=ncurses \
+++  --with-screen=ncursesw \
---  --enable-widec

   configure fails w/
   checking for initscr in -lncursesw... no
   checking for -lncursesw in /usr/local/lib... no
   checking for -lncursesw in /usr/lib... no
   configure: error: Cannot link ncursesw library

argh.  nothin's simple ... ;-S

ok, so to test, i'll need to build ncurses ... "pls pardon my verbosity"

i've DL'd the src, applied the rollup (0319) and April patches successfully and am abt to configure.

wondering what the 'typical' config options for Darwin ncurses are, I DL'ed to compare from Darwin8 srces @

% wget
% gnutar zxvf ncurses-15.tar.gz
% cd /usr/ports/ncurses/ncurses-15

% grep configure Makefile
   Configure = mkdir -p $(OBJROOT);cd $(OBJROOT); $(SRCROOT)/ncurses/configure
   --prefix=/usr --with-shared --without-debug --enable-termcap
   --without-cxx-binding --without-cxx --enable-widec --with-abi-version=5.4

so, let's try:

   ./configure \
   --prefix=/usr/local/ncurses \
   --with-shared \
   --with-normal \
   --without-debug \
   --enable-termcap \
   --enable-widec \
   --without-cxx \
   --without-cxx-binding \

configure looks OK w/:

        ** Configuration summary for NCURSES 5.4 20050430:
                 extended funcs: yes
                 xterm terminfo: xterm-new
                  bin directory: /usr/local/ncurses/bin
                  lib directory: /usr/local/ncurses/lib
          include directory: /usr/local/ncurses/include/ncursesw
                  man directory: /usr/local/ncurses/man
         terminfo directory: /usr/local/ncurses/share/terminfo
        ** Include-directory is not in a standard location

subsequent 'make' & 'make install' seem OK

checking/comparing ...

% ls -al /usr/lib/*ncurses* /usr/include/*ncurses*
        lrwxr-xr-x  1 root wheel      8 Apr 30 15:30 /usr/include/ncurses.h -> 
        -rw-r--r--  1 root wheel   1559 Mar 20 15:11 /usr/include/ncurses_dll.h
        -rw-r--r--  1 root wheel 304580 Mar 25 21:30 
        -rw-r--r--  1 root wheel 278948 Mar 20 15:10 /usr/lib/libncurses.5.dylib
lrwxr-xr-x 1 root wheel 20 Apr 30 12:10 /usr/lib/libncurses.dylib -> libncurses.5.4.dylib

% ls -al /usr/local/ncurses/lib/*ncurses* /usr/local/include/ncursesw/*ncurses*
-rw-r--r-- 1 root admin 333288 May 1 17:18 /usr/local/ncurses/lib/libncursesw.5.4.dylib -rw-r--r-- 1 root admin 586352 May 1 17:18 /usr/local/ncurses/lib/libncursesw.a lrwxr-xr-x 1 root admin 21 May 1 17:18 /usr/local/ncurses/lib/libncursesw.dylib -> libncursesw.5.4.dylib

ok, the libncursesW* is there
close enuf for gov't work ...

next, 1st modify path (just in case ...)
   set path = (/usr/local/ncurses/bin $path)

and, now, let's try lynx2-8-6 again ...

configure w/:

   ./configure \
   --prefix=/usr/local \
   --with-ssl=/usr/local/ssl \
   --with-zlib \
   --with-screen=ncursesw --with-curses-dir=/usr/local/ncurses \
   --enable-color-style \
   --enable-default-colors \
   --enable-change-exec \
   --enable-cgi-links \
   --enable-exec-links \
   --enable-exec-scripts \
   --disable-nls \

is OK, as are make/make install.

the binary looks right,

   % which lynx
   % 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.20050430(wide)
        Built on darwin8.0.0 May  1 2005 17:30:37
   % otool -L /usr/local/bin/lynx
           /usr/lib/libz.1.2.2.dylib (compatibility version 1.2.0, current
           version 1.2.2) /usr/local/ncurses/lib/libncursesw.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)

and seems to be linked against the RIGHT (my external build) libncursesw ...

AND, as a bonus, the silly thing works, too ;-)

yay!, i think ...

There are some sites that you can connect to test (I recall finding that
when I was testing a while back).  The ones I bookmarked don't seem to
be reliable though.

1st, i know diddly-squat abt ipv6 ...

that said (while i'm unsuccessfully googling about) how exactly do i do this if my ISP's network ( does NOT (iiuc) currently route IPv6?



reply via email to

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