* Can't build Emacs 21.3 on AIX 5.1
@ 2004-05-06 14:54 gwinn
2004-05-06 18:50 ` Jason Rumney
0 siblings, 1 reply; 2+ messages in thread
From: gwinn @ 2004-05-06 14:54 UTC (permalink / raw)
I am trying to build Emacs 21.3 on AIX 5.1 and it fails fairly early on
in the make with errors relating to header files. I noticed in the
output from configure that it correctly identifies the platform as
powerpc-ibm-aix5.1.0.0 but a few lines further on I see
checking for AIX... no
This is odd, so I looked in the configure script and it prints that line
when it finds that confdefs.h is missing. In fact my system does not
have that header file (so configure is partly right). This makes me
wonder if the O/S isn't installed completely or correctly or that
something isn't right with header files. Has anyone seen this before?
What is the confdefs test trying to do?
Thanks in advance.
Regards,
Geoff.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can't build Emacs 21.3 on AIX 5.1
2004-05-06 14:54 Can't build Emacs 21.3 on AIX 5.1 gwinn
@ 2004-05-06 18:50 ` Jason Rumney
0 siblings, 0 replies; 2+ messages in thread
From: Jason Rumney @ 2004-05-06 18:50 UTC (permalink / raw)
gwinn@uk.ibm.com writes:
> on in the make with errors relating to header files. I noticed in the
> output from configure that it correctly identifies the platform as
> powerpc-ibm-aix5.1.0.0 but a few lines further on I see
>
> checking for AIX... no
>
> This is odd, so I looked in the configure script and it prints that
> line when it finds that confdefs.h is missing.
confdefs.h should not be missing. The configure script creates
confdefs.h here:
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo > confdefs.h
It prints "checking for AIX... no" when a confdefs.c with the
following contents run through the preprocessor does not contain "yes".
#include "confdefs.h"
#ifdef _AIX
yes
#endif
So it seems that your compiler does not define _AIX.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-06 18:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-06 14:54 Can't build Emacs 21.3 on AIX 5.1 gwinn
2004-05-06 18:50 ` Jason Rumney
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.