Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
installing ffmpeg-php in userspace on freebsd 7.2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
asmer  
View profile  
 More options Nov 25 2009, 2:09 pm
From: asmer <asmer.f...@gmail.com>
Date: Wed, 25 Nov 2009 11:09:18 -0800 (PST)
Local: Wed, Nov 25 2009 2:09 pm
Subject: installing ffmpeg-php in userspace on freebsd 7.2
Hi.

I try to install ffmpeg-php on shared hosting now. I've successfully
compile ffmpeg and needed dependencies, but can't compile ffmpeg php
module.

Errors:

CPPFLAGS=-I/home/u7/g2bglobal/install/include  ./configure --prefix=
$HOME/install/  --with-ffmpeg=$HOME/install/
checking build system type... i386-unknown-freebsd7.2
checking host system type... i386-unknown-freebsd7.2
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... 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/20020429
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for ffmpeg support... yes, shared
checking whether to force gd support in ffmpeg-php... no
./configure: 4748: Syntax error: word unexpected (expecting ")")

This is macro  PHP_ADD_EXTENSION_DEP(ffmpeg, gd). I've try to comment
this line, configure finished properly. But I've got this:

$ gmake && gmake install
gmake: getcwd: Permission denied
/bin/sh /home/u7/g2bglobal/files/ffmpeg-php-0.6.0/libtool --
mode=compile gcc  -I. -I/home/u7/g2bglobal/files/ffmpeg-php-0.6.0 -
DPHP_ATOM_INC -I/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/include -I/
home/u7/g2bglobal/files/ffmpeg-php-0.6.0/main -I/home/u7/g2bglobal/
files/ffmpeg-php-0.6.0 -I/usr/local/include/php -I/usr/local/include/
php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -
I/home/u7/g2bglobal/install//include/libavcodec/ -I/home/u7/g2bglobal/
install//include/libavformat/ -I/home/u7/g2bglobal/install//include/
libavutil/ -I/home/u7/g2bglobal/install//include/libswscale/ -I/home/
u7/g2bglobal/install//include/libavfilter/ -I/home/u7/g2bglobal/
install//include/libavdevice/  -I/home/u7/g2bglobal/install/include -
DHAVE_CONFIG_H  -g -O2 -Wno-deprecated-declarations -Wall -fno-strict-
aliasing   -c /home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg-php.c -
o ffmpeg-php.lo
gcc -I. -I/home/u7/g2bglobal/files/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/
home/u7/g2bglobal/files/ffmpeg-php-0.6.0/include -I/home/u7/g2bglobal/
files/ffmpeg-php-0.6.0/main -I/home/u7/g2bglobal/files/ffmpeg-
php-0.6.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/
usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/home/u7/
g2bglobal/install//include/libavcodec/ -I/home/u7/g2bglobal/install//
include/libavformat/ -I/home/u7/g2bglobal/install//include/libavutil/ -
I/home/u7/g2bglobal/install//include/libswscale/ -I/home/u7/g2bglobal/
install//include/libavfilter/ -I/home/u7/g2bglobal/install//include/
libavdevice/ -I/home/u7/g2bglobal/install/include -DHAVE_CONFIG_H -g -
O2 -Wno-deprecated-declarations -Wall -fno-strict-aliasing -c /home/u7/
g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg-php.c  -fPIC -DPIC -o ffmpeg-
php.o
mv -f ffmpeg-php.o ffmpeg-php.lo
/bin/sh /home/u7/g2bglobal/files/ffmpeg-php-0.6.0/libtool --
mode=compile gcc  -I. -I/home/u7/g2bglobal/files/ffmpeg-php-0.6.0 -
DPHP_ATOM_INC -I/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/include -I/
home/u7/g2bglobal/files/ffmpeg-php-0.6.0/main -I/home/u7/g2bglobal/
files/ffmpeg-php-0.6.0 -I/usr/local/include/php -I/usr/local/include/
php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -
I/home/u7/g2bglobal/install//include/libavcodec/ -I/home/u7/g2bglobal/
install//include/libavformat/ -I/home/u7/g2bglobal/install//include/
libavutil/ -I/home/u7/g2bglobal/install//include/libswscale/ -I/home/
u7/g2bglobal/install//include/libavfilter/ -I/home/u7/g2bglobal/
install//include/libavdevice/  -I/home/u7/g2bglobal/install/include -
DHAVE_CONFIG_H  -g -O2 -Wno-deprecated-declarations -Wall -fno-strict-
aliasing   -c /home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c
-o ffmpeg_movie.lo
gcc -I. -I/home/u7/g2bglobal/files/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/
home/u7/g2bglobal/files/ffmpeg-php-0.6.0/include -I/home/u7/g2bglobal/
files/ffmpeg-php-0.6.0/main -I/home/u7/g2bglobal/files/ffmpeg-
php-0.6.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/
usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/home/u7/
g2bglobal/install//include/libavcodec/ -I/home/u7/g2bglobal/install//
include/libavformat/ -I/home/u7/g2bglobal/install//include/libavutil/ -
I/home/u7/g2bglobal/install//include/libswscale/ -I/home/u7/g2bglobal/
install//include/libavfilter/ -I/home/u7/g2bglobal/install//include/
libavdevice/ -I/home/u7/g2bglobal/install/include -DHAVE_CONFIG_H -g -
O2 -Wno-deprecated-declarations -Wall -fno-strict-aliasing -c /home/u7/
g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c  -fPIC -DPIC -o
ffmpeg_movie.o
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:91: error:
'zif_ffmpeg_movie' undeclared here (not in a function)
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:94:86: error:
macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:95:86: error:
macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:94: error:
'ZEND_FALIAS' undeclared here (not in a function)
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:95: error:
expected '}' before 'ZEND_FALIAS'
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:96:86: error:
macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:97:86: error:
macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:98:86: error:
macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:99:86: error:
macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:100:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:101:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:102:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:103:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:104:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:105:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:106:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:107:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:108:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:109:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:110:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:111:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:112:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:113:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:114:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:115:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:116:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:117:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:118:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:119:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:120:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:121:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:122:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:123:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given
/home/u7/g2bglobal/files/ffmpeg-php-0.6.0/ffmpeg_movie.c:124:86:
error: macro "ZEND_FALIAS" requires 3 arguments, but only 2 given

php version: 5.2.6

zend engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

 phpize -v
Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20050606

ffmpeg: 0.5.

Any ideas?

Good Luck.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »