![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 4 Pomógł: 0 Dołączył: 3.01.2008 Ostrzeżenie: (0%) ![]() ![]() |
witam,
robie pierwsze kroki w swojej przygodzie z apache i od razu napotykam na problemy. chodzi o instalacje biblioteki http://ffmpeg-php.sourceforge.net/ do edycji plikow video online. dodam ze pracuje na serwerze dedykowanym Apache 2.0, Linux 2.6.21.5, Fedora Core + Plesk 7.5 jako panel administracyjny przy probie instalacji wg instrukcji ze strony http://ffmpeg-php.sourceforge.net/ pojawiaja mi sie nastepujace komunikaty configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automak...nding%20aclocal configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR configure.in:33: warning: underquoted definition of PHP_EXT_DIR configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C /usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend Extension Api No: 20021010 komenda ./configure && make generuje nastepujace bledy checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu 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 for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM checking for PHP extension directory... /usr/lib/php4 checking for re2c... exit 0; checking for gawk... gawk 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 i wreszcie komenda sudo make install wyrzuca make: *** Brak reguł do wykonania obiektu `install'. Stop oczywiscie biblioteka sie nie instaluje, nie jest widoczna przez phpinfo pomimo restartu serwera poprosze o podpowiedz gdzie tkwi przyczyna i co zrobic. witek Ten post edytował djwiktor 3.01.2008, 15:04:44 |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 93 Pomógł: 13 Dołączył: 7.09.2006 Ostrzeżenie: (0%) ![]() ![]() |
Cytat checking for ffmpeg headers... configure: error: ffmpeg headers not found. Make sure you've built ffmpeg as shared libs using the --enable-shared option Tutaj kryje się odpowiedz To jest tylko dodatek do apache który posługuje się programem ffmpeg - http://ffmpeg.mplayerhq.hu/ Musisz wpierw zainstalować ffmpeg. Jeżeli już go masz to pewnie zainstalowałeś go w ścieżce poza PATH i instalator go nie widzi. Wskaż podczas konfiguracji ścieżkę do ffmpeg, albo dodaj go do PATH, albo zainstaluj np w /usr. |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 4 Pomógł: 0 Dołączył: 3.01.2008 Ostrzeżenie: (0%) ![]() ![]() |
witaj,
trafiles w sedno:-) zainstalowalem ffmpeg i reszta instalacji poszla sprawnie. tylko ze zrobilem to w jakims katalogu na wirtualnym hoscie zamiast w usr/ jak podajesz. efekt jest taki, ze plik ffmpeg.so jest w katalogu usr/lib/php4 ale phpinfo() go nie widzi. strona testowa pokazuje komunikat o tym, ze ffmpeg jest niezainstalowany (co nie jest prawda) pomyslalem wiec zeby odinstalowac i zainstalowac ffmpeg od nowa w jakims np. usr/lib/extensions pytanie: jakiej komendy mam uzyc w celu odinstalowania biblioteki? oraz dopisac extension=ffmpeg.so do php.ini pytanie: jak zedytowac ten plik? jaka komenda? jak go potem zapisac na serwerze. poprosze o wskazowki pracuje na linux 2.6, fedora witek Ten post edytował djwiktor 4.01.2008, 14:29:17 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 18.09.2025 - 03:10 |