• ベストアンサー

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を見てやりました。

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

  • ベストアンサー
  • 0KG00
  • ベストアンサー率36% (334/913)
回答No.2

aptやftpサイトからダウンロードしたtarボール形式でのgcc単体でのインストールも可能でしょうが、依存関係が不明なので再インストールで「開発環境」をインストールすると吉ですね。

参考URL:
http://oku.edu.mie-u.ac.jp/~okumura/linux/?GCC

その他の回答 (1)

  • 0KG00
  • ベストアンサー率36% (334/913)
回答No.1

そのメッセージを見る限りではCコンパイラがインストールされていないような。 gccやccなどはインストールされていなければインストールしてください。

yuzuhara
質問者

補足

なるほど。 そのインストール方法を教えていただきたいのですが。。

関連するQ&A

  • linux sambaインストール

    VmwareにLINUX(Redhat)をインストールし、SAMBAをインストールをしようとしているのですが、うまくいきまん。 SAMBAを解凍した後、ソースディレクトリに移動し、configureコマンドを実行したのですが、 #./configure checking for gcc・・・no checking for cc・・・no checking for cc・・・no checking for cc1・・・no configure error:no acceptable cc found in $path となってうまくいきません。どうしたらよいのでしょか。

  • 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コンパイラが見つからない(?) のようなことだと思われるのですが 解決方法として如何すればよいのでしょうか? よろしくお願い致します。   

  • インストールができない!

    cygwin上で ファイルを解凍して インストールを実行するときに ./configure とすると loading cache ./config.cache checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH というエラーがでます。 これは何が原因でどう対処すればいいでしょうか?教えてください。

  • configure error

    WindowsXPのパソコンの環境で、Cygwinをインストールした後GNU Make(make-3.80.tar.gz)をインストールしているところです。make-3.80.tar.gzは解凍できましたが、./configureしたところ、"configure: error:no acceptable C compiler found in $PATH"というエラーが出ました。どうすればいいんですか?

  • finkを使ってdlcompatをインストールしたい

    こんにちは。 finkを使ってdlcompatをインストールしたいのですが、うまくインストールできません。どうしたらインストールできますか?(fink commanderも持っています。) fink install dlcompatをterminalで入力したときに下のような文字列が出てきてしまってダウンロードできません。 /usr/bin/sudo /sw/bin/fink install dlcompat Information about 3843 packages read in 6 seconds. The following package will be installed or updated: dlcompat gzip -dc /sw/src/dlcompat-20030629.tar.gz | /sw/bin/tar -xf - --no-same-owner --no-same-permissions patch -p1 </sw/fink/dists/unstable/main/finkinfo/libs/dlcompat.patch patching file dlfcn.c ./configure --prefix=/sw --enable-fink --mandir=/sw/share/man 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. ### execution of ./configure failed, exit code 1 Failed: compiling dlcompat-20030629-15 failed [dhcppc1:~] maruko% よろしくお願いします。

    • ベストアンサー
    • Mac
  • make でエラー

    勉強中の身です。 環境 fedora 2 postgresqlをインストールして (postgresql-8.2.1) make コンパイルがうまくいきません [postgres@localhost postgresql-8.2.1]$ ./configure checking build system type... i686-pc-linux-gnuoldld checking host system type... i686-pc-linux-gnuoldld checking which template to use... linux checking whether to build with 64-bit integer date/time support... no checking whether NLS is wanted... no checking for default port number... 5432 checking for gcc... no checking for cc... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. [postgres@localhost postgresql-8.2.1]$ make You need to run the 'configure' program first. See the file 'INSTALL' for installation instructions. make: *** [all] エラー 1 $ make とすると上記のようにエラーがでます。 ./configure -オプション が必要なのでしょうか? よろしくおねがいします。

  • CentOS5.2にPHP4.4.9をインストールしたいんですが。。。

    CentOS5.2にPHP4.4.9をインストールしたいんですが。。。 $ tar -zxvf php-4.4.9.tar.gz; cd php-4.4.9 ファイルを展開した後に $ ./configure --with-apxs2=/usr/bin/apxs --enable-mbstring --with-mysql --with-gd --with-jpeg=/usr/lib --with-png=/usr/lib を実行しましたが。 # ./configure --with-apxs2=/usr/bin/apxs --enable-mbstring --with-mysql --with-gd --with-jpeg=/usr/lib --with-png=/usr/lib loading cache ./config.cache checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH このようになってしまい何をしていいか分かりません。どなたか教えて下さい。 参考URL http://d.hatena.ne.jp/donbulinux/20090304/1236160239

  • redhat9でxineをインストールしようとして・・・

    redhat9でxineをインストールしようとしています。 xine-lib-1.0で「./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 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 for style of include used by make... GNU 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. gccがインストールされていないのかなと思い、「rpm -qa | grep gcc」とすると、 compat-gcc-7.3-2.96.118 libgcc-3.2.2-5 compat-gcc-c++-7.3-2.96.118 とでますので、パスが通ってないと思うのですが、違うのでしょうか?それともインストールされてないのでしょうか?ちなみに「echo $PATH」とすると /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/lib と出ます。

  • Solaris10でCコンパイラが見つからない?

    Solaris 10 1/06 X86版にphp5.1.2をインストールしようとしているのですが、下記エラーが表示されてコンパイルが終了してしまいます。 エラー内容を見るとCコンパイラが見つからないといっているようなのですが、どう対応すればいいのでしょうか・・・ Solaris10にはgccコンパイラがインストールされていると思うのですが・・・ どなたかよろしくおねがいします。 # ./configure loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... egrep checking for a sed that does not truncate output... /usr/bin/sed checking host system type... i386-pc-solaris2.10 checking target system type... i386-pc-solaris2.10 checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH

  • 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. ----------------------------------------------------