NetBSD-Bugs archive

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

lib/46793: Can not compile libterminfo

>Number:         46793
>Category:       lib
>Synopsis:       Can not compile libterminfo
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 11 22:30:00 +0000 2012
>Originator:     Bernd Ernesti
>Release:        NetBSD 6.0_BETA2
System: NetBSD 6.0_BETA2
Architecture: i386
Machine: i386

A normal build fails in src/lib/libterminfo and src/tests/lib/libcurses

 dependall ===> libterminfo
 Generating terminfo hash
 Generating termcap hash
 make: don't know how to make tic. Stop

src/lib/libterminfo/Makefile.hash contains this:
 compiled_terms.c: ${TOOL_TIC}
and src/tests/lib/libcurses/Makefile

So the define from /usr/share/mk/ can not work with USETOOLS != yes:
 /usr/share/mk/ tic

Additionally src/lib/libterminfo/genterms will not work if
you do not have your source code in /usr/src. It needs a patch to
set NETBSDSRCDIR in src/lib/libterminfo/Makefile.hash.


 USETOOLS = never

cd src/lib/libterminfo
make dependall


No idea how to deal with the tic issue, but for genterms::

Index: Makefile.hash
RCS file: /cvsroot/src/lib/libterminfo/Makefile.hash,v
retrieving revision
diff -b -u -r1.4.4.1 Makefile.hash
--- Makefile.hash       23 Jun 2012 22:54:57 -0000
+++ Makefile.hash       11 Aug 2012 22:07:25 -0000
@@ -1,6 +1,7 @@
 #      $NetBSD: Makefile.hash,v 2012/06/23 22:54:57 riz Exp $
        TOOL_AWK=${TOOL_AWK:Q} \
        TOOL_SED=${TOOL_SED:Q} \

Home | Main Index | Thread Index | Old Index