[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28893: [bug-gnu-emacs] emacs-26.0.90 minor build issue on OpenIndian
From: |
Nelson H. F. Beebe |
Subject: |
bug#28893: [bug-gnu-emacs] emacs-26.0.90 minor build issue on OpenIndiana |
Date: |
Wed, 18 Oct 2017 14:53:23 -0600 |
I found that the build of emacs-26.0.90 on OpenIndiana (a descendant
of the short-lived OpenSolaris from Sun/Oracle) that is identified as
% cat /etc/release
OpenIndiana Development oi_151.1.9 X86 (powered by illumos)
Copyright 2011 Oracle and/or its affiliates. All rights
reserved.
Use is subject to license terms.
Assembled 17 January 2014
failed at link time because of a missing symbol, tparm.
The configure output shows
checking for library containing tputs... -ltermcap
and the generated src/Makefile has
LIBS_TERMCAP=-ltermcap
The problem is that -lcurses, -ltermcap, and -ltermlib on this system
are NOT complete substitutes of each other.
However, that is wrong, because of these contents:
% nm -D -p /usr/lib/libcurses.so.1 | egrep 'tputs|tparm'
0000117616 T tparm
0000116848 T tparm_p0
0000116976 T tparm_p1
0000117104 T tparm_p2
0000117232 T tparm_p3
0000117360 T tparm_p4
0000117488 T tparm_p7
0000121348 T tputs
% nm -D -p /usr/lib/libtermcap.so.1 | egrep 'tputs|tparm'
0000000000 T tputs
% nm -D -p /usr/lib/libtermlib.so.1 | egrep 'tputs|tparm'
0000117616 T tparm
0000116848 T tparm_p0
0000116976 T tparm_p1
0000117104 T tparm_p2
0000117232 T tparm_p3
0000117360 T tparm_p4
0000117488 T tparm_p7
I restarted the build with
gmake LIBZ='-ltermlib -lz'
and it completed normally, and has been successfully installed.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu -
- 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
- bug#28893: [bug-gnu-emacs] emacs-26.0.90 minor build issue on OpenIndiana,
Nelson H. F. Beebe <=