>> Edit article
이름
제목
패스워드
: ###################################################### : ./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
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved