0 Пользователей и 1 Гость просматривают эту тему.
ffmpeg.x86_64 0.10.15-1.el6 @rpmfusion-free-updatesffmpeg-compat.x86_64 0.6.7-1.el6 @rpmfusion-free-updatesffmpeg-compat-devel.x86_64 0.6.7-1.el6 @rpmfusion-free-updatesffmpeg-devel.x86_64 0.10.15-1.el6 @rpmfusion-free-updatesffmpeg-libs.x86_64 0.10.15-1.el6 @rpmfusion-free-updates
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
# phpizeConfiguring for:PHP Api Version: 20131106Zend Module Api No: 20131226Zend Extension Api No: 220131226# ./configurechecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for a sed that does not truncate output... /bin/sedchecking for cc... ccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables...checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether cc accepts -g... yeschecking for cc option to accept ISO C89... none neededchecking how to run the C preprocessor... cc -Echecking for icc... nochecking for suncc... nochecking whether cc understands -c and -o together... yeschecking for system library directory... libchecking if compiler supports -R... nochecking if compiler supports -Wl,-rpath,... yeschecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for PHP prefix... /usrchecking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/libchecking for PHP extension directory... /usr/lib64/php/moduleschecking for PHP installed headers prefix... /usr/include/phpchecking if debug is enabled... nochecking if zts is enabled... nochecking for re2c... noconfigure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.checking for gawk... gawkchecking for ffmpeg support... yes, sharedchecking whether to force gd support in ffmpeg-php... nochecking for ffmpeg headers...configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option
./configure --with-ffmpeg=/usr/share/ffmpeg/
# yum list installed | grep gccgcc.x86_64 4.4.7-16.el6 @basegcc-c++.x86_64 4.4.7-16.el6 @basegcc-gfortran.x86_64 4.4.7-16.el6 @baselibgcc.x86_64 4.4.7-16.el6 @base# yum list installed | grep glibcglibc.i686 2.12-1.166.el6_7.3 @updatesglibc.x86_64 2.12-1.166.el6_7.3 @updatesglibc-common.x86_64 2.12-1.166.el6_7.3 @updatesglibc-devel.x86_64 2.12-1.166.el6_7.3 @updatesglibc-headers.x86_64 2.12-1.166.el6_7.3 @updates
...configure:3092: cc -E conftest.cconftest.c:8:28: error: ac_nonexistent.h: No such file or directory...
This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by configure, which wasgenerated by GNU Autoconf 2.63. Invocation command line was $ ./configure ## --------- #### Platform. #### --------- ##hostname = server2uname -m = x86_64uname -r = 2.6.32-573.8.1.el6.x86_64uname -s = Linuxuname -v = #1 SMP Tue Nov 10 18:01:38 UTC 2015/usr/bin/uname -p = unknown/bin/uname -X = unknown/bin/arch = x86_64/usr/bin/arch -k = unknown/usr/convex/getsysinfo = unknown/usr/bin/hostinfo = unknown/bin/machine = unknown/usr/bin/oslevel = unknown/bin/universe = unknownPATH: /usr/local/sbinPATH: /usr/local/binPATH: /sbinPATH: /binPATH: /usr/sbinPATH: /usr/binPATH: /root/bin## ----------- #### Core tests. #### ----------- ##configure:1987: checking for grep that handles long lines and -econfigure:2047: result: /bin/grepconfigure:2052: checking for egrepconfigure:2116: result: /bin/grep -Econfigure:2121: checking for a sed that does not truncate outputconfigure:2187: result: /bin/sedconfigure:2321: checking for ccconfigure:2337: found /usr/bin/ccconfigure:2348: result: ccconfigure:2382: checking for C compiler versionconfigure:2390: cc --version >&5cc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)Copyright (C) 2010 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.configure:2394: $? = 0configure:2401: cc -v >&5Using built-in specs.Target: x86_64-redhat-linuxConfigured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linuxThread model: posixgcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) configure:2405: $? = 0configure:2412: cc -V >&5cc: '-V' option must have argumentconfigure:2416: $? = 1configure:2439: checking for C compiler default output file nameconfigure:2461: cc conftest.c >&5configure:2465: $? = 0configure:2503: result: a.outconfigure:2522: checking whether the C compiler worksconfigure:2532: ./a.outconfigure:2536: $? = 0configure:2555: result: yesconfigure:2562: checking whether we are cross compilingconfigure:2564: result: noconfigure:2567: checking for suffix of executablesconfigure:2574: cc -o conftest conftest.c >&5configure:2578: $? = 0configure:2604: result: configure:2610: checking for suffix of object filesconfigure:2636: cc -c conftest.c >&5configure:2640: $? = 0configure:2665: result: oconfigure:2669: checking whether we are using the GNU C compilerconfigure:2698: cc -c conftest.c >&5configure:2705: $? = 0configure:2722: result: yesconfigure:2731: checking whether cc accepts -gconfigure:2761: cc -c -g conftest.c >&5configure:2768: $? = 0configure:2869: result: yesconfigure:2886: checking for cc option to accept ISO C89configure:2960: cc -c -g -O2 conftest.c >&5configure:2967: $? = 0configure:2990: result: none neededconfigure:3014: checking how to run the C preprocessorconfigure:3054: cc -E conftest.cconfigure:3061: $? = 0configure:3092: cc -E conftest.cconftest.c:8:28: error: ac_nonexistent.h: No such file or directoryconfigure:3099: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| /* end confdefs.h. */| #include <ac_nonexistent.h>configure:3132: result: cc -Econfigure:3161: cc -E conftest.cconfigure:3168: $? = 0configure:3199: cc -E conftest.cconftest.c:8:28: error: ac_nonexistent.h: No such file or directoryconfigure:3206: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| /* end confdefs.h. */| #include <ac_nonexistent.h>configure:3248: checking for iccconfigure:3261: result: noconfigure:3275: checking for sunccconfigure:3288: result: noconfigure:3306: checking whether cc understands -c and -o togetherconfigure:3338: cc -c conftest.c -o conftest2.o >&5configure:3342: $? = 0configure:3348: cc -c conftest.c -o conftest2.o >&5configure:3352: $? = 0configure:3407: result: yesconfigure:3423: checking for system library directoryconfigure:3438: result: libconfigure:3445: checking if compiler supports -Rconfigure:3474: cc -o conftest -g -O2 conftest.c -R /usr/lib >&5cc: unrecognized option '-R'/usr/lib: file not recognized: Is a directorycollect2: ld returned 1 exit statusconfigure:3481: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| /* end confdefs.h. */| | int| main ()| {| | ;| return 0;| }configure:3503: result: noconfigure:3508: checking if compiler supports -Wl,-rpath,configure:3537: cc -o conftest -g -O2 conftest.c -Wl,-rpath,/usr/lib >&5configure:3544: $? = 0configure:3566: result: yesconfigure:3615: checking build system typeconfigure:3633: result: x86_64-unknown-linux-gnuconfigure:3655: checking host system typeconfigure:3670: result: x86_64-unknown-linux-gnuconfigure:3692: checking target system typeconfigure:3707: result: x86_64-unknown-linux-gnuconfigure:3816: checking for PHP prefixconfigure:3818: result: /usrconfigure:3820: checking for PHP includesconfigure:3822: result: -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/libconfigure:3824: checking for PHP extension directoryconfigure:3826: result: /usr/lib64/php/modulesconfigure:3828: checking for PHP installed headers prefixconfigure:3830: result: /usr/include/phpconfigure:3833: checking if debug is enabledconfigure:3863: result: noconfigure:3866: checking if zts is enabledconfigure:3896: result: noconfigure:3967: checking for re2cconfigure:3997: result: noconfigure:4022: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.configure:4036: checking for gawkconfigure:4053: found /bin/gawkconfigure:4064: result: gawkconfigure:4111: checking for ffmpeg supportconfigure:4151: result: yes, sharedconfigure:4160: checking whether to force gd support in ffmpeg-phpconfigure:4174: result: noconfigure:4196: checking for ffmpeg headersconfigure:4206: result: configure:4208: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option## ---------------- #### Cache variables. #### ---------------- ##ac_cv_build=x86_64-unknown-linux-gnuac_cv_c_compiler_gnu=yesac_cv_env_CC_set=ac_cv_env_CC_value=ac_cv_env_CFLAGS_set=ac_cv_env_CFLAGS_value=ac_cv_env_CPPFLAGS_set=ac_cv_env_CPPFLAGS_value=ac_cv_env_CPP_set=ac_cv_env_CPP_value=ac_cv_env_LDFLAGS_set=ac_cv_env_LDFLAGS_value=ac_cv_env_LIBS_set=ac_cv_env_LIBS_value=ac_cv_env_build_alias_set=ac_cv_env_build_alias_value=ac_cv_env_host_alias_set=ac_cv_env_host_alias_value=ac_cv_env_target_alias_set=ac_cv_env_target_alias_value=ac_cv_host=x86_64-unknown-linux-gnuac_cv_objext=oac_cv_path_EGREP='/bin/grep -E'ac_cv_path_GREP=/bin/grepac_cv_path_SED=/bin/sedac_cv_prog_AWK=gawkac_cv_prog_CPP='cc -E'ac_cv_prog_ac_ct_CC=ccac_cv_prog_cc_c89=ac_cv_prog_cc_cc_c_o=yesac_cv_prog_cc_g=yesac_cv_target=x86_64-unknown-linux-gnuphp_cv_cc_dashr=nophp_cv_cc_rpath=yes## ----------------- #### Output variables. #### ----------------- ##AR=''AWK='gawk'CC='cc'CFLAGS='-g -O2'CONFIGURE_COMMAND=' '\''./configure'\'' 'CONFIGURE_OPTIONS=''CPP='cc -E'CPPFLAGS=''DEFS=''DSYMUTIL=''DUMPBIN=''ECHO_C=''ECHO_N='-n'ECHO_T=''EGREP='/bin/grep -E'EXEEXT=''FGREP=''GREP='/bin/grep'LD=''LDFLAGS=''LIBOBJS=''LIBS=''LIBTOOL=''LIPO=''LN_S=''LTLIBOBJS=''NM=''NMEDIT=''OBJDUMP=''OBJEXT='o'OTOOL64=''OTOOL=''PACKAGE_BUGREPORT=''PACKAGE_NAME=''PACKAGE_STRING=''PACKAGE_TARNAME=''PACKAGE_VERSION=''PATH_SEPARATOR=':'RANLIB=''RE2C='exit 0;'SED='/bin/sed'SHELL='/bin/sh'SHLIB_DL_SUFFIX_NAME='so'SHLIB_SUFFIX_NAME='so'STRIP=''ac_ct_CC='cc'ac_ct_DUMPBIN=''bindir='${exec_prefix}/bin'build='x86_64-unknown-linux-gnu'build_alias=''build_cpu='x86_64'build_os='linux-gnu'build_vendor='unknown'datadir='${datarootdir}'datarootdir='${prefix}/share'docdir='${datarootdir}/doc/${PACKAGE}'dvidir='${docdir}'exec_prefix='NONE'host='x86_64-unknown-linux-gnu'host_alias='x86_64-unknown-linux-gnu'host_cpu='x86_64'host_os='linux-gnu'host_vendor='unknown'htmldir='${docdir}'includedir='${prefix}/include'infodir='${datarootdir}/info'libdir='${exec_prefix}/lib'libexecdir='${exec_prefix}/libexec'localedir='${datarootdir}/locale'localstatedir='${prefix}/var'lt_ECHO='echo'mandir='${datarootdir}/man'oldincludedir='/usr/include'pdfdir='${docdir}'prefix='/usr'program_transform_name='s,x,x,'psdir='${docdir}'sbindir='${exec_prefix}/sbin'sharedstatedir='${prefix}/com'sysconfdir='${prefix}/etc'target='x86_64-unknown-linux-gnu'target_alias=''target_cpu='x86_64'target_os='linux-gnu'target_vendor='unknown'## ----------- #### confdefs.h. #### ----------- ###define PACKAGE_NAME ""#define PACKAGE_TARNAME ""#define PACKAGE_VERSION ""#define PACKAGE_STRING ""#define PACKAGE_BUGREPORT ""configure: exit 1
Gib_adm, попробуй с /usr/include/ffmpegffmpeg-devel кладёт туда.
Да не должно бы. Я пробовал разные версии.
cc: unrecognized option '-R'
7.0, 6.2, 5.2Не может же быть gcc старым для всех.
/bin/sh /usr/src/ffmpeg-php-0.7.0/libtool --mode=compile cc -I. -I/usr/src/ffmpeg-php-0.7.0 -DPHP_ATOM_INC -I/usr/src/ffmpeg-php-0.7.0/include -I/usr/src/ffmpeg-php-0.7.0/main -I/usr/src/ffmpeg-php-0.7.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c -o ffmpeg_frame.lolibtool: compile: cc -I. -I/usr/src/ffmpeg-php-0.7.0 -DPHP_ATOM_INC -I/usr/src/ffmpeg-php-0.7.0/include -I/usr/src/ffmpeg-php-0.7.0/main -I/usr/src/ffmpeg-php-0.7.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c -fPIC -DPIC -o .libs/ffmpeg_frame.o/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c: In function ‘_php_convert_frame’:/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:214: warning: implicit declaration of function ‘avcodec_alloc_frame’/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:214: warning: assignment makes pointer from integer without a cast/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:215: warning: ‘avpicture_alloc’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4887)/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame_toGDImage’:/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:341: error: ‘PIX_FMT_RGB32’ undeclared (first use in this function)/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:341: error: (Each undeclared identifier is reported only once/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:341: error: for each function it appears in.)/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame_ffmpeg_frame’:/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:404: warning: assignment makes pointer from integer without a cast/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:405: warning: ‘avpicture_alloc’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4887)/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:405: error: ‘PIX_FMT_RGB32’ undeclared (first use in this function)/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c: In function ‘_php_resample_frame’:/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:503: error: ‘PIX_FMT_YUV420P’ undeclared (first use in this function)/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:514: warning: assignment makes pointer from integer without a cast/usr/src/ffmpeg-php-0.7.0/ffmpeg_frame.c:515: warning: ‘avpicture_alloc’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4887)make: *** [ffmpeg_frame.lo] Error 1
cp ffmpeg_frame.loT ffmpeg_frame.lo