From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: npostavs@gmail.com, ashish.is@lostca.se, emacs-devel@gnu.org
Subject: Re: Emacs HEAD broken with XPM option in 1b492fa
Date: Mon, 04 Sep 2017 21:30:13 +0300 [thread overview]
Message-ID: <83bmmq2u6i.fsf@gnu.org> (raw)
In-Reply-To: <4c5e3148-ca98-f010-8fa9-f3b02f3eca88@cs.ucla.edu> (message from Paul Eggert on Mon, 4 Sep 2017 10:50:37 -0700)
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Mon, 4 Sep 2017 10:50:37 -0700
> Cc: Noam Postavsky <npostavs@gmail.com>
>
> > It seems like in e88bbd22[2], author (cc'ed) typo-ed (s/X11/noX/):
>
> A comment before that line says:
>
> ### The Cygwin-w32 build uses <noX/xpm.h> instead of <X11/xpm.h>, so
> ### we need to set LDFLAGS accordingly.
>
> so presumably the noX is intentional. Perhaps this depends on Cygwin versions?
> Sorry, I can't be of much help here since I don't use Cygwin.
The OP was evidently compiling for FreeBSD, so I wonder how that
compilation ends up in a Cygwin-specific part of the configure
script. I guess some configure-time logic misfires on FreeBSD?
The relevant part of config.log is this:
configure:14996: checking X11/xpm.h presence
configure:14996: cpp -I/usr/local/include conftest.c
configure:14996: $? = 0
configure:14996: result: yes
configure:14996: checking for X11/xpm.h
configure:14996: result: yes
configure:14998: checking for XpmReadFileToPixmap in -lXpm
configure:15023: cc -o conftest -I/usr/local/include -O2 -g -fstack-protector -fno-strict-aliasing -I/usr/local/include/librsvg-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng16 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -D_THREAD_SAFE -pthread -I/usr/local/include -Wl,-rpath=/usr/local/lib -fstack-protector -L/usr/local/lib conftest.c -lXpm -lX11 -lX11 -lutil >&5
configure:15023: $? = 0
configure:15032: result: yes
configure:15042: checking for XpmReturnAllocPixels preprocessor define
conftest.c:152:10: fatal error: 'noX/xpm.h' file not found
#include "noX/xpm.h"
^~~~~~~~~~~
1 error generated.
configure:15064: result: no
next prev parent reply other threads:[~2017-09-04 18:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-03 21:45 Emacs HEAD broken with XPM option in 1b492fa Ashish SHUKLA
2017-09-04 17:50 ` Paul Eggert
2017-09-04 18:30 ` Eli Zaretskii [this message]
2017-09-04 19:18 ` Ashish SHUKLA
2017-09-04 19:23 ` Ashish SHUKLA
2017-09-05 0:45 ` Ken Brown
2017-09-05 1:48 ` Ken Brown
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=83bmmq2u6i.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=ashish.is@lostca.se \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=npostavs@gmail.com \
/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.