 |
 |
 |
 |
|
>> Read No. 50498 article |
|
php4.2.1에서 confiigure lex 에러라고 나오는데 어떻게
고쳐야하나요
|
 |
 |
 |
 |

등록 2002-06-07 11:19:00
조회 2
이름 이억울

|
 |
 |
: ######################################################
: : ./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 에러가 나네요
ㅋㅋㅋ--./configure 하면 설치 경로 문제보다 lex가 뭔지를 모르겠어요
위에 설치 경로 잘못 됐나 싶어서 ..다 지우고도 해봤는데 ..lex 에러가 나네요
ㅋㅋㅋ
 | |
|
|
|
|
페이지로딩: [ 1.02 초 ]
작업시간: [ 0.39 초 ]
|
|
 |
 |
![[TOP]](/images/color///top.gif) 
|
 |
 |
 |
 |
|
|
Copyleft (C) 1998-2001
Byeong-Chan Kim
. License
|
TIME: 1791464926
|
|
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.
|