먼저 답변 주셔서 감사하구요
아마 제 질문을 끝까지 안 읽어보셨나봐요
지금 flex하고 bison도 안되서 문제였는데
그리고 ./configure --without-flex --without-bison 해도
마찬가지네요 -.-;;
: INSTALL.txt 48줄 부터 flex&bison에 관한 내용이 적혀있네요...
:
:
: : tcpdump를 설치해서 패킷 모니터링을 하려고 하는데요
: :
: : 그전에 libpcap을 설치해야 한다고 하길래 설치하려고 하는데
: :
: : 자꾸 에러가 나네요
: :
: : [root@songgang:/user/members/gnoc/cws/tcpdump/libpcap-0.7.1]# ./configure
: : loading cache ./config.cache
: : checking host system type... sparc-sun-solaris2.7
: : checking target system type... sparc-sun-solaris2.7
: : checking build system type... sparc-sun-solaris2.7
: : checking for gcc... gcc
: : checking whether the C compiler (gcc ) works... yes
: : checking whether the C compiler (gcc ) is a cross-compiler... no
: : checking whether we are using GNU C... yes
: : checking whether gcc accepts -g... yes
: : checking gcc version... 2
: : checking for inline... inline
: : checking for __attribute__... yes
: : checking for u_int8_t using gcc... no
: : checking for u_int16_t using gcc... no
: : checking for u_int32_t using gcc... no
: : checking how to run the C preprocessor... gcc -E
: : checking for sys/ioccom.h... yes
: : checking for sys/sockio.h... yes
: : checking for ifaddrs.h... no
: : checking for limits.h... yes
: : checking for netinet/if_ether.h... yes
: : checking for ANSI ioctl definitions... yes
: : checking for ether_hostton... no
: : checking for strerror... yes
: : checking for strlcpy... no
: : checking if --disable-protochain option is specified... enabled
: : checking packet capture type... dlpi
: : checking if --enable-ipv6 option is specified... no
: : checking whether to build optimizer debugging code... no
: : checking whether to build parser debugging code... no
: : checking for sys/bufmod.h... yes
: : checking for sys/dlpi_ext.h... no
: : checking for /dev/dlpi device... no
: : checking for /dev/dlpi directory... no
: : checking whether we have /proc/net/dev... no
: : checking for flex... flex
: : checking for flex 2.4 or higher... yes
: : checking for bison... no
: : configure: warning: don't have both flex and bison; reverting to lex/yacc
: : checking for capable lex... insufficient
: : configure: error: Your operating system's lex is insufficient to compile
: : libpcap. flex is a lex replacement that has many advantages, including
: : being able to compile libpcap. For more information, see
: : http://www.gnu.org/software/flex/flex.html .
: :
: : 이것이 에러 메세지 인데요 마지막에 보면 flex가 없어서 그런줄 알고
: :
: : flex-2.5.4 설치를 했는데도 마찬가지네요
: :
: : 그래서 bison이 설치가 안된거 같아서 설치하려고 하니
: :
: : checking whether m4 supports frozen files... no
: : configure: error: GNU M4 1.4 is required
: :
: : 이런 에러 메시지가 뜨고요
: :
: : 그래서 m4-1.4도 설치했는데 역시 마찬가지네요
: :
: : 산넘어 산이라고 자꾸 엉뚱한 방향으로 흘러가는거 같은데
: :
: : 모가 문제 인가요?
: :
: : 여러 고수님들의 조언을 부탁드립니다.
: :
: : --
: : 리눅스 만세이--리눅스 만세이