- ベストアンサー
MPFRのインストールができない
LedHatLinux5.2です。 mySQL5.1.31をインストールするためにMPFRが要求されています。 MPFRをインストールしようとしたところ・・・ configureの途中で警告が出ています。その後makeすると make: *** '../mpfr-2.4.0/Makefile.in'に必要なターゲット'@MAINTAINER_MODE_TRUE@'をmakeするルールがありません。 と出ます。 警告の中身は 'gmp.h' and 'libgmp' seems to have different versions or we cannot run a program linked with GMP (if you cannot see the version numbers above). However since we can't use 'libtool' inside the configure, we can't be sure. See 'config.log' for details. です。 config.logを見たのですがよく分かりませんでした。 gmpはアンインストールしてから入れ直したのでgmp.hとlibgmpのバージョンは同じだと思います。 対処法が分かる方おられましたらよろしくお願いします。
- みんなの回答 (4)
- 専門家の回答
関連するQ&A
- Linuxによるapacheのインストール
./configure --enable-so とすると、エラーがでました。 configure: error: C compiler cannot create executables See `config.log' for more details. config.logの中身のどこをみればわかるのでしょうか?
- 締切済み
- Linux系OS
- Linuxにおけるoctaveのインストール
CentOSでoctaveをインストールしようと思い、 以下のURLを参考にインストールしようとしました。 http://www.obihiro.ac.jp/~suzukim/masuda/octave/octave_version3_compile.html が、最後のOctaveの./configureを実行する際に 以下のようなエラーが出てしまいました。(抜粋) checking for long long int... yes checking for unsigned long long int... yes checking for sigset_t... yes checking for sig_atomic_t... yes checking for short... yes checking size of short... configure: error: cannot compute sizeof (short) See `config.log' for more details. config.logは以下のようになっていました。(抜粋) configure:17378: checking size of short configure:17728: gcc -o conftest -g -O2 -I/usr/local/include conftest.c -lhdf5 -lz -lm >&5 configure:17731: $? = 0 configure:17737: ./conftest ./conftest: error while loading shared libraries: libhdf5.so.0: cannot open shared object file: No such file or directory configure:17740: $? = 127 configure: program exited with status 127 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" (中略) | return 0; | } configure:17751: error: cannot compute sizeof (short) See `config.log' for more details. 参考URLに書いてあることは一通りやっています。 octaveのバージョンを変えてみてもダメでした。 何か解決策がわかる方いらっしゃいましたら、回答お待ちしております。
- ベストアンサー
- Linux系OS
- 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++をどこからどのようにインストールすればいいのかわかりません。 どなたかアドバイスおねがいします。
- ベストアンサー
- Linux系OS
- libgdのmake でエラー
perl で GD を使うために libgd をインストールしようとしているのですが、make で次のようなエラーがでて先に進めません。どうすればいいでしょうか? cd . && /bin/sh /var/morita/linux_apps/gd-2.0.35/config/missing --run aclocal-1.9 -I config aclocal:configure.ac:64: warning: macro `AM_ICONV' not found in library cd . && /bin/sh /var/morita/linux_apps/gd-2.0.35/config/missing --run automake-1.9 --foreign Makefile.am:18: Libtool library used but `LIBTOOL' is undefined Makefile.am:18: Makefile.am:18: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:18: to `configure.ac' and run `aclocal' and `autoconf' again. make: *** [Makefile.in] Error 1 libgdのバージョンはgd-2.0.35です。 configureのスイッチは ./configure --bindir=/usr/local/bin/gd-2.0.35 です。 OSはlinux(CentOS 4.4)です
- ベストアンサー
- Linux系OS
- PostgreSQLのインストール
./configureすると configure: error: readline library not found If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support. というエラーが出ます。 この先make できません。 どう対処したらいいかわからず困っています。
- 締切済み
- Linux系OS
- Macでのgcl-2.6.7のインストールについて
Macで数式処理ソフトMaximaをインストールしようと思っています。 http://macwiki.sourceforge.jp/wiki/index.php/Maxima#.E3.82.A4.E3.83.B3.E3.82.B9.E3.83.88.E3.83.BC.E3.83.AB.E9.96.A2.E4.BF.82.E3.81.AE.E8.A3.9C.E8.B6.B3 を参照したところgclをインストールする必要があるとのことでインストールを試みたのですがうまくいきません。 まず ./configure --enable-readline --enable-ansi を実行したところ最後の4行で cp: gmp3/gmp.h: No such file or directory checking for leading underscore in object symbols... no checking for GNU ld option -Map... no checking for size of gmp limbs... Cannot determine mpsize と出力されます。確かにgmp3フォルダにgmp.hというファイルはありませんでした。代わりにgmpxx.hというファイルはあります。 次にmakeを実行すると最後の3行で /bin/sh: /bin/gcl: Permission denied make[1]: *** [install-command] Error 1 make: *** [command] Error 2 と出力されます。明らかにコンパイルされていない気がします。 どなたか分かる方がいましたら助けてください。 環境はMac OS X 10.5.4のMacBookです。 UNIXはあまり詳しくないです。
- 締切済み
- 数学・算数
- 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
- 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. どのようにすればうまく実行することができますか??
- 締切済み
- その他(プログラミング・開発)
- 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. 原因がまったくわかりません。 どこが問題か教えていただけないでしょうか。
- ベストアンサー
- Linux系OS
- Solaris10でNet-SNMPがインストールできない
Solaris初心者です。よろしくお願いします。 Net-snmpをSolaris10にソースからインストールしようとしたのですが、下記のエラーが出てしまいインストールできません。 ./configure make make test(Summary: 59 / 59 succeeded.) make install creating directory /usr/local/include/net-snmp ./install-sh -c -m 644 ./include/net-snmp/version.h /usr/local/include/net-snmp/version.h cp: cannot create /usr/local/include/net-snmp/#inst.3763#: Permission denied *** Error code 2 The following command caused the error: if test "version.h" != "" ; then \ echo creating directory /usr/local/include/net-snmp ; \ it="version.h" ; \ /bin/sh ./mkinstalldirs /usr/local/include/net-snmp ; \ for i in $it ; do \ /bin/sh ./libtool --mode=install ./install-sh -c -m 644 ./include/net-snmp/$i /usr/local/include/net-snmp ; \ echo "installing $i in /usr/local/include/net-snmp" ; \ done \ fi make: Fatal error: Command failed for target `installlocalheaders' googleで調べては見たのですが(エラー文)同じ問題に対しての返答がなくて困っています。どうしたらよいでしょうか?よろしくお願いします。
- 締切済み
- Solaris系OS
お礼
ありがとうございます! ソースコードが公式に配布されているものでなかったようで、教えていただいた所からダウンロードし、無事インストールできました! ちなみにインストールできなかった方のconfig.statusを見たのですが「MAINTAINER_MODE_TRUE」がありませんでした。それでエラーが出ていたのかもしれません。 ソースコードをダウンロードしてくる場所は重要なんですね。勉強になりました。