기술지원 문의

resin을 hp-ux 11에 설치하는데 make에서 에러가 납니다
김영태 / 2003-01-13 00:00

resin을 hp-ux 11에 설치 하는데 에러가 뜨네요
아파치가 리눅스와는 틀리게 깔리더군요~
구조가
adm/      bin/      conf/     etc/      include/  lib/      man/
이런식으로 깔렸습니다.
make 할때 에러가 나더군요.답변부탁드리겠습니다.

[root@myhweb2:/home/resin-2.1.6]# ache-libexec=/home/apache/lib/modules --with-apache-conf=/home/apache/etc                      <
checking build system type... hppa2.0w-hp-hpux11.00
checking host system type... hppa2.0w-hp-hpux11.00
checking target system type... hppa2.0w-hp-hpux11.00
checking for a BSD compatible install... /opt/imake/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
Using Apache configuration /home/apache/etc
Using Apache CFLAGS: -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O
checking for JAVA_HOME... 
/opt/java1.3
checking for JNI in /opt/java1.3/include/hp-ux ... found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/wrapper.pl
config.status: creating src/c/plugin/Makefile
config.status: creating src/c/plugin/common/Makefile
config.status: creating src/c/plugin/nsapi/Makefile
config.status: creating src/c/plugin/apache/Makefile
config.status: creating src/c/plugin/apache2/Makefile
config.status: creating src/c/plugin/resin/Makefile
config.status: creating src/c/plugin/hardcore/Makefile
config.status: creating src/c/plugin/common/version.h
config.status: creating src/c/jni/Makefile
config.status: creating contrib/init.resin
config.status: executing default-1 commands
[root@myhweb2:/home/resin-2.1.6]# make
        (cd src/c/plugin; make)
        for dir in common apache ; do (cd $dir; make); done
        gcc -c  -g -O2 stream.c
        gcc -c  -g -O2 registry.c
        gcc -c  -g -O2 config.c
        gcc -c  -g -O2 memory.c
        /usr/ccs/bin/ld -r -o common.o stream.o registry.o config.o memory.o
        gcc -c  -g -O2 +z stream.c && mv stream.o stream.lo
gcc: +z: No such file or directory
*** Error exit code 1

Stop.
        gcc -c -I/home/apache/include -DRESIN_HOME=\\\"/home/resin-2.1.6\\\" -I../common -g -O2 -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O +z mod_caucho.c && mv mod_caucho.o mod_caucho.lo
gcc: +z: No such file or directory
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
[root@myhweb2:/home/resin-2.1.6]#   

Re:resin을 hp-ux 11에 설치하는데 make에서 에러가 납니다
관리자 / 2003-01-14 00:00

기능을 테스트하시려면 resin을 풀어  resin.conf에서
documentRoot를 적절히 설정하시고 
필요한 CLASS나 Package를 설정하시면
됩니다. 물론 Resin의 기본 웹서버포트도 원하시는 포트로
바꾸시면 되고요.

컴파일은 외부의 웹서버와 연동해서 사용할 때 필요합니다.
아래의 예는 몇가지 체크를 해보아야 할 듯 합니다.
perl 버전 5.6 이상.
컴파일러 
make
library

컴파일러는 ANSI C면 되지만 GCC가 좋구요.
make 는 gmake 가 좋습니다.

기본적으로 make; make install이면 되지만
이렇게 안될 때는 위의 상황을 체크한 후 
필요한 부분을 추가하고 다시 컴파일 해보세요.
경우에 따라 Makefile의 옵션을 수정해야 합니다.


--김영태 님의 글 [2003-01-13 17:02:30]
>resin을 hp-ux 11에 설치 하는데 에러가 뜨네요
아파치가 리눅스와는 틀리게 깔리더군요~
구조가
adm/      bin/      conf/     etc/      include/  lib/      man/
이런식으로 깔렸습니다.
make 할때 에러가 나더군요.답변부탁드리겠습니다.

[root@myhweb2:/home/resin-2.1.6]# ache-libexec=/home/apache/lib/modules --with-apache-conf=/home/apache/etc                      <
checking build system type... hppa2.0w-hp-hpux11.00
checking host system type... hppa2.0w-hp-hpux11.00
checking target system type... hppa2.0w-hp-hpux11.00
checking for a BSD compatible install... /opt/imake/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
Using Apache configuration /home/apache/etc
Using Apache CFLAGS: -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O
checking for JAVA_HOME... 
/opt/java1.3
checking for JNI in /opt/java1.3/include/hp-ux ... found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/wrapper.pl
config.status: creating src/c/plugin/Makefile
config.status: creating src/c/plugin/common/Makefile
config.status: creating src/c/plugin/nsapi/Makefile
config.status: creating src/c/plugin/apache/Makefile
config.status: creating src/c/plugin/apache2/Makefile
config.status: creating src/c/plugin/resin/Makefile
config.status: creating src/c/plugin/hardcore/Makefile
config.status: creating src/c/plugin/common/version.h
config.status: creating src/c/jni/Makefile
config.status: creating contrib/init.resin
config.status: executing default-1 commands
[root@myhweb2:/home/resin-2.1.6]# make
        (cd src/c/plugin; make)
        for dir in common apache ; do (cd $dir; make); done
        gcc -c  -g -O2 stream.c
        gcc -c  -g -O2 registry.c
        gcc -c  -g -O2 config.c
        gcc -c  -g -O2 memory.c
        /usr/ccs/bin/ld -r -o common.o stream.o registry.o config.o memory.o
        gcc -c  -g -O2 +z stream.c && mv stream.o stream.lo
gcc: +z: No such file or directory
*** Error exit code 1

Stop.
        gcc -c -I/home/apache/include -DRESIN_HOME=\\\"/home/resin-2.1.6\\\" -I../common -g -O2 -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -O +z mod_caucho.c && mv mod_caucho.o mod_caucho.lo
gcc: +z: No such file or directory
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
[root@myhweb2:/home/resin-2.1.6]#