>> Delete Reply from No. 50496 article
No. RE: lex 에러가 나는거 같은데 뭔가요 lex 어떻게 해야
되는지 ㅋㅋ

등록 2002-06-07 13:40:00 By localhost     조회 1
이름 이정현    

		: : : ######################################################
: : : ./configure --prefix=/usr/local/php
: : : --with-mysql=/usr/local/mysql
: : : --with-apache=../apache_1.3.24
: : : --with-imap=/usr/local/imap
: : : --with-gd=/usr/local/gd
: : : --with-jpeg-dir=/usr
: : : --with-png
: : : --with-zlib
: : : --with-config-file-path=/etc
: : : --with-language=korean
: : : --with-charset=euc_kr
: : : --with-xml
: : : --enable-versioning
: : : --enable-url-includes
: : : --enable-trans-id
: : : --enable-ftp
: : : --enable-sockets
: : : --enable-ctype
: : : --enable-calender
: : : --enable-bcmath
: : : --enable-sysvshm=yes
: : : --enable-sysvsem=yes
: : : --enable-versioning
: : : --enable-inline-optimization
: : : --enable-memory-limit=yes
: : : --enable-track-vars
: : : --disable-debug
: : :
: : : ##### 위 옵션을 줬는데  아래와 같이 에러가 나네요  ####
: : :
: : : hecking for ranlib... ranlib
: : : checking whether ln -s works... yes
: : : checking for gawk... (cached) gawk
: : : checking for bison... no
: : : checking for byacc... no
: : : configure: warning: You will need bison if you want to regenerate the PHP parsers.
: : : checking for flex... lex
: : : checking for yywrap in -ll... no
: : : checking lex output file root... ./configure: lex: command not found
: : : configure: error: cannot find output from lex; giving up
: : : [root@ns php-4.2.1]#  --with-mysql=/usr/local/mysql
: : : bash: --with-mysql=/usr/local/mysql: No such file or directory
: : : [root@ns php-4.2.1]#  --with-apache=../apache_1.3.24
: : : bash: --with-apache=../apache_1.3.24: No such file or directory
: : : [root@ns php-4.2.1]#  --with-imap=/usr/local/imap
: : : bash: --with-imap=/usr/local/imap: No such file or directory
: : : [root@ns php-4.2.1]#  --with-gd=/usr/local/gd
: : : bash: --with-gd=/usr/local/gd: No such file or directory
: : : [root@ns php-4.2.1]#  --with-jpeg-dir=/usr
: : : bash: --with-jpeg-dir=/usr: No such file or directory
: : : 이렇게 에러가 나요 ... 그래서 옵션 다지우고 ...그냥 ./configure 만해도
: : : lex 에러가나는데 뭐때문에 그런거죠... ㅋㅋ 답좀 해주세요
: :
: : >> 에러문에 대부분이... 디렉토리가 없다는군요... 경로 설정이 잘못된거 같은데여
: : >> ./configure --with-apxs=설치디렉/apxs --with-mysql=설치된 곳 --enable-track-vars
:
: --
: ./configure 하면 설치 경로 문제보다 lex가 뭔지를 모르겠어요
: 위에 설치 경로 잘못 됐나 싶어서 ..다 지우고도 해봤는데 ..lex 에러가 나네요
:
: ㅋㅋㅋ
 http://junghyun.pe.kr/linux/rpm/  flex 설치해 보시구 컴파일 해 보시져
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved