all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#23748: building emacs-25.0.95 on OpenIndiana
@ 2016-06-11 23:53 Nelson H. F. Beebe
  0 siblings, 0 replies; only message in thread
From: Nelson H. F. Beebe @ 2016-06-11 23:53 UTC (permalink / raw)
  To: 23748; +Cc: beebe

I've had considerable success today building emacs-25.0.95 on scores
of different operating system and CPU flavors.

On OpenIndiana (an OpenSolaris descendant), I built with

	env CC=/opt/csw/bin/gcc ./configure && gmake all 

That got as far as the link stage, then died with

	  CCLD     temacs
	Undefined                       first referenced
	 symbol                             in file
	tparm                               terminfo.o

I found that the missing symbol is defined in /usr/lib/libtermlib.so.1,
which is a symlink to /lib/libcurses.so.1, but configure had chosen

	LIBS_TERMCAP=-ltermcap

and that library does not have the tparm symbol.

I noticed that configure.ac chooses among -lcurses, -lncurses,
-ltermcap, -lterminfo, and -ltinfo by testing on the system type,
rather than on the library contents.  Would it not be cleaner and
simpler just to check that, e.g., both tputs() and tparm() are
available in one of those libraries, and select the first one that has
both?

-------------------------------------------------------------------------------
- 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] only message in thread

only message in thread, other threads:[~2016-06-11 23:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-11 23:53 bug#23748: building emacs-25.0.95 on OpenIndiana Nelson H. F. Beebe

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.