unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 23641@debbugs.gnu.org, "Nelson H. F. Beebe" <beebe@math.utah.edu>
Subject: bug#23641: emacs-25.0.94 build feedback
Date: Mon, 30 May 2016 19:01:23 -0600	[thread overview]
Message-ID: <CMM.0.96.0.1464656483.beebe@gamma.math.utah.edu> (raw)
In-Reply-To: <83d1o4yl9x.fsf@gnu.org>

I wrote  about a build problem of emacs-25.0.94 on FreeBSD 11

>> ...
>> > Here is what I get:
>> > 
>> >       make distclean
>> >       ./configure --with-rsvg=no && make
>> >       ...
>> >       /usr/local/lib/libgio-2.0.so.0: undefined reference to `sendmmsg@FBSD_1.4'
>> >       collect2: error: ld returned 1 exit status
>> 

and Eli Zaretskii responded

>> Then this is the list of other suspects:
>> 
>>   imagemagick
>>   dbus
>>   gconf
>> 
>> I think you need to disable all of them (and rsvg as well) to get rid
>> of libgio.
>> ...

I therefore tried this:

	./configure --with-{rsvg,dbus,gconf,imagemagick}=no && make

That led to a successful build!

Compared to my earlier reported successful build using --without-all,
the newly-built emacs has 62 shared libraries, whereas the previous
one had only 30.  I have therefore installed the new build.

It might be useful to document the dependence of -lgio on those four
packages:

	rsvg dbus gconf imagemagick

because that dependence is not obvious.  Alternatively, add a
configure-time --without-gio option that suppresses those four
packages.

I don't view this as high priority, because the FreeBSD 11 package
system is clearly in error when installation of a library (-lgio) does
not install all of its dependents.

Tomorrow, I'll try a similar build on HardenedBSD 11, a new VM that I
have just finished configuring:

	https://hardenedbsd.org/content/freebsd-and-hardenedbsd-feature-comparisons

-------------------------------------------------------------------------------
- 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-05-31  1:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CMM.0.96.0.1464526263.beebe@gamma.math.utah.edu>
2016-05-29 14:46 ` bug#23641: emacs-25.0.94 build feedback Eli Zaretskii
2016-05-31  1:01   ` Nelson H. F. Beebe [this message]
2016-06-04 15:47     ` Eli Zaretskii
     [not found] <CMM.0.96.0.1464476699.beebe@gamma.math.utah.edu>
2016-05-29  2:35 ` Eli Zaretskii
2016-05-28 18:41 Nelson H. F. Beebe
2016-05-28 19:32 ` Eli Zaretskii
2016-05-28 19:37   ` Eli Zaretskii
2016-05-29 20:23 ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

* 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.1464656483.beebe@gamma.math.utah.edu \
    --to=beebe@math.utah.edu \
    --cc=23641@debbugs.gnu.org \
    --cc=eliz@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).