[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
configure failed with gcc 3.3 on Mac OS X 10.2.6.
From: |
Nozomu Ando |
Subject: |
configure failed with gcc 3.3 on Mac OS X 10.2.6. |
Date: |
Tue, 5 Aug 2003 03:52:04 +0900 |
When using gcc 3.3 on Mac OS X 10.2.6,
"./configure --without-x" failed with the following message.
---
checking build system type... powerpc-apple-darwin6.6
checking host system type... powerpc-apple-darwin6.6
checking for gcc... gcc
:
checking sys/param.h usability... yes
checking sys/param.h presence... no
configure: WARNING: sys/param.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: sys/param.h: proceeding with the preprocessor's
result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
checking for sys/param.h... no
:
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... no
configure: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected
by the preprocessor!
configure: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's
result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
checking for Carbon/Carbon.h... no
:
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... no
configure: WARNING: arpa/inet.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: arpa/inet.h: proceeding with the preprocessor's
result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
checking for arpa/inet.h... no
:
What window system should Emacs use? none
:
---
I changed configure to use "gcc -E -no-cpp-precomp" as $CPP,
then it works fine for me.
I checkd it works with gcc 3.1 and gcc 2.95.2 also.
How about the patch below?
Regards,
Nozomu Ando
---
Index: configure.in
===================================================================
RCS file: /cvsroot/emacs/emacs/configure.in,v
retrieving revision 1.351
diff -u -u -r1.351 configure.in
--- configure.in 29 Jul 2003 17:41:37 -0000 1.351
+++ configure.in 4 Aug 2003 18:06:30 -0000
@@ -1134,7 +1134,7 @@
powerpc-apple-darwin* )
machine=powermac opsys=darwin
# Define CPP as follows to make autoconf work correctly.
- CPP="cc -E -traditional-cpp"
+ CPP="gcc -E -no-cpp-precomp"
;;
## AMD x86-64 Linux-based GNU system
- configure failed with gcc 3.3 on Mac OS X 10.2.6.,
Nozomu Ando <=