unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13883: Emacs pretests: configure --enable-LTO means can't find X
       [not found] <CAKU-rVFwy0hN6HDg29tQXp=WCCR6LfgjQOtEpziTsO_e2ECc5w@mail.gmail.com>
@ 2013-03-05 22:47 ` Glenn Morris
  2013-03-05 23:00   ` David Crick
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2013-03-05 22:47 UTC (permalink / raw)
  To: David Crick; +Cc: 13883


You don't need to be subscribed to report an Emacs bug.
Just mail bug-gnu-emacs@gnu.org.
I forwarded your report as http://debbugs.gnu.org/13883 .
Please reply-to-all with config.log as a (compressed) attachment.



From: David Crick <dacrick <at> gmail.com>
Subject: Emacs pretests: configure --enable-LTO means can't find X

Apologies for sending this direct, but am not on the emacs
mailing list.

It's not a show-stopper since I have -flto in my CFLAGS
anyway (which is all configure does: add -flto to CFLAGS),
but clearly something's screwy so I thought I'd report it.

It happens in both the RC1 and also 24.2.93.1 before it.
(Don't know about anything before that since I never tried
pretest build before .93)

Full report:

if I run ./configure --enable-link-time-optimization it stops
with the following (incorrect) error:

[...]
checking for X... no
checking for X... true
configure: error: You seem to be running X, but no X development libraries
were found.  You should install the relevant development files for X
and for the toolkit you want, such as Gtk+, Lesstif or Motif.  Also
make sure you have development files for image handling, i.e.
tiff, gif, jpeg, png and xpm.
If you are sure you want Emacs compiled without X window support, pass
  --without-x
to configure.

whereas if I just do ./configure it progresses fine:

[...]
checking for X... libraries , headers
[...]


Thanks.

  David.





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

* bug#13883: Emacs pretests: configure --enable-LTO means can't find X
  2013-03-05 22:47 ` bug#13883: Emacs pretests: configure --enable-LTO means can't find X Glenn Morris
@ 2013-03-05 23:00   ` David Crick
  2013-03-05 23:24     ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: David Crick @ 2013-03-05 23:00 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 13883

[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]

Thanks.  Please find config.log attached.

On Tue, Mar 5, 2013 at 10:47 PM, Glenn Morris <rgm@gnu.org> wrote:
>
> You don't need to be subscribed to report an Emacs bug.
> Just mail bug-gnu-emacs@gnu.org.
> I forwarded your report as http://debbugs.gnu.org/13883 .
> Please reply-to-all with config.log as a (compressed) attachment.
>
>
>
> From: David Crick <dacrick <at> gmail.com>
> Subject: Emacs pretests: configure --enable-LTO means can't find X
>
> Apologies for sending this direct, but am not on the emacs
> mailing list.
>
> It's not a show-stopper since I have -flto in my CFLAGS
> anyway (which is all configure does: add -flto to CFLAGS),
> but clearly something's screwy so I thought I'd report it.
>
> It happens in both the RC1 and also 24.2.93.1 before it.
> (Don't know about anything before that since I never tried
> pretest build before .93)
>
> Full report:
>
> if I run ./configure --enable-link-time-optimization it stops
> with the following (incorrect) error:
>
> [...]
> checking for X... no
> checking for X... true
> configure: error: You seem to be running X, but no X development libraries
> were found.  You should install the relevant development files for X
> and for the toolkit you want, such as Gtk+, Lesstif or Motif.  Also
> make sure you have development files for image handling, i.e.
> tiff, gif, jpeg, png and xpm.
> If you are sure you want Emacs compiled without X window support, pass
>   --without-x
> to configure.
>
> whereas if I just do ./configure it progresses fine:
>
> [...]
> checking for X... libraries , headers
> [...]
>
>
> Thanks.
>
>   David.

[-- Attachment #2: config.log.gz --]
[-- Type: application/x-gzip, Size: 12723 bytes --]

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

* bug#13883: Emacs pretests: configure --enable-LTO means can't find X
  2013-03-05 23:00   ` David Crick
@ 2013-03-05 23:24     ` Glenn Morris
  2013-03-06  0:01       ` David Crick
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2013-03-05 23:24 UTC (permalink / raw)
  To: David Crick; +Cc: 13883


What does

echo $MAKE

say for you? If you have set

MAKE='make -j8'

I think that is a mistake.

> lto-wrapper: error trying to exec 'make -j 8': execvp: No such file or directory
> lto-wrapper: make -j 8 returned 255 exit status
> collect2: error: lto-wrapper returned 1 exit status





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

* bug#13883: Emacs pretests: configure --enable-LTO means can't find X
  2013-03-05 23:24     ` Glenn Morris
@ 2013-03-06  0:01       ` David Crick
  0 siblings, 0 replies; 4+ messages in thread
From: David Crick @ 2013-03-06  0:01 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 13883

Yes, that was the problem.

For some strange historical reason I'd always done it
that way.

Have now unset MAKE, and aliased make="make -j 8".

Thanks very much for your help.

   David.

On Tue, Mar 5, 2013 at 11:24 PM, Glenn Morris <rgm@gnu.org> wrote:
>
> What does
>
> echo $MAKE
>
> say for you? If you have set
>
> MAKE='make -j8'
>
> I think that is a mistake.
>
>> lto-wrapper: error trying to exec 'make -j 8': execvp: No such file or directory
>> lto-wrapper: make -j 8 returned 255 exit status
>> collect2: error: lto-wrapper returned 1 exit status





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

end of thread, other threads:[~2013-03-06  0:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAKU-rVFwy0hN6HDg29tQXp=WCCR6LfgjQOtEpziTsO_e2ECc5w@mail.gmail.com>
2013-03-05 22:47 ` bug#13883: Emacs pretests: configure --enable-LTO means can't find X Glenn Morris
2013-03-05 23:00   ` David Crick
2013-03-05 23:24     ` Glenn Morris
2013-03-06  0:01       ` David Crick

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).