FedoraCore11でコンパイルできない問題
- FedoraCore11でffmpeg-phpをコンパイルしようとするとエラーが発生し、解決方法を知りたいです。
- コンパイル中にmakeコマンドでエラーが表示され、ターゲットやmakefileが見つからないという問題が起きています。
- また、configure中にffmpegのヘッダーファイルが見つからないというエラーメッセージも表示されています。
- ベストアンサー
FedoraCore11でコンパイルできなくて困っています。
FedoraCore11でコンパイルできなくて困っています。 ffmpeg-phpをインストールしようと思いwgetにて保存 解凍後、phpizeして./configure→makeをすると make: *** ターゲットが指定されておらず, makefile も見つかりません. 中止. というエラーが出てきます。 ./configureの checking for ffmpeg headers... configure: error: ffmpeg headers not found. Make sure you've built ffmpeg as shared libs using the --enable-shared option このエラーが怪しそうです。 どなたか解決方法をお願いします。
- ciws-coupe
- お礼率6% (14/212)
- Linux系OS
- 回答数3
- ありがとう数11
- みんなの回答 (3)
- 専門家の回答
質問者が選んだベストアンサー
エラーメッセージの通り前もってffmpeg本体を共有ライブラリとしてコンパイルして準備しておかなければならないのでしょう。 ffmpegの公式サイトからソースをダウンロードして--enable-sharedをつけてコンパイルしてください。
その他の回答 (2)
- 774danger
- ベストアンサー率53% (1010/1877)
http://www.mysql-apache-php.com/ffmpeg-install.htm の↓は試したんでしょうか? 3. If you get an error like shared libraries not found problem and the program halts in the middle, then you must specify the ffmpeg installed path explicitly to the ./configure. configure: error: ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option To Fix: 1. First find out the ffmpeg path with ffmpeg --help command. The prefix default path should be like /usr/local/cpffmpeg 2. Configure the FFmpeg-php with --with-ffmpeg option ./configure --with-ffmpeg=/usr/local/cpffmpeg That should resolve the problem!
- D-Matsu
- ベストアンサー率45% (1080/2394)
#どーでもいいけどFedora7以降はCoreは付きません > ffmpegは無事にインストールすることが出来ました ffmpegをインストール、というかconfigureする際に--enable-sharedはつけましたか?
補足
checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu 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 -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 0.13.5 (ok) checking for gawk... gawk checking for ffmpeg support... yes, shared checking whether to force gd support in ffmpeg-php... no checking for ffmpeg headers... ...found in /usr/local/include/libavcodec checking for ffmpeg libavcodec.so... configure: error: ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option --enable-shared を付けましたがこんな感じになりました。
関連するQ&A
- Fedora Core6にApacheをインストールしたい
Fedora Core6を導入しています。 これにApacheをインストールしたいのですが、以下のように実行するとエラーが出てインストールできません。 # ./configure \ > --enable-mods-shared=all \ > --enable-proxy=shared \ > --disable-ipv6 \ > --prefix=/usr/local/src/origdev/opt/apache2 エラーメッセージとして checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures このように出ます。 この状態で#makeをして#make installをしても失敗します。 解決策はありませんか?
- 締切済み
- Linux系OS
- FedoraCoreでのコンパイル失敗
FC11でPoundというソフトウェアをインストールしようと思っています。 http://www.eitaro-saba.com/2006/07/pound-のインストール/ 上記のサイトを参考にインストールし ./configure --with-ssl=/usr/include/openssl/ からmakeのコマンドを打ったところで「make: *** ターゲットが指定されておらず, makefile も見つかりません. 中止.」というエラーが発生し、悩んでいます。 ./configure --with-ssl=/usr/include/openssl/を打ったあとは以下のような反応が返ってきています。 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 for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu configure: *** Checking for threads library and/or flags *** checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc configure: *** Parsing options *** configure: *** Checking for libraries *** checking for dlopen in -ldl... yes checking for socket in -lsocket... no checking for hstrerror in -lresolv... yes checking for BIO_new in -lcrypto... no Missing OpenSSL (-lcrypto) - aborted どこが問題なのでしょうか?よろしくお願いします。
- ベストアンサー
- ハードウェア・サーバー
- FedoraCore5へのffmpegのインストール
FedoraCore5へffmpeg-0.4.9-pre1を インストールしようとしています。 オプション指定なしで./configureして makeすると以下の様なエラーがでます。 [root@localhost ffmpeg-0.4.9-pre1]# make make -C libavcodec all make[1]: Entering directory `/root/ffmpeg-0.4.9-pre1/libavcodec' gcc -O3 -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c In file included from avcodec.h:14, from common.c:28: common.h:67: error: 配列の型が不完全要素型を持っています common.h:71: error: 配列の型が不完全要素型を持っています make[1]: *** [common.o] エラー 1 make[1]: Leaving directory `/root/ffmpeg-0.4.9-pre1/libavcodec' make: *** [lib] エラー 2 このエラーを回避するためにはどうしたらよいのでしょうか?
- ベストアンサー
- Linux系OS
- ffmpegのインストール時のconfigureについて質問です。
ffmpegのインストール時のconfigureについて質問です。 [root@localhost ffmpeg]# ./configure --enable-avisynth\ > --enable-bzlib\ > --enable-libamr-nb\ > --enable-libamr-wb\ > --enable-gpl\ > --enable-nonfree\ > --enable-shared と入力すると、下記エラーが出ます。 ERROR: vfw32 not found vfw32 not foundで検索しても、ERROR: vfw32 not foundで検索しても良い検索結果が見つかりません。情報がとても少ないようです。 どなたか解決方法がわかる方はいらっしゃいますでしょうか? どうぞよろしくお願い致します。
- 締切済み
- ハードウェア・サーバー
- PHP-4.3.1でmake出来ない
RedHat8.0 apache(httpd-2.0.45)の環境に PHP-4.3.1をインストールしようとしたのですが、 下記のconfigureでmake出来ません。 ./configure --with-apxs=/usr/local/apache2/bin/apxs --enable-mbstring --enable-mbregex --enable-zend-multibyte どなたか分かる方がいらっしゃいましたら 教えてください。 ※ちなみに、オプションを付けずにconfigureを 行うとmakeできます。 ※上記のオプションを付けると、Makefile.fragmentsと Makefile.objectsのみ作成されます。
- ベストアンサー
- その他(OS)
- MySQLのコンパイル
MySQL-5.0.16をインストールし、下記のようにconfigureを実行したところ、「C compiler が見つからない」旨のメッセージが出て先へ進めません。 yum で gcc や cc のインストールを試みてもうまくいきません。 どなたか、良いアドバイスをお願いします。 OSはFedoraCore4の英語バージョンです。 [root@Linux mysql-5.0.16]# ./configure --prefix=/usr/local/mysql --with-charset=ujis --with-extra-charset=all ------------------------------------------------- checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking "character sets"... default: ujis, collation: ujis_japanese_ci; compiled in: ujis latin1 utf8 checking whether to compile national Unicode collations... yes checking whether build environment is sane... yes checking whether make sets $(MAKE)... (cached) yes checking for gawk... (cached) gawk checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. ----------------------------------------------------
- 締切済み
- MySQL
- Linux ffmpegについて
Fedora8にffmpegをインストールしようと思っています。 ffmpegをインストールする前に以下のコーデックをインストールしました。 ・nasm (ツール系) ・lame (Audio MP3 codec) ・faac (Audio AAC codec) ・faad2(Audio AAD2 codec) ・x264 (Video H264-X Codec) ・xvid (Video Xvid Codec) ・ac3 (Audio AC3 DVD codec) ・amr (Audio AMR codec) 次に以下のコマンドでffmpegをチェックアウトして、以下のconfigureを実行すると"--enable-liba52"オプションが無いと言われます。 ./configure --helpで見ると確かに"--enable-liba52"がありません。 ちなみに"--enable-a52"もありませんでした。 ffmpegでac3を有効にするためには、どのようにすればよろしいのでしょうか。 [svn] svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg [configure] ./configure --disable-ffplay --disable-ffserver --enable-gpl --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-pthreads --enable-libx264 --enable-libxvid --enable-libamr-nb --enable-libamr-wb --enable-liba52 --enable-shared 以上、よろしくお願いいたします。
- ベストアンサー
- Linux系OS
- CentOS Apatche2.2.9インストール 質問
Linux入門者です。 CentOS5.2にApatch2.2.9をインストールをしようとしたところ エラーになり先に進めません。 (httpd-2.2.9.tar.gzをダウンロードしました。) どなたかインストールの解決方法をご教授いただけないでしょうか。 よろしくお願いいたしますm(_ _)m # cd /usr/local/src/httpd-2.0.59 # ./configure --enable-rewrite --enable-so --enable-ssl # make;make install make: *** ターゲットが指定されておらず、makefile も見つかりません. 中止. make: *** ターゲット 'install’が指定されておらず、makefileも見つかりません. 中止.
- 締切済み
- ハードウェア・サーバー
- PHPのインストールがうまくできない。
環境Fedora2 [root@localhost php-5.2.1]# ./configure --with-pgsql --with-apxs2=/usr/local/apache/bin/apxs --enable-mbstring --enable-mbregex ~省略~ checking if compiler supports -Wl,-rpath,... yes checking for re2c... re2c checking for re2c version... 0.11.0 (ok) checking for gawk... gawk checking for bison... no checking for byacc... no checking for bison version... invalid configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none). checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ./configure: line 3375: lex: command not found configure: error: cannot find output from lex; giving up warning だと、PHP parsersのためのバージョンが必要ということでしょうか?当然makeもできません。 [root@localhost php-5.2.1]# make make: *** ターゲットが指定されておらず、makefile も見つかりません。中止。 調べたんですが aptの導入が必要のようですがよくわからないので詳しい方おねがいします。
- 締切済み
- Linux系OS
- Apache2.0のインストール及び起動について
はじめまして、 RedHat9に対してApache2.0(2.0.33)を下記のような方法でインストールしたのですが、Apacheが起動しません。 apachectl start を実行しても、エラーは発生しないのですが、プロセスが存在しません。 どなたか、同様の現象が発生した方がいらっしゃいましたら、何卒解決方法をご教授願います。 [Apacheインストール方法] ・ソースファイルよりインストール [configureオプション] ./configure \ --enable-ssl=shared \ --with-ssl=/usr/local/ssl \ --enable-so \ --enable-access=shared \ --enable-auth=shared \ --enable-auth_anon=shared \ --enable-include=shared \ --enable-env=shared \ --enable-mime_magic=shared \ --enable-cern_meta=shared \ --enable-expires=shared \ --enable-deflate=shared \ --enable-headers=shared \ --enable-usertrack=shared \ --enable-unique_id=shared \ --enable-setenvif=shared \ --enable-mime=shared \ --enable-dav=shared \ --enable-status=shared \ --enable-autoindex=shared \ --enable-asis=shared \ --enable-info=shared \ --enable-vhost_alias=shared \ --enable-negotiation=shared \ --enable-dir=shared \ --enable-imap=shared \ --enable-actions=shared \ --enable-alias=shared \ --enable-rewrite=shared \ --enable-cache=shared \ --enable-disk_cache=shared \ --enable-file_cache=shared \ --enable-mem_cache=shared \ --enable-cgi=shared ------- 長くなってしまい申し訳ございませんが、 何卒よろしくお願い致します
- 締切済み
- Linux系OS
補足
ffmpegは無事にインストールすることが出来ました。 phpからffmpegを使うためのffmpeg-phpをインストールする際にエラーが出ています。 [root@localhost ffmpeg-php-0.6.0]# ./configure --prefix=/usr checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu 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 -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 0.13.5 (ok) checking for gawk... gawk checking for ffmpeg support... yes, shared checking whether to force gd support in ffmpeg-php... no checking for ffmpeg headers... ...found in /usr/local/include/libavcodec checking for ffmpeg libavcodec.so... configure: error: ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option エラーを含めると、./configureのメッセージは以上です。