unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6792: 24.0.50; at revision 100946 GNU Emacs with Xaw3d does not compile
@ 2010-08-03 22:09 Peter Dyballa
  2010-08-04  6:50 ` Jan D.
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2010-08-03 22:09 UTC (permalink / raw)
  To: 6792

Hello!

In Mac OS X (here: 10.5.8, Leopard) Xaw3d is not standard. It can be  
installed by the package management systems Fink or MacPorts, then in / 
sw/{include,lib} or /opt/local/{include,lib}. When I change the  
configure script to use GCC_TEST_OPTIONS="-I/sw/include -L/sw/ 
lib" (line #3270) it finds the software, but does not propagate these  
*test* options to active flags. So this error happens:

gcc-4.2 -c    -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include/ 
freetype2   -Wold-style-definition -Wdeclaration-after-statement -Wno- 
pointer-sign   -g -H -Wno-pointer-sign -pipe -fPIC -fno-common - 
mcpu=7450 -mtune=G4 -faltivec -fast -DHAVE_CONFIG_H -Demacs -I. -I../ 
src -I..../emacs/lwlib -I..../emacs/lwlib/../src ..../emacs/lwlib/ 
lwlib.c
. ../src/config.h
.. ../src/s/darwin.h
.. ../src/m/macppc.h
.. /usr/include/string.h
... /usr/include/_types.h
.... /usr/include/sys/_types.h
..... /usr/include/sys/cdefs.h
..... /usr/include/machine/_types.h
...... /usr/include/ppc/_types.h
.. /usr/include/stdlib.h
... /usr/include/available.h
... /usr/include/sys/wait.h
.... /usr/include/sys/signal.h
..... /usr/include/sys/appleapiopts.h
..... /usr/include/machine/signal.h
...... /usr/include/ppc/signal.h
....... /usr/include/ppc/_structs.h
..... /usr/include/sys/_structs.h
...... /usr/include/machine/_structs.h
....... /usr/include/ppc/_structs.h
........ /usr/include/mach/ppc/_structs.h
.... /usr/include/sys/resource.h
..... /usr/include/sys/_structs.h
.... /usr/include/machine/endian.h
..... /usr/include/ppc/endian.h
...... /usr/include/sys/_endian.h
... /usr/include/alloca.h
... /usr/include/machine/types.h
.... /usr/include/ppc/types.h
..... /usr/include/ppc/_types.h
. /usr/include/setjmp.h
.. /usr/include/machine/setjmp.h
... /usr/include/ppc/setjmp.h
.... /usr/include/ppc/_structs.h
. ..../emacs/lwlib/../src/lisp.h
.. /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stdarg.h
.. /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stddef.h
. /usr/include/sys/types.h
.. /usr/include/sys/_structs.h
. /usr/include/stdio.h
. /usr/include/ctype.h
.. /usr/include/runetype.h
. ..../emacs/lwlib/lwlib-int.h
.. ..../emacs/lwlib/lwlib.h
... /usr/X11/include/X11/Intrinsic.h
.... /usr/X11/include/X11/Xlib.h
..... /usr/X11/include/X11/X.h
..... /usr/X11/include/X11/Xfuncproto.h
..... /usr/X11/include/X11/Xosdefs.h
..... /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stddef.h
.... /usr/X11/include/X11/Xutil.h
..... /usr/X11/include/X11/keysym.h
...... /usr/X11/include/X11/keysymdef.h
.... /usr/X11/include/X11/Xresource.h
.... /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stddef.h
.... /usr/X11/include/X11/Core.h
.... /usr/X11/include/X11/Composite.h
.... /usr/X11/include/X11/Constraint.h
.... /usr/X11/include/X11/Object.h
.... /usr/X11/include/X11/RectObj.h
. ..../emacs/lwlib/lwlib-utils.h
. /usr/X11/include/X11/StringDefs.h
.  ..../emacs/lwlib/lwlib-Xlw.h
  ..../emacs/lwlib/lwlib.c:49:29: error: X11/Xaw3d/Paned.h: No such  
file or directory
.  ..../emacs/lwlib/lwlib-Xaw.h
make[2]: *** [lwlib.o] Error 1

and similarly with lwlib-Xaw.c. When I use MacPorts' Xaw3d the C  
header files are found because the non-Apple X11 installation has PC  
files which set CFLAGS to contain -I/opt/local/include.

Xaw3d does not come with a PC file so configure cannot rely on pkg- 
config.

--
Greetings

   Pete

UNIX is user friendly, it's just picky about who its friends are.






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

end of thread, other threads:[~2011-02-12 18:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03 22:09 bug#6792: 24.0.50; at revision 100946 GNU Emacs with Xaw3d does not compile Peter Dyballa
2010-08-04  6:50 ` Jan D.
2010-08-04 15:14   ` Peter Dyballa
2010-08-04 16:43     ` Dan Nicolaescu
2010-08-04 21:52       ` Andreas Schwab
2011-02-12  1:34         ` Glenn Morris
2011-02-12 18:15           ` Peter Dyballa
2010-08-04 22:21       ` Peter Dyballa

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