Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 May 2016 16:18:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209381] www/lynx fails to find ncurses header
Message-ID:  <bug-209381-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209381

            Bug ID: 209381
           Summary: www/lynx fails to find ncurses header
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: elferdo@gmail.com
                CC: jharris@widomaker.com
                CC: jharris@widomaker.com
             Flags: maintainer-feedback?(jharris@widomaker.com)

www/lynx 2.8.8.2_3_1 fails to compile because it does not find ncurses head=
ers.
Looking at www/lynx/work/lynx2-8-8/config.log, the last failed check is:


configure:21462: cc -c -O2 -pipe -O2 -fno-strict-aliasing -pipe -march=3Dco=
re2
-fstack-protector   -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=3D20011
2L -D_XOPEN_SOURCE=3D600 -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=3D2=
00112L
-D_XOPEN_SOURCE=3D600 -I/usr/local/include/ncurses/ncursesw -I/usr/local/
include/ncurses conftest.c >&5
In file included from configure:21451:
/usr/local/include/ncurses/curses.h:60:10: fatal error: 'ncurses/ncurses_dl=
l.h'
file not found
#include <ncurses/ncurses_dll.h>
         ^
1 error generated.
configure:21465: $? =3D 1
configure: failed program was:
#line 21450 "configure"
#include "confdefs.h"
#include <curses.h>
int
main ()
{
initscr(); tgoto("?", 0,0)
  ;
  return 0;
}
configure:21482: result: none
configure:21486: error: No curses header-files found



The test is not including /usr/local/include, so ncurses/ncurses_dll.h is n=
ot
looked up properly.


The error can be fixed by addding "localbase" to USES in the makefile (don't
know if this is portable enough, though).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209381-13>