VirtualPCでCentOs5を使用している際に、mono2.6.4のconfigureでエラーが発生する

このQ&Aのポイント
  • CentOs5を使用しているVirtualPCでmono2.6.4を導入しようとする際、configureの段階でエラーが発生します。
  • エラー内容は、Cコンパイラが実行可能なファイルを作成できないというものです。
  • エラーの原因がわからず、解決策を知りたいです。
回答を見る
  • ベストアンサー

VirtualPCにてCentOs5を使用しています。

VirtualPCにてCentOs5を使用しています。 mono2.6.4を導入しようと考えているのですが、configureの時点でエラーが発生します。 以下参考サイト http://ameblo.jp/ishina/entry-10505426107.html 以下エラー内容 [root@localhost mono-2.6.4]#./configure ・・・ checking for C compiler default output file name... configure: error: in '/root/mono-2.6.4: configure: error: C compiler cannot create executables See 'config.log' for more details. 原因がまったくわかりません。 どこが問題か教えていただけないでしょうか。

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

  • ベストアンサー
  • cynthia4
  • ベストアンサー率51% (186/358)
回答No.2

# yum groupinstall "開発ツール" # yum groupinstall "開発ライブラリ" 英語なら、yum grouplist で見て 相当するもの これで、ほとんど通ると思うが、やってみてから 私の場合は、既にいろいろ compile しているので 何もしなくても通ったが、逆に 何が必要なのか良く解からない。

popos1215
質問者

お礼

取りあえずご指摘のツール・ライブラリを導入してみました。 http://www.softel.co.jp/blogs/tech/archives/1321 yum groupinstall "Development Tools" yum groupinstall "Development Libraries" その後monoを無事インストールすることができました。 ありがとうございます。 >何が必要なのか良く解からない。 monoに関して詳しく書かれた書籍が無い為、苦労していました。 取りあえず動かすってだけならネットに色々書いてるみたいですけど。 今後上記のうちなにが必要なのか洗い出さないといけませんね。 gccやglibなど・・・

その他の回答 (1)

  • hanmemomo
  • ベストアンサー率35% (205/580)
回答No.1

wwwwwwwwwwwwwwwwwwwww 先にコンパイル環境を入れてよwww Develなしじゃ、何もできませんって

popos1215
質問者

お礼

おお・・・ 確かにCコンパイラが見つからないと書いていましたが。(お恥ずかしい) 取りあえずGCCを入れてみたところ、先ほどのエラーは解決しました。 ありがとうございます。 すると今度は [root@localhost ~ mono-2.6.4]./configure ・・・ No Package glid-2.0 was not found in the pkg-config search path. ・・・ configure: error: You need at least glid-2.0 2.4.0 と出てきます。 glidというものが無いのかと思い、 http://www1.plala.or.jp/fukafuka/install/glib.html を参考にしてglid-2.22.0をインストールしましたが、エラーが解決しませんでした。

関連するQ&A

  • Linuxによるapacheのインストール

    ./configure --enable-so とすると、エラーがでました。 configure: error: C compiler cannot create executables See `config.log' for more details. config.logの中身のどこをみればわかるのでしょうか?

  • g++について

    FedoreCore3にjikestというソフトをインストールしようとしています。 このソフトをダウンロードしてきてconfigureしようとするとエラーがでてきてしまい先にすすめません。 ターミナルではこのように出力されます。 checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details. そしてconfig.logをみてみると configure:2023: checking for C++ compiler version configure:2026: g++ --version </dev/null >&5 ./configure: line 2027: g++: command not found configure:2029: $? = 127 configure: failed program was: というように記述されています g++がどうやらインストールされていないのでこのようなことになっているようなのですが、 g++をどこからどのようにインストールすればいいのかわかりません。 どなたかアドバイスおねがいします。

  • rubyのインストールについて

    windowsでLinux(ubuntu)を動かしております。 で、rubyをインストールしたいんですが、インストール途中で以下のようなエラーがでました。 $ ./configure checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 checking target system type... i686-pc-linux-gnulibc1 checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. どのようにすればうまく実行することができますか??

  • VineLinux3.2でのMRTG(こちらで回答ねがいます)

    こんばんわ MRTGを導入しようと思ってダウンロード→tar.gz解凍→./configureを打ったら以下のエラーメッセージが出てきます。 [root@localhost mrtg-2.12.2]# ./configure 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. このときはどうすればよいのでしょうか。 尚参考ページとして、http://vine.1-max.net/net-snmp+MRTG.htmlを見てやりました。

  • OSX Server 10.2.3でのPHPのコンパイルについて

    MAC OSXでマルチバイト関数を使いたいので 最新版 PHP 4.3.0を導入しようと奮闘しています。 なんとかデベロッパーツールを入れて コンパイルまでかけてみたのですが下記のような エラーが出てすすみません。 noと出ているモジュールをすべて入れないといけないのですしょうか?もしそうであれば、やり方も教えていただけると幸いです。 環境:MAC OSX Server 10.2.3です。 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --with-xml --with-apache=/src/apache_1.3.27 loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for working sed... sed checking host system type... powerpc-apple-darwin6.3 checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. よろしくお願いいたします。

    • 締切済み
    • Mac
  • Solaris10 コンパイル エラー

    Solaris 10 (x86) に PHP 5.2.3 をインストール(コンパイル)しようとしているのですが、次のエラーが出てインストール出来ません。 どうすればインストール出来るのでしょうか? どなたかわかる方がいたら教えて下さい。 -------------------------------------------------- loading cache ./config.cache checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking for egrep... (cached) egrep checking for a sed that does not truncate output... (cached) /usr/bin/sed checking host system type... i386-pc-solaris2.10 checking target system type... i386-pc-solaris2.10 checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. --------------------------------------------------

  • rsyncのインストール(エラー発生)

    solaris9のマシンでデータの同期を行いたい為、rsyncを導入しようと思いました。 http://ash.jp/freebsd/rsync.htm などのサイトを参考にインストールを実行しようとしたところ、 ------------------------------------------------------------ # ./configure configure: Configuring rsync 2.6.8 checking build system type... sparc-sun-solaris2.8 checking host system type... sparc-sun-solaris2.8 checking target system type... sparc-sun-solaris2.8 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. # ------------------------------------------------------------ のようにエラーが発生してしまいました Cコンパイラが見つからない(?) のようなことだと思われるのですが 解決方法として如何すればよいのでしょうか? よろしくお願い致します。   

  • phpのインストール

    fedora core1にphp4。3。6をインストール中です。 makeのターゲットの指定とはどうやったらいいのですか? [root@ocn src]# cd php-4.3.6 [root@ocn php-4.3.6]# ./configure --with-pgsql \ > --enable-mbstring \ > --enable-mbregex \ > --with-apxs=/opt/apache/bin/apxs creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whetherthe C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for re2c... exit 0; checking for ranlib... ranlib checking whether ln -s works... yes checking for mawk... no checking for gawk... gawk checking for bison... no checking for byacc... no configure: warning: You will need bison if you want to regenerate the PHP parsers. checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ./configure: line 2425: lex: command not found configure: error: cannot find output from lex; giving up You have new mail in /var/spool/mail/root [root@ocn php-4.3.6]# make make: *** ターゲットが指定されておらず、makefile が見つかりません. 中止。

  • fodora10でのソフトウェアのインストール

    linux初心者です。 タイトルの通り、現在使用しているfedora10で、ソフトウェアのインストールができず、困っています。 具体的に言うと、xxx.tar.gzのようなものをインストールしようとすると、./configureのところで #./configure 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 gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ranlib... ranlib 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 g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for wx-config... no configure: error: Please check that wx-config is in path, the directory where wxWindows libraries are installed (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWindows is version 2.6.0 or above. のようになり、その後makeをすると # make make: *** ターゲットが指定されておらず, makefile も見つかりません. 中止. となってしまいます。./configure でエラーが出ている様なのですが、よく分かりません。 どなたか知っていましたら解決法を教えていただければありがたいです。お願いします。

  • VirtualPC CentOs5でmonoを導入 libgdiplu

    VirtualPC CentOs5でmonoを導入 libgdiplusインストール libgdiplus2.6.4をインストールしようと考えています。 http://www.flateight.com/modules/bwiki/index.php?FreeBSD%2FASP.NET%A4%F2%C6%B0%A4%AB%A4%BB%A4%EB%A4%E8%A4%A6%A4%CB%A4%B9%A4%EB%A1%A3%A1%CAmod_mono%A1%CB#content_1_6 を参考にインストールを開始したのですが、 makeの時点で以下のエラーとなります。 ~ make[2]: *** [testgdi] エラー 1 make[2]: ディレクトリ '/root/libgdiplus-2.6.4/tests' から出ます make[1]: *** [all-recursive] エラー 1 make[1]: ディレクトリ '/root/libgdiplus-2.6.4' から出ます make: *** [all] エラー 2 [root@localhost libgdiplus-2.6.4]# 原因は何でしょうか。