-1
由於缺乏有關在pfSense上安裝gcc的信息,我已經瀏覽了以前的所有相關文章,希望能解決這個安裝問題,但是我不能。爲了編譯和安裝SquidGuard-1.5-beta源碼包,gcc-4.6.2是必需的,但gmake總是會有兩個錯誤。以下是該過程的輸出:在pfSense上安裝gcc
[2.0.1-RELEASE][[email protected]_acad_incorp.fw]/root(10): cd objdir
[2.0.1-RELEASE][[email protected]_acad_incorp.fw]/root/objdir(11): $PWD/../gcc-4.6.2/configure --prefix=/opt/gcc-4.6.2
checking build system type... i386-unknown-freebsd8.1
checking host system type... i386-unknown-freebsd8.1
checking target system type... i386-unknown-freebsd8.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
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 ISO C89... unsupported
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for objdir... .libs
checking for PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
The following languages will be built: c,c++,fortran,java,lto,objc
*** This configuration is not supported in the following subdirectories:
gnattools target-libada target-libgo
(Any other directories should still work fine.)
checking for default BUILD_CONFIG... bootstrap-debug
checking for bison... no
checking for byacc... byacc
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... no
checking for flex... flex
checking for flex... flex
checking for makeinfo... no
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... (cached) /usr/bin/ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for cc... cc
checking for c++... no
checking for g++... no
checking for cxx... no
checking for gxx... no
checking for gcc... gcc
checking for gcj... no
checking for gfortran... no
checking for gccgo... no
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objdump... no
checking for objdump... objdump
checking for ranlib... no
checking for ranlib... ranlib
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... just compiled
checking where to find the target gfortran... just compiled
checking where to find the target gccgo... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
[2.0.1-RELEASE][[email protected]_acad_incorp.fw]/root/objdir(12): gmake
[ -f stage_final ] || echo stage3 > stage_final
gmake[1]: Entering directory `/root/objdir'
gmake[2]: Entering directory `/root/objdir'
gmake[2]: Leaving directory `/root/objdir'
gmake[2]: Entering directory `/root/objdir'
Configuring stage 1 in ./intl
configure: creating cache ./config.cache
checking whether gmake sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for i386-unknown-freebsd8.1-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 ISO C89... unsupported
checking build system type... i386-unknown-freebsd8.1
checking host system type... i386-unknown-freebsd8.1
checking for i386-unknown-freebsd8.1-ranlib... ranlib
checking for library containing strerror... none required
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/root/objdir/intl':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
gmake[2]: *** [configure-stage1-intl] Error 1
gmake[2]: Leaving directory `/root/objdir'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/root/objdir'
gmake: *** [all] Error 2
[2.0.1-RELEASE][[email protected]_acad_incorp.fw]/root/objdir(13):
欣賞任何建議來解決此問題。謝謝。
感謝您的評論沃倫。出於慷慨,你能告訴我怎麼做,因爲我還在學習'如何爬行'? – terry 2013-03-22 07:28:59