Find the answer to your Linux question:
Results 1 to 3 of 3
hello friends I am having a bit of trouble configuring the ffmpeg-php package on fedora 8. I completed the make and make install process of ffmpeg. But now I need ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    34

    configure error in ffmpeg-php


    hello friends
    I am having a bit of trouble configuring the ffmpeg-php package on fedora 8. I completed the make and make install process of ffmpeg. But now I need to setup ffmpeg-php i did the phpize and it created a configure file in the ffmpeg-php source directory and when i do ./configure I get the following error:
    Code:
    checking if compiler supports -Wl,-rpath,... yes
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20020429
    checking for re2c... exit 0;
    checking for gawk... gawk
    checking for ffmpeg support... yes, shared
    checking whether to force gd support in ffmpeg-php... no
    ./configure: line 4651: syntax error near unexpected token `ffmpeg,'
    ./configure: line 4651: `  PHP_ADD_EXTENSION_DEP(ffmpeg, gd)'
    Can someone please help me?

  2. #2
    Just Joined!
    Join Date
    Feb 2009
    Posts
    1

    FFmpeg-php install issue

    Hi There.. Did you manage to fix the problem. I have been having the same.

    www:/phpm_components/src/ffmpeg-php-0.6.0 saurabh$ sudo ./configure
    checking build system type... i686-apple-darwin8.11.1
    checking host system type... i686-apple-darwin8.11.1
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for a sed that does not truncate output... /usr/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 ISO C89... 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,... no
    checking for PHP prefix... /usr
    checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend
    checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20020429
    checking for re2c... exit 0;
    checking for gawk... no
    checking for mawk... no
    checking for nawk... no
    checking for awk... awk
    checking for ffmpeg support... yes, shared
    checking whether to force gd support in ffmpeg-php... no
    ./configure: line 4651: syntax error near unexpected token `ffmpeg,'
    ./configure: line 4651: ` PHP_ADD_EXTENSION_DEP(ffmpeg, gd)'

  3. #3
    Linux Newbie
    Join Date
    Apr 2008
    Location
    India
    Posts
    170
    Hey

    Did you install gd before FFMPEG compilation ...?
    that might be the issue
    Regards
    David Anand
    -->Success is the list of failures ...!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •