2011-08-01 13 views
0

はOTP14BO3のために./configureを実行していました。出力の一部はここにある:config.logの内容のErlang/OTP ./configure failure開いているSolaris上のSolaris

 
Ignoring the --cache-file argument since it can cause the system to be erroneously configured 
Disabling caching 
checking build system type... i386-pc-solaris2.11 
checking host system type... i386-pc-solaris2.11 
checking for gcc... gcc 
checking for C compiler default output file name... a.out 
checking whether the C compiler works... yes 
checking whether we are cross compiling... no 
checking for suffix of executables... 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking for gcc option to accept ANSI C... none needed 
checking for g++... g++ 
checking whether we are using the GNU C++ compiler... yes 
checking whether g++ accepts -g... yes 
checking for ld... ld 
checking for GNU make... yes (gmake) 
checking for a BSD-compatible install... /usr/bin/ginstall -c 
checking whether ln -s works... yes 
checking for ranlib... ranlib 
checking ERTS version... 5.8.4 
checking OTP release... R14B03 
configure: creating ./config.status 
config.status: creating Makefile 
config.status: creating make/emd2exml 
configure: configuring in lib 
configure: running /bin/sh '/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib/configure' --prefix=/usr/local --cache-file=/dev/null --srcdir=/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib 
configure: creating ./config.status 
configure: configuring in snmp/. 
configure: running /bin/sh '/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib/snmp/./configure' --prefix=/usr/local '--prefix=/usr/local' '--cache-file=/dev/null' '--srcdir=/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib' --cache-file=/dev/null --srcdir=/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib/snmp/. 
checking build system type... i386-pc-solaris2.11 
checking host system type... i386-pc-solaris2.11 
checking for perl... perl 
configure: creating ./config.status 
config.status: creating mibs/Makefile 
configure: configuring in common_test/. 
configure: running /bin/sh '/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib/common_test/./configure' --prefix=/usr/local '--prefix=/usr/local' '--cache-file=/dev/null' '--srcdir=/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib' --cache-file=/dev/null --srcdir=/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib/common_test/. 
checking build system type... i386-pc-solaris2.11 
checking host system type... i386-pc-solaris2.11 
configure: creating ./config.status 
config.status: creating priv/i386-pc-solaris2.11/Makefile 
configure: configuring in diameter/. 
configure: running /bin/sh '/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib/diameter/./configure' --prefix=/usr/local '--prefix=/usr/local' '--cache-file=/dev/null' '--srcdir=/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib' --cache-file=/dev/null --srcdir=/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib/diameter/. 
checking build system type... i386-pc-solaris2.11 
checking host system type... i386-pc-solaris2.11 
checking for a BSD-compatible install... /usr/bin/ginstall -c 
checking how to create a directory including parents... /usr/bin/ginstall -c -d 
configure: creating ./config.status 
config.status: creating Makefile 
config.status: creating src/app/diameter.mk 
config.status: creating make/i386-pc-solaris2.11/rules.mk 
configure: configuring in erl_interface/. 
configure: running /bin/sh '/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib/erl_interface/./configure' --prefix=/usr/local '--prefix=/usr/local' '--cache-file=/dev/null' '--srcdir=/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib' --cache-file=/dev/null --srcdir=/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib/erl_interface/. 
checking build system type... i386-pc-solaris2.11 
checking host system type... i386-pc-solaris2.11 
checking for gcc... gcc 
checking for C compiler default output file name... a.out 
checking whether the C compiler works... yes 
checking whether we are cross compiling... no 
checking for suffix of executables... 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking for gcc option to accept ANSI C... none needed 
checking how to run the C preprocessor... /lib/cpp 
configure: error: C preprocessor "/lib/cpp" fails sanity check 
See `config.log' for more details. 
configure: error: /bin/sh '/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib/erl_interface/./configure' failed for erl_interface/. 
configure: error: /bin/sh '/export/home/muzaaya/Desktop/software/otp_src_R14B03/lib/configure' failed for lib 

一部です:

 
configure:2455: gcc -Ae -c -g -O2 conftest.c >&5 
:0:1: error: missing '(' after predicate 
conftest.c:10:19: fatal error: stdio.h: No such file or directory 
compilation terminated. 
configure:2461: $? = 1 
configure: failed program was: 
| /* confdefs.h. */ 

そのが不足しているヘッダファイルがあることを言って。どうすればこの問題を回避できますか?

答えて

1

ソースのどこかに構文エラーがあるようですので、あなたのヘッダーファイルはおそらくそこにあります.GCCはときどきスマートではなく、無関係のエラーをスローします。

何人かのグーグルがthisを明らかにしました。どうやら、ちょっと周りを見詰める必要があります。試してみましたか?

+0

まだ、ありがとうNeves –