기술지원 문의

레진 설치시 에러...
김영출 / 2003-09-25 00:00

본 사이트에서 resin-2.1.10(UNIX용)을 다운 받아서..
IBM 서버 (OS: AIX 5)에 설치할려고 하는데..

1. tar xvzf   으로 압축을 풀고... 
2. ./configure --with-apache=/usr/local/apache  아파치로 설정을 잡아주고...
3. make 를 실행시켰는데..

아래와 같은 에러가 나면서 더이상 진행이 안됩니다...

confiure 시에는 에러가 없었는데.. 뭐가 문젠지 잘 모르겠네요 -.ㅡ;;


============================================================================================
# make
(cd src/c/plugin; make)
make[1]: Entering directory `/usr/local/resin-2.1.10/src/c/plugin
for dir in common apache ; do (cd $dir; make); done
make[2]: Entering directory `/usr/local/resin-2.1.10/src/c/plugin/common
gcc -c  -g -O2 stream.c
stream.c: In function `cse_connect:
stream.c:345: warning: passing arg 5 of `getsockopt from incompatible pointer type
gcc -c  -g -O2 registry.c
gcc -c  -g -O2 config.c
gcc -c  -g -O2 memory.c
gcc -r -o common.o stream.o registry.o config.o memory.o
gcc -c  -g -O2 -bexpall stream.c && mv stream.o stream.lo
gcc: installation problem, cannot exec `cpp0: A file or directory in the path name does not exist.
gcc: file path prefix `/usr/local/lib/gcc-lib/expall/2.95.3/ never used
make[2]: *** [stream.lo] Error 1
make[2]: Leaving directory `/usr/local/resin-2.1.10/src/c/plugin/common
make[2]: Entering directory `/usr/local/resin-2.1.10/src/c/plugin/apache
gcc -c -I/usr/local/apache/include -DRESIN_HOME=\\\"/usr/local/resin-2.1.10\\\" -I../common -g -O2  -bexpall mod_caucho.c && mv mod_caucho.o mod_caucho.lo
gcc: installation problem, cannot exec `cpp0: A file or directory in the path name does not exist.
gcc: file path prefix `/usr/local/lib/gcc-lib/expall/2.95.3/ never used
make[2]: *** [mod_caucho.lo] Error 1
make[2]: Leaving directory `/usr/local/resin-2.1.10/src/c/plugin/apache
make[1]: *** [plugins] Error 2
make[1]: Leaving directory `/usr/local/resin-2.1.10/src/c/plugin
make: *** [all] Error 2

Re:레진 설치시 에러...
관리자 / 2003-09-29 00:00

IBM AIX에서 아파치와 Resin을 연동하기위해
Plugin을 컴파일하는데 문제가 있으신가 보네요.

메세지 내용으로 보아선 일단
GCC에서 적절한 라이브러리를 이용하지 못하는 것
같습니다.
gcc: file path prefix `/usr/local/lib/gcc-lib/expall/2.95.3/ never used

또한 cpp0를 찾지 못하는 것 같네요.


--김영출 님의 글 [2003-09-25 19:04:14]
>본 사이트에서 resin-2.1.10(UNIX용)을 다운 받아서..
IBM 서버 (OS: AIX 5)에 설치할려고 하는데..

1. tar xvzf   으로 압축을 풀고... 
2. ./configure --with-apache=/usr/local/apache  아파치로 설정을 잡아주고...
3. make 를 실행시켰는데..

아래와 같은 에러가 나면서 더이상 진행이 안됩니다...

confiure 시에는 에러가 없었는데.. 뭐가 문젠지 잘 모르겠네요 -.ㅡ;;


============================================================================================
# make
(cd src/c/plugin; make)
make[1]: Entering directory `/usr/local/resin-2.1.10/src/c/plugin
for dir in common apache ; do (cd $dir; make); done
make[2]: Entering directory `/usr/local/resin-2.1.10/src/c/plugin/common
gcc -c  -g -O2 stream.c
stream.c: In function `cse_connect:
stream.c:345: warning: passing arg 5 of `getsockopt from incompatible pointer type
gcc -c  -g -O2 registry.c
gcc -c  -g -O2 config.c
gcc -c  -g -O2 memory.c
gcc -r -o common.o stream.o registry.o config.o memory.o
gcc -c  -g -O2 -bexpall stream.c && mv stream.o stream.lo
gcc: installation problem, cannot exec `cpp0: A file or directory in the path name does not exist.
gcc: file path prefix `/usr/local/lib/gcc-lib/expall/2.95.3/ never used
make[2]: *** [stream.lo] Error 1
make[2]: Leaving directory `/usr/local/resin-2.1.10/src/c/plugin/common
make[2]: Entering directory `/usr/local/resin-2.1.10/src/c/plugin/apache
gcc -c -I/usr/local/apache/include -DRESIN_HOME=\\\"/usr/local/resin-2.1.10\\\" -I../common -g -O2  -bexpall mod_caucho.c && mv mod_caucho.o mod_caucho.lo
gcc: installation problem, cannot exec `cpp0: A file or directory in the path name does not exist.
gcc: file path prefix `/usr/local/lib/gcc-lib/expall/2.95.3/ never used
make[2]: *** [mod_caucho.lo] Error 1
make[2]: Leaving directory `/usr/local/resin-2.1.10/src/c/plugin/apache
make[1]: *** [plugins] Error 2
make[1]: Leaving directory `/usr/local/resin-2.1.10/src/c/plugin
make: *** [all] Error 2