[Linux ERROR] apache & tomcat connectors 연동 configure중 에러 해결 방법
[Linux] apache & tomcat connectors 연동 configure중 에러 해결 방법
apache & tomcat connectors 연동중 make중
make: *** 타겟이 지정되지 않았고 메이크파일이 없습니다. 멈춤.
에러에 관한 내용입니다.
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
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... 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 dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[root@localhost native]# make && make install
make: *** 타겟이 지정되지 않았고 메이크파일이 없습니다. 멈춤.
[root@localhost native]#
yum -y install gcc-c++ libstdc++-devel
또는
yum -y install gcc*
설치를 해줍니다...
그러면 configure가 에러 없이 잘 끝날겁니다...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
config.status: creating common/list.mk
config.status: creating common/jk_types.h
config.status: creating common/config.h
config.status: executing depfiles commands => 에러 없이 잘 끝났습니다.
[root@localhost native]# make && make install
Making all in common => make가 시작 됩니다.
make[1]: Entering directory `/home/qual/tomcat-connectors-1.2.37-src/native/common'
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -I/usr/local/src/apache/include -DHAVE_CONFIG_H -pthread -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_ajp12_worker.c -o jk_ajp12_worker.lo
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -I/usr/local/src/apache/include -DHAVE_CONFIG_H -pthread -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_connect.c -o jk_connect.lo
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -I/usr/local/src/apache/include -DHAVE_CONFIG_H -pthread -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_msg_buff.c -o jk_msg_buff.lo
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -I/usr/local/src/apache/include -DHAVE_CONFIG_H -pthread -DHAVE_APR -I/usr/include/apr-1 -I/usr/include/apr-1 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -c jk_util.c -o jk_util.lo
'Error 해결 방법' 카테고리의 다른 글
[정보] SuperMicro 보드중 X9SCM-F CMOS 파란화면(블루스크린?)!!!현상 해결 (0) | 2021.10.17 |
---|---|
[Linux] 리눅스 root password 분실시 복구 방법 (0) | 2016.11.08 |
[LINUX ERROR] apache 설치중 SSL/TLS 설치 에러 (0) | 2014.10.19 |
[INTERNET] Gmarket 'If_V3D_init 팝업 에러 (0) | 2014.09.29 |