ffmpeg-php 설치 하다가.. 도와 주세요.

ikhyunji의 이미지

리눅스 페도라 코어 6를 설치하고 APM및 Zend까지 깔고 FFMpeg을 깔기 위해 코덱 컴파일,

FFMpeg컴파일 다 끝내고 이제 FFMpeg-php만 컴파일 하면 되는데 아래와 같이 에러가 나고 끝납니다.

[root@localhost ffmpeg-php-0.5.1]# ./configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
./configure: line 2949: php-config: command not found
./configure: line 2950: php-config: command not found
configure: error: Cannot find php-config. Please use --with-php-config=PATH
[root@localhost ffmpeg-php-0.5.1]#

마지막 부분과 같이 에러가 나서

./configure --with-php-config=[php.ini파일경로]

로 했는데 php.ini파일을 읽으면서 다른 에러들이 나버렸습니다.

뭐가 문젠지 어떻게 해야 하는지도 모르겠는데.. 도와주세요..;;

feanor의 이미지

php-devel RPM 패키지 설치하세요.

ikhyunji의 이미지

php-devel은 깔려 있었는데 PATH로 연결이 안되어 있던거군요.. ㅎㅎ
php.ini가 아니라.. php-devel이 있는 곳을 써야 되는거였네..ㅎㅎ

지난번에 phpize가 안되서 php-devel을 깔았떤 적이 있었는데 이번에 호스팅 업체에서 다 깔아줘서..
Php-devel은 생각 안하고 있다가 feanor님 댓글 보고 깨달았습니다.. 감사합니다.^^

-------------
댓글 시그너쳐