Хотел поставить через phpize, но его не оказалось:
# phpize
-bash: phpize: command not found
Ось CentOS 4.1
PHP 5.1.6
Пересобирать php полность не охото...
Что подскажите?
php-ffmpeg (Как установить?)
Модератор: Модераторы разделов
-
stomp
- Сообщения: 721
- ОС: Debian GNU
Re: php-ffmpeg
Хотел поставить через phpize, но его не оказалось:
# phpize
-bash: phpize: command not found
пробуй команду whereis она помогает искать исполняемые файлы.
В твоём случае whereis phpize
Пример:
Код: Выделить всё
[stomp@localhost ~]$ whereis phpize
phpize: /usr/bin/phpize /usr/share/man/man1/phpize.1.gz-
x-Range
- Сообщения: 83
- ОС: Fedora 15, CentOS 5.6
Re: php-ffmpeg
stomp писал(а): ↑20.06.2007 20:48Хотел поставить через phpize, но его не оказалось:
# phpize
-bash: phpize: command not found
пробуй команду whereis она помогает искать исполняемые файлы.
В твоём случае whereis phpize- она покажет тебе путь к твоей команде phpize( вот его полностью и вводи в консоли
Пример:Код: Выделить всё
[stomp@localhost ~]$ whereis phpize phpize: /usr/bin/phpize /usr/share/man/man1/phpize.1.gz
Уже искал... Нет такого файла...
-
Uncle_Theodore
- Сообщения: 3339
- ОС: Slackware 12.2, ArchLinux 64
Re: php-ffmpeg
Может, какой-нибудь php-devel пакет установить?
-
x-Range
- Сообщения: 83
- ОС: Fedora 15, CentOS 5.6
Re: php-ffmpeg
Поставил php-devel. Выполнил phpize. Далее ./configure и ошибка:
checking for ffmpeg support... yes, shared
checking for ffmpeg headers... configure: error: ffmpeg headers not found. Make sure you've built ffmpeg as shared libs using the --enable-shared option
Причем:
# ffmpeg -version
ffmpeg version CVS, build 3277056, Copyright © 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --enable-mp3lame --enable-libogg --enable-vorbis --enable-theora --enable-faad --enable-faac --enable-xvid --enable-a52 --enable-a52bin --enable-pp --enable-shared-pp --enable-shared --enable-pthreads --enable-gpl --disable-opts --disable-strip
built on Dec 9 2005 20:55:10, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)
ffmpeg CVS
libavcodec 3277056
libavformat 3211776
т.е. ffmpeg собран как и требуется с параметром --enable-shared
Что еще может быть не так?
checking for ffmpeg support... yes, shared
checking for ffmpeg headers... configure: error: ffmpeg headers not found. Make sure you've built ffmpeg as shared libs using the --enable-shared option
Причем:
# ffmpeg -version
ffmpeg version CVS, build 3277056, Copyright © 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --enable-mp3lame --enable-libogg --enable-vorbis --enable-theora --enable-faad --enable-faac --enable-xvid --enable-a52 --enable-a52bin --enable-pp --enable-shared-pp --enable-shared --enable-pthreads --enable-gpl --disable-opts --disable-strip
built on Dec 9 2005 20:55:10, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)
ffmpeg CVS
libavcodec 3277056
libavformat 3211776
т.е. ffmpeg собран как и требуется с параметром --enable-shared
Что еще может быть не так?
-
x-Range
- Сообщения: 83
- ОС: Fedora 15, CentOS 5.6
Re: php-ffmpeg
Все решил проблему) Пришлось обновить все ПО ))