all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#28893: emacs-26.0.90 minor build issue on OpenIndiana
@ 2017-10-18 20:53 Nelson H. F. Beebe
  2017-10-19  1:39 ` Noam Postavsky
  2017-10-23  5:53 ` Paul Eggert
  0 siblings, 2 replies; 5+ messages in thread
From: Nelson H. F. Beebe @ 2017-10-18 20:53 UTC (permalink / raw)
  To: 28893; +Cc: beebe

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-31 12:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-18 20:53 bug#28893: emacs-26.0.90 minor build issue on OpenIndiana Nelson H. F. Beebe
2017-10-19  1:39 ` Noam Postavsky
2017-10-23  5:53 ` Paul Eggert
2017-10-24 17:03   ` Nelson H. F. Beebe
2017-10-31 12:08     ` Noam Postavsky

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.