all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [ulm@gentoo.org: Compile failure due to Xaw3d include file issues]
@ 2007-04-18  2:03 Richard Stallman
  0 siblings, 0 replies; only message in thread
From: Richard Stallman @ 2007-04-18  2:03 UTC (permalink / raw)
  To: emacs-devel

Would someone please DTRT and ack?

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 17 Apr 2007 17:18:27 +0200
From: Ulrich Mueller <ulm@gentoo.org>
To: emacs-pretest-bug@gnu.org
Cc: emacs@gentoo.org
Subject: Compile failure due to Xaw3d include file issues

[Resending, since my first message didn't appear on the list for some reason.]

Hi,
not entirely sure if this is really an Emacs bug (or if X.Org is to
blame):

Emacs 22.0.97 compilation fails on a system where:
- - Xaw3d is installed,
- - libXaw is not installed. 

Configure defines HAVE_XAW3D=1 in src/config.h, but in spite of this
include files are expected to be in /usr/include/X11/Xaw
(e.g., Paned.h) that don't exist there (since libX11 is not
installed).

Xaw3d installs its own include files, but they are in
/usr/include/X11/Xaw3d (there is a Paned.h, too).

On the other hand, if I install libXaw on the system and compile Emacs
(the include files are there and compilation succeeds now), ldd or
scanelf show that the libXaw _library_ is not needed:

   $ scanelf -n src/emacs
    TYPE   NEEDED FILE 
   ET_EXEC libXaw3d.so.8,libXmu.so.6,libXt.so.6,libSM.so.6,libICE.so.6,libXext.so.6,libX11.so.6,libncurses.so.5,libm.so.6,libc.so.6 src/emacs 

So a possible workaround is to install in addition libX11 during build
time, while at run time it is not required. This doesn't look like a
clean solution, however.

See also Gentoo bug #174453: <http://bugs.gentoo.org/show_bug.cgi?id=174453>


>From config.log:

     $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --program-suffix=-emacs-22 --without-carbon --without-sound --with-x --without-xpm --with-toolkit-scroll-bars --without-jpeg --without-tiff --without-gif --without-png --with-x-toolkit=athena --without-gtk --with-x-toolkit=lucid --build=i686-pc-linux-gnu

   hostname = a1iulm2
   uname -m = i686
   uname -r = 2.6.20-gentoo-r5
   uname -s = Linux
   uname -v = #1 Tue Apr 10 10:47:47 CEST 2007

Error message from "make bootstrap":

   make[3]: Entering directory `/var/tmp/portage/app-editors/emacs-cvs-22.0.97/work/emacs-22.0.97/lwlib'
   i686-pc-linux-gnu-gcc  -c -D_BSD_SOURCE   -DUSE_LUCID  -D_BSD_SOURCE    -march=pentium-m -O2 -pipe -DHAVE_CONFIG_H -Demacs -I. -I../src -I/var/tmp/portage/app-editors/emacs-cvs-22.0.97/work/emacs-22.0.97/lwlib -I/var/tmp/portage/app-editors/emacs-cvs-22.0.97/work/emacs-22.0.97/lwlib/../src /var/tmp/portage/app-editors/emacs-cvs-22.0.97/work/emacs-22.0.97/lwlib/lwlib.c
   i686-pc-linux-gnu-gcc  -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/var/tmp/portage/app-editors/emacs-cvs-22.0.97/work/emacs-22.0.97/src -D_BSD_SOURCE  -march=pentium-m -O2 -pipe dispnew.c
   /var/tmp/portage/app-editors/emacs-cvs-22.0.97/work/emacs-22.0.97/lwlib/lwlib.c:51:27: error: X11/Xaw/Paned.h: No such file or directory
   make[3]: *** [lwlib.o] Error 1
   make[3]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-22.0.97/work/emacs-22.0.97/lwlib'
   make[2]: *** [really-lwlib] Error 2
   make[2]: *** Waiting for unfinished jobs....
   make[2]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-22.0.97/work/emacs-22.0.97/src'
   make[1]: *** [bootstrap-build] Error 2
   make[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-cvs-22.0.97/work/emacs-22.0.97'
   make: *** [bootstrap] Error 2

(If I do "make -k bootstrap", there is the same issue for src/xmenu.c
and src/xfns.c.)

Ulrich


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-18  2:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-18  2:03 [ulm@gentoo.org: Compile failure due to Xaw3d include file issues] Richard Stallman

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.