all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: 23748@debbugs.gnu.org
Cc: beebe@math.utah.edu
Subject: bug#23748: building emacs-25.0.95 on OpenIndiana
Date: Sat, 11 Jun 2016 17:53:59 -0600	[thread overview]
Message-ID: <CMM.0.96.0.1465689239.beebe@gamma.math.utah.edu> (raw)

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





                 reply	other threads:[~2016-06-11 23:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CMM.0.96.0.1465689239.beebe@gamma.math.utah.edu \
    --to=beebe@math.utah.edu \
    --cc=23748@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.