GNU bug report logs - #2285
23.0.90; during configuration unwanted preference of /usr/X11

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Wed, 11 Feb 2009 11:50:03 UTC

Severity: wishlist

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2285 in the body.
You can then email your comments to 2285 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2285; Package emacs. (Wed, 11 Feb 2009 11:50:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 11 Feb 2009 11:50:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.90; during configuration unwanted preference of /usr/X11
Date: Wed, 11 Feb 2009 12:45:03 +0100
[Message part 1 (text/plain, inline)]
Hello!

When I configure GNU Emacs the script has an unwanted preference of / 
usr/X11 as default of the X11 installation. On my system, Mac OS X  
10.4.11 (Tiger), this is a non-standard (non-Apple) installation of a  
self-compiled X11R7.4 (in Mac OS X 10.5, Leopard, it is the default;  
up to Tiger /usr/X11R6 is the default). Because of reasons I did not  
find yet any version of GNU Emacs built from a mix of /usr/X11 plus  
the usual /usr/X11R6 and /sw trees does not work, although the X11 I  
am running uses /usr/X11. So I have to rename /usr/X11 to /usr/X12,  
or such, that a useful GNU Emacs update gets configured.


In GNU Emacs 23.0.90.1 (powerpc-apple-darwin8.11.0, GTK+ Version 2.14.7)
 of 2009-02-11 on localhost
Windowing system distributor `The X.Org Foundation', version  
11.0.10402000
configured using `configure  '--without-sound' '--without-pop' '-- 
with-dbus' '--with-libotf' '--enable-locallisppath=/Library/ 
Application Support/Emacs/calendar23:/Library/Application Support/ 
Emacs' 'PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/ 
pkgconfig:/usr/lib/pkgconfig' 'CFLAGS=-Wno-pointer-sign -H -pipe - 
fPIC -mcpu=7450 -mtune=7450 -fast -mpim-altivec -ftree-vectorize - 
foptimize-register-move -freorder-blocks -freorder-blocks-and- 
partition -fthread-jumps -fpeephole -fno-crossjumping' 'CXXFLAGS=-no- 
cpp-precomp -I/opt/local/include' 'CPPFLAGS=-no-cpp-precomp -I/opt/ 
local/include' 'LDFLAGS=-dead_strip -multiply_defined suppress -L/opt/ 
local/lib' 'PKG_CONFIG=/opt/local/bin/pkg-config''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Man

Minor modes in effect:
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t


--
Greetings

  Pete
              <\
                \__     O                       __O
                | O\   _\\/\-%                _`\<,
                '()-'-(_)--(_)               (_)/(_)


[Message part 2 (text/html, inline)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2285; Package emacs. (Wed, 11 Feb 2009 14:35:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 11 Feb 2009 14:35:03 GMT) Full text and rfc822 format available.

Message #10 received at 2285 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 2285 <at> debbugs.gnu.org
Subject: Re: 23.0.90; indeterminate X11 "standard dirs"
Date: Wed, 11 Feb 2009 09:31:01 -0500
> So it's not sufficient when configure summarises in the end:
>
>   Where do we find X Windows header files?                Standard dirs
>   Where do we find X Windows libraries?                   Standard dirs
>
> Which are the so-called "standard dirs?"

If you explicitly specify where to find

  ./configure --x-libraries=FOO --x-includes=BAR

then the build process will use that, and the configuration report will
report what you have chosen.  I don't know, off the top of my head,
whether it's possible to extract the information that you want.  It
might be the case that Emacs just lets compiler try to find the header
files and libraries by itself.

I'd prefer not to muck around with the configuration too much during
pretest, but we can look into it after the release.




Severity set to `wishlist' from `normal' Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Wed, 11 Feb 2009 14:35:05 GMT) Full text and rfc822 format available.

Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Wed, 11 Feb 2009 14:35:06 GMT) Full text and rfc822 format available.

Notification sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
bug acknowledged by developer. (Wed, 11 Feb 2009 14:35:06 GMT) Full text and rfc822 format available.

Message #17 received at 2285-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 2285-done <at> debbugs.gnu.org
Subject: Re: 23.0.90; during configuration unwanted preference of /usr/X11
Date: Wed, 11 Feb 2009 09:33:38 -0500
> When I configure GNU Emacs the script has an unwanted preference of /
> usr/X11 as default of the X11 installation. On my system, Mac OS X
> 10.4.11 (Tiger), this is a non-standard (non-Apple) installation of a
> self-compiled X11R7.4

In that case, I suggest using the --x-libraries and --x-includes options
to configure.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2285; Package emacs. (Wed, 11 Feb 2009 16:35:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 11 Feb 2009 16:35:03 GMT) Full text and rfc822 format available.

Message #22 received at 2285 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 2285 <at> debbugs.gnu.org
Subject: Re: 23.0.90; indeterminate X11 "standard dirs"
Date: Wed, 11 Feb 2009 17:31:08 +0100
Am 11.02.2009 um 15:31 schrieb Chong Yidong:

> I don't know, off the top of my head,
> whether it's possible to extract the information that you want.


It once (beginning of October 2008) was the standard to report these  
details:

  Where do we find X Windows header files?                /usr/X11R6/ 
include
  Where do we find X Windows libraries?                   /usr/X11R6/ 
lib

When I pass --x-includes=/opt/local/include --x-libraries=/opt/local/ 
lib to configure it at least reports:

  Where do we find X Windows header files?                /opt/local/ 
include
  Where do we find X Windows libraries?                   /opt/local/ 
lib


Thinking a bit further on my problem, it seems to be adequate to  
state --x-includes=FOO --x-libraries=BAR on a system with more than  
one X11 installation instead of hoping that my compiler flags will  
work it out... But anyway, I would like to see a positive feedback/ 
report!

--
Greetings

  Pete

They that can give up essential liberty to obtain a little temporary  
safety deserve neither liberty nor safety.
		-Benjamin Franklin, Historical Review of Pennsylvania.







Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2285; Package emacs. (Thu, 12 Feb 2009 14:10:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 12 Feb 2009 14:10:03 GMT) Full text and rfc822 format available.

Message #27 received at 2285 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 2285 <at> debbugs.gnu.org
Subject: Re: 23.0.90; indeterminate X11 "standard dirs"
Date: Thu, 12 Feb 2009 09:06:15 -0500
Peter Dyballa <Peter_Dyballa <at> Freenet.DE> writes:

> It once (beginning of October 2008) was the standard to report these
> details:
>
>   Where do we find X Windows header files? /usr/X11R6/include
>   Where do we find X Windows libraries? /usr/X11R6/lib

That's strange.  According to vc-annotate, this part of the configure
code has not changed in about 10 years.

> When I pass --x-includes=/opt/local/include --x-libraries=/opt/local/
> lib to configure it at least reports:
>
>   Where do we find X Windows header files? /opt/local/include
>   Where do we find X Windows libraries? /opt/local/lib

Yes, I know.  In this case, the arguments you pass are directly stored
and reported.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 12 Mar 2009 14:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.