컴파일에 필요한 패키지를 설치안해서 그렇습니다.
설치할때 사용한 배포본에 있는 kernel-headers 패키지를
설치해야 합니다.
참고로 알짜 6.1 은 kernel-headers-2.2.12-20kr 의 이름을 갖고있습니다.
: [root@b01 apache_1.3.12]# make
: ===> src
: make[1]: Entering directory `/usr/local/src/apache_1.3.12'
: make[2]: Entering directory `/usr/local/src/apache_1.3.12/src'
: ===> src/regex
: make[3]: Nothing to be done for `all'.
: <=== src/regex
: ===> src/os/unix
: gcc -c -I../../os/unix -I../../include -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED
: `../../apaci` os.c In file included from /usr/include/sys/socket.h:34,
: from ../../include/ap_config.h:1076,
: from os.c:6:
: /usr/include/bits/socket.h:295: asm/socket.h: 그런 파일이나 디렉토리가 없음
: In file included from /usr/include/sys/ioctl.h:27,
: from ../../include/ap_config.h:1087,
: from os.c:6:
: /usr/include/bits/ioctls.h:24: asm/ioctls.h: 그런 파일이나 디렉토리가 없음
: In file included from /usr/include/sys/ioctl.h:30,
: from ../../include/ap_config.h:1087,
: from os.c:6:
: /usr/include/bits/ioctl-types.h:25: asm/ioctls.h: 그런 파일이나 디렉토리가 없음
: In file included from /usr/include/signal.h:300,
: from ../../include/ap_config.h:1108,
: from os.c:6:
: /usr/include/bits/sigcontext.h:28: asm/sigcontext.h: 그런 파일이나 디렉토리가 없음
: In file included from /usr/include/bits/errno.h:25,
: from /usr/include/errno.h:36,
: from ../../include/ap_config.h:1131,
: from os.c:6:
: /usr/include/linux/errno.h:4: asm/errno.h: 그런 파일이나 디렉토리가 없음
: make[3]: *** [os.o] Error 1
: make[2]: *** [subdirs] Error 1
: make[2]: Leaving directory `/usr/local/src/apache_1.3.12/src'
: make[1]: *** [build-std] Error 2
: make[1]: Leaving directory `/usr/local/src/apache_1.3.12'
: make: *** [build] Error 2
:
:
:
: 원인이 뭔가요? 어떻게 하면 make를 성공적으로 할수 있을까요?
:
: --
: 나 리눅스 사랑할래!!!!<바카사탕 버젼>