Firefox2のconfigureでエラーが出ます

このQ&Aのポイント
  • Firefox2のconfigureでエラーが発生し、詳細を調査中です。
  • GTK2が正しくインストールされているにも関わらず、--enable-application=APPが必要とされています。
  • MOZ_GTK2_LIBSに関する情報が見つからず、解決策に苦戦しています。
回答を見る
  • ベストアンサー

Firefox2のconfigureでエラーが出ます

今Firefox2.0.0.8をコンパイルしてインストールすることを試みているのですが、configureで次のようなエラーが出てしまいます。 checking MOZ_GTK2_LIBS... -L/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 configure: error: --enable-application=APP is required GTK2もyum install gtk2-develでインストールしたはずなのですが、 --enable-application=APPが必要といわれても、GTK2も最新版を入れたはずなのでどこがおかしいのかわかりません。 OSはFedora Core 6(GNOME)です。 一応GoogleでMOZ_GTK2_LIBSなどを検索したり、 http://developer.mozilla.org/ja/docs/Build_Documentation を読んだのですが、MOZ_GTK2_LIBSに関する情報がありませんでした。 わかるかたはご回答をよろしくおねがいします。

質問者が選んだベストアンサー

  • ベストアンサー
  • sakusaker7
  • ベストアンサー率62% (800/1280)
回答No.1

--enable-applicationで指定するのは --enable-application=APP Options include: suite browser (Firefox) mail (Thunderbird) minimo composer calendar (Sunbird) xulrunner macbrowser (Camino) standalone (use this for standalone xpcom/xpconnect or to manually drive a build)" と何をビルドするかなので、たとえば --enable-application=browser を指定しないといけないのでは? 環境設定によっては無指定でも適当な値が入るみたいですけど、質問者さんの 環境ではそうではなさそうなので required なのでしょう。

manafi_lv100
質問者

お礼

回答ありがとうございます。 やっぱり自分には敷居が高かったということでRPMパッケージを使うことにします。

関連するQ&A

  • PHPのconfigureについて

    PHP5.2.6をインストールしようとしているのですが、configureコマンドの所で躓いています 実行しているconfigureオプションは以下の通りです。 ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gd --with-zlib --enable-bcmath --enable-mbregex --enable-mbstring とすると configure: error: libpng.(a|so) not found. となります。 yum install libpngとすると Package 2:libpng-1.2.10-7.1.el5_3.2.i386 already installed and latest version となるので最新版のようです。 このconfigure: error: libpng.(a|so) not found.を克服する術を教えて頂けると助かります。 何卒よろしくお願いします。

    • ベストアンサー
    • PHP
  • php-5.3.3のconfigureでエラー

    RHEL6にPHP5.3.3をソースインストール(訳あってrpmを使えない)しようとすると 下記のエラーが出て困ってます。 configure: error: DBA: Could not find necessary header file(s). configureは下記を指定してます。RHEL5.5ではOKだったのに6では通らない。 インストールされているパッケージが原因かと思っているのですが、情報が 見当たらず前に進めません。 同じ状況になった方助言をお願いします。 OS:Red Hat Enterprise Linux Server release 6.0 (Santiago) PHP:php-5.3.3.tar.gz configure:./configure \ --enable-track-vars \ --enable-trans-sid \ --with-mysql=/usr/local/mysql \ --with-gdbm \ --disable-debug --with-apxs2=/usr/local/apache/bin/apxs \ --enable-mbstring \ --enable-mbstr-enc-trans \ --with-mcrypt=/usr/local/lib \ --with-ldap=/usr ※Apache2、mysql、mcryptは正常にインストールされてます。 宜しくお願いします。

  • ./configureがうまくできない

    昨日、Fedora Core 1をワークステーションタイプでインストールしました。 そのPCにシーラカンス本を見ながらPstgresql7.1.1をインストールしようとし、 ./configure --enable-multibyte=EUC_JP --enable-syslog をしたところ。やたら...noという表示が流れ最後に checking types of arguments for accept()... configure: error: could not determine argument types と出てきました。 makeをしてみると、 You need to run the 'configure' program first. See the file と表示されます。 どうすればこの状況を回避できるのでしょうか? よろしくおねがします。

  • configureエラー

    http://samuraism.jp/diary/2007/04/14/1176560157667.html 上記のサイトのとおりにOCRopusのインストールを行ったのですが、ocropusの「./configure」をおこなうと、 checking for err_exit in -ltesseract_full... no configure: error: Could not find tesseract! Choose --without-tesseract if you do not want to use it. のように出てうまくいきません。このようなエラーはどのようにすれば解決するのでしょうか? tesseractというやつもきちんとコンパイルしたはずなんですが・・・ 使用したOSはubuntu10.04です。 回答よろしくお願いします。

  • PHPのconfigureでmysqlエラーが

    CentOS 5 x86_64上でapache+php+mysqlのサーバ構築中ですが、どうもうまくいきません。 apacheとphpでconfigureのオプションを付けてインストールしたいので、rpm -eでhttpdとphpをアンインストールしたうえで、apacheとphpをmake installしようとしました。 apacheはうまくinstallできたのですが、phpはconfigureでエラーが出てしまいます。 以前Cent OS 5.2(32bit)でやった時は問題なかったのですが・・・ ↓configure時のエラーメッセージ -------------------- checking for mSQL support... no checking for MSSQL support via FreeTDS... no checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. -------------------- ↓config.logのエラーメッセージ -------------------- configure:60440: checking for mysql_error in -lmysqlclient configure:60459: gcc -o conftest -I/usr/include -g -O2 -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql -L/usr/lib -Wl,-rpath,/usr/kerberos/lib64 -L/usr/kerberos/lib64 -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient -lz -lfreetype -lpng -lz -ljpeg -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lssl -lcrypto -ldl -lz -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5 /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.a when searching for -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status configure: failed program was: #line 60448 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mysql_error(); -------------------- ↓apacheのconfigure ------------------------- ./configure --enable-layout=Apache --disable-autoindex --disable-status --disable-userdir --enable-modules=so --enable-mods-shared=max --enable-ssl --with-ssl=/usr/share/ssl --enable-rewrite=shared --enable-ext-filter ------------------------- ↓phpのconfigure ------------------------- ./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-mbstring --enable-mbregex --enable-gd-native-ttf --with-gd --with-ttf --with-jpeg-dir --with-freetype-dir --with-png-dir --with-zlib --with-curl --with-openssl --with-mysql ------------------------- バージョンは apache:2.2.11 php:5.2.10, 5.3.0の両方で試しましたが結果は同じ mysql-5.0.45-7.el5.x86_64 mysql-devel-5.0.45-7.el5.x86_64 です。 どなたかご教授いただけますと助かります・・・

  • 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で検索しても良い検索結果が見つかりません。情報がとても少ないようです。 どなたか解決方法がわかる方はいらっしゃいますでしょうか? どうぞよろしくお願い致します。

  • yumで実現するには

    ./configure \ --enable-so \ --enable-rewrite \ --with-mpm=prefork をyumでのインストールで実現するにはどのようにすればよろしいでしょうか? よろしくお願いします。

  • apache2.0.40の./configer …でエラー

    こんばんは。 現在、redhat9にhttpd-2.0.40を./configure --enable-sslしたと ころ、途中で「requires OpenSSL 0.9.6e or higher」とエラー メッセージが表示されて先に進めなくなってしまいました。 しかし、OpenSSLは、上位の「openssl-0.9.7a-2」がインストールさ れておりました。 httpをあとからインストールするのは、ディレクトリ構成をOSイン ストール時と異なる環境が作業する上での要件にあるためです。 解決策やアドバイスをお願いします。 ~環境~ redhat9 カーネル:2.4.20-8 (雑誌付録版) インストールでは、WWW(httpd_2.0.40)は、除外しました。 ~処理経過~ ○./configure --enable-sslを実行にあたり #tar zxvf httpd-2.0.40.tar.gz #cd httpd-2.0.40 #./configure --enable-ssl :(処理中) checking whether to enable mod_proxy_http... no checking whether to enable mod_ssl... checking dependencies checking for SSL/TLS toolkit base... configure: error: requires OpenSSL 0.9.6e or higher ←エラーメッセージ # ○opensslのインストール確認 #rpm -qa | grep openssl openssl-0.9.7a-2 openssl-devel-0.9.7a-2 #

  • configureが成功せず困っております

    皆さんこんにちわ。 とあるファイルのコンパイル時に、 「boost c++ library」が必要とするエラーが表示され、 下記のサイトを参考に インストール作業をを行おうとしていました。 http://www.kmonos.net/alang/boost/build.html ダウンロードと解凍に成功し、 configureを行おうとしたところ、 以下のエラーが出てしまいました。 カレントディレクトリに「configure」ファイルも存在しております。 # ls INSTALL Jamroot LICENSE_1_0.txt boost boost-build.jam boost.css boost.png configure doc index.htm index.html libs more people rst.css status tools wiki # ./configure -bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory 「configure」を行うためには、どうするのが適切でしょうか? Linuxの超初心者です。 一応、検索などで色々調べたつもりはありますが、 誰でも知るような基礎中の基礎であったり、 常識的な解決策などがある場合なども、 汚い言葉でけっこうですので、 アドバイスいただけると幸いです。 宜しくお願い致します。

  • postgres9のconfigureでエラー

    Solaris10にpostgres9.0.5をインストールしようとしています。 Solarisには現時点での最新パッチが当たっている状態です(詳細はちょっと不明) 以下のオプションでconfigureを行うと、エラーになります。 ./configure --prefix=/usr/local/postgres --without-readline --enable-thread-safety 以下エラー --------------------------------------------------------------- checking thread safety of required library functions... no configure: error: thread test program failed This platform is not thread-safe. Check the file 'config.log' or compile and run src/test/thread/thread_test for the exact reason. Use --disable-thread-safety to disable thread safety. --------------------------------------------------------------- config.logの中のエラーの内容 --------------------------------------------------------------- configure:28765: checking thread safety of required library functions configure:28798: gcc -m64 -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wend if-labels -fno-strict-aliasing -fwrapv -pthreads -pthreads -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -D IN_CONFIGURE conftest.c -lz -lnsl -lsocket -lm -lpthread -lpthread >&5 Undefined first referenced symbol in file sched_yield /var/tmp//ccVp73Io.o collect2: ld returned 1 exit status ld: fatal: symbol referencing errors. No output written to conftest configure:28802: $? = 1 configure: program exited with status 1 --------------------------------------------------------------- thread-safetyを無効にすれば正常にインストールできます。 このエラーを回避するにはどうすればよいでしょうか? あまり参考にはならない情報かもしれませんが、9.0.4/9.1.1でも同様のエラーが出ます。

専門家に質問してみよう