• ベストアンサー

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)です

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

  • ベストアンサー
  • SAYKA
  • ベストアンサー率34% (944/2776)
回答No.2

>warning: macro `AM_ICONV' not found in library ライブラリが見あたらないって出てるんだけど… iconv……かな? http://www.google.co.jp/search?q=libiconv&hl=ja&lr=lang_ja

moritan2
質問者

お礼

libiconvを落として入れたらうまくいきました。 ありがとうございました。

その他の回答 (1)

noname#98978
noname#98978
回答No.1

パッケージ版のGDではだめなのですか?

moritan2
質問者

お礼

> パッケージ版のGDではだめなのですか? なんでもかまいません。パッケージ版のGDってどこで手に入れるのですか? yum にはないですよね。

関連するQ&A

  • 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 -オプション が必要なのでしょうか? よろしくおねがいします。

  • メイクファイルからdllを生成するには

    環境はWindowsXP SP3 VisualStudio2008です。 メイクファイルからdllを生成するには dllとlib形式で用いるフリーのライブラリがありまして、 Windows用バイナリとソースが提供されています。 Windows用バイナリの方がリリースが遅いので、 最新のソースの方でdllとlibを生成しようと考えました。 しかし、中身を見ると、 C言語用の「.c」「.h」ファイル以外に以下のファイルが含まれており、 これは何なのかと疑問を持ちました。 aclocal.m4 config.guess config.sub configure configure.in depcomp INSTALL install-sh ltmain.sh Makefile.am Makefile.in missing 調べたところメイクファイルというものだと分かったのですが、 これを用いてどうやってdllを生成すればよいのでしょうか。 参考として、このライブラリの提供サイトを記載しておきます。 http://libharu.org/wiki/Downloads

  • ubuntuでの「./configure」について

    OCRopusというオープンソースのOCRシステムをubuntu10.04にインストールしたく、以下2つののURLの通りに実行したのですが、tesseract-ocrの「./configure」を実行すると、「no such or directory」とでて、調べたらconfigureファイルがありません。代わりにconfigure.acやMakefile.amファイルならあります。 どのようにしたうまくできるでしょうか? また、configure.ac、Makefile.amからconfigureファイルを作成できるのでしょうか? 回答よろしくお願いします。 URL:http://samuraism.jp/diary/2007/04/14/1176560157667.html URL:http://dokoka.org/wiki.cgi?page=Linux%A4%C7%A4%CETesseract%2FOCRopus%A4%CE%A5%A4%A5%F3%A5%B9%A5%C8%A1%BC%A5%EB

  • makeファイルを生成してくれません

    最近Linuxをはじめたばかりの初心者です。 Fedora9上でHDD録画環境を構築しようとしておりまして、 その過程でXMLTVのインストールでつまづいてしまいました。 まず、XMLTVのインストールに必要なperlモジュールの組み込みを行っていた際に、Tk::TableMatrixというモジュールのインストールだけがなぜかうまくいきません。 試した方法としましては、 ・CPAN経由で # perl -MCPAN -e 'install Tk::TableMatrix' ・yum install ・cpan2rpm 最終的にはCPANからファイルをダウンロードして解凍して、 # perl Makefile.PL でやってみたのですが、 ### Note: 'Building Outside of Tk itself' Messages are Expected Here #### /usr/bin/perl is installed in /usr/lib/perl5/5.10.0/i386-linux-thread-multi okay PPM for perl5.010000 Test Compiling config/signedchar.c Test Compile/Run config/unsigned.c Test Compiling config/Ksprintf.c Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c Test Compiling config/tod.c Test Compiling -DTIMEOFDAY_TZ config/tod.c Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c Test Compiling -DTIMEOFDAY_DOTS config/tod.c Problem gettimeofday() Using -L/usr/lib to find /usr/lib/libX11.so.6.2.0 Cannot find X include files via /usr/include Cannot find X include files anywhere at ./myConfig line 315. Compilation failed in require at Makefile.PL line 19. BEGIN failed--compilation aborted at Makefile.PL line 23. と表示され、makeファイルが生成されないようです。 とりあえず、いろいろ調べたところXMLTV側では、 Tk::TableMatrix は tv_check 実行時に必要とのことらしいので、 tc_checkはインストールせずにXMLTVのインストールを続行したところ、 Checking if your kit is complete... Looks good bad makefile line: ' $(NOECHO) $(NOOP)' at Makefile.PL line 892. と、なり、やはりmakeファイルが作られません。。。 ここまでの行程では特にこのようなことはなかったのですが、 なにかまずいことをしてしまったのでしょうか? 上記の現象について、どなたかアドバイスいただけないでしょうか。 長文失礼しました。 よろしくお願いいたします。

  • 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のバージョンは同じだと思います。 対処法が分かる方おられましたらよろしくお願いします。

  • make.sh実行時のエラー対応方法に困っています。

    皆さん、こんにちわ。 大学の研究室の勧めで、 少しづつLinuxの事を勉強しだした者です。 今回は、先生に「インストールしておいてね!」と頼まれた、 シミュレーションソフトのコンパイルに うまくいかず悩んでおりましたが、 研究室の先生がしばらく出張で連絡が取れないのと、 周囲に質問できる人がおりませんで、 一生懸命に取り組んだのですが、 突破口が見つからず、 困り果てて質問させていただきました。 先生には2つのファイルを渡されました。 1つは、シミュレータソフトのソース(C++)でして、 もう一つは、 たぶんソースを「make」するためのソフトで make.shという名前のものです。 先生には簡単な手順書を渡されていましたが、 本当に簡単なものでして、 以下にあるような、たった2行のものでした。 (1)ソースをFTPやSCPでサーバにあげて解凍(tar.gz)する。 (2)もう1つのファイル「make.sh」を実行する。 上記(1)はさすがに成功しました。 次に(2)に移りました。 すると、まりにも長いテキストなので一部割愛しますが、 以下のエラー文がでてきて成功しませんでした。 # sh make.sh compile ctl configure.ac:4: error: Autoconf version 2.61 or higher is required configure.ac:4: the top level autom4te: /usr/bin/m4 failed with exit status: 63 make.sh: line 8: ./configure: No such file or directory make: *** No targets specified and no makefile found. Stop. compile csx configure.ac:4: error: Autoconf version 2.61 or higher is required configure.ac:4: the top level autom4te: /usr/bin/m4 failed with exit status: 63 make.sh: line 8: ./configure: No such file or directory make: *** No targets specified and no makefile found. Stop. compile mdt checking for boostlib >= 1.33.1... yes checking whether the Boost::Signals library is available... yes checking for exit in -lboost_signals-gcc41-mt-1_36... yes checking for ctl... no configure: error: could not found libctl. if you have compiled libctl (still not installed) give a PATH to --with-ctl option. make: *** No targets specified and no makefile found. Stop. compile ndt compile ndt checking for boostlib >= 1.33.1... yes checking for ctl... no configure: error: could not found libctl. if you have compiled libctl (still not installed) give a PATH to --with-ctl option. make: *** No targets specified and no makefile found. Stop. compile cstp checking for boostlib >= 1.33.1... yes checking for ctl... no configure: error: could not found libctl. if you have compiled libctl (still not installed) give a PATH to --with-ctl option. make: *** No targets specified and no makefile found. Stop. compile csrpc checking for boostlib >= 1.33.1... yes checking for ctl... no configure: error: could not found libctl. if you have compiled libctl (still not installed) give a PATH to --with-ctl option. make: *** No targets specified and no makefile found. Stop. compile kbr checking for SHA1 in -lcrypto... no configure: error: could not found libcrypto. make: *** No targets specified and no makefile found. Stop. compile ovsim checking boost/assert.hpp usability... no checking boost/assert.hpp presence... no checking for boost/assert.hpp... no configure: error: Can't find "boost c++ library". Please install. make: *** No targets specified and no makefile found. Stop. make.sh: line 24: qmake-qt4: command not found make: *** No targets specified and no makefile found. Stop. どうすれば、「make.sh」に成功するのか?と、 とりあえず、エラーのでている内容で、 不足しているものについては、 インストールしてみよう!と思い、 # yum install boost # yum install qt4 これらにより、例えばboostやqt4に関するエラーなどについては、 解消されるのだと思いつつトライしてみたのですが、 yumインストールに成功するも、 全くエラー内容に改善は無く、 エラーの対処が分からなくなってしまいました状態です。 初心者の質問ですので、 回答するのは不足点などもあるかもしれませんが、 どなたか、アドバイスいただけると、 大変ありがたいです。 OSはCentOS5系になっています。 どうぞ宜しくお願い致します。

  • configureでglib2が見つからない

    atk-1.0.3でconfigureしたところ、 checking for pkg-config... /usr/local/bin/pkg-config checking for GLIB - version >= 2.0.0... no *** Could not run GLIB test program, checking why... という表示が出て止まってしまいました。 しかし、さきほどglib2.0.7を入れたところです。pkg-configにただしく設定されていないためでしょうか。pkg-config自体、使ったことがないため、困っています。

  • qmai-smtpup エラー

    qmail-1.03 qmail-vida-0.53 ucspi-tcp-0.88 checkpassword-0.90 を普通にインストールしました。 qmail-1.03にqmail-date-localtime.patchをあてました。 特に難しいことはしていないつもりです。 以下のコマンドでsmtpを起動しました。 exec env - ALLOWPLAIN="" DOMAINOWNER="" /usr/local/bin/tcpserver -R -H -l0 -v -x /etc/tcp.smtp.cdb 0 smtp /var/qmail/bin/qmail-smtpup DOMAIN.jp /bin/checkpassword DOMAIN.jp 2>&1 | /var/qmail/bin/splogger smtpd 4 & すると warning: dropping connection, unable to run /var/qmail/bin/qmail-smtpup: file does not exist とmaillogに残ります。 /var/qmail/binにqmail-smtpupがありません。 qmail-popupはあります。 どうしたらいいのでしょうか? また、起動コマンドの最後の"4"という数字の意味はどのようないみなのでしょうか? よろしくお願いします。

  • cloopのコンパイル

    Debianのlennyを利用してます。 cloopをコンパイルするため、makeを実行すると以下のようにエラーになってしまいます ーーーーーーーーーーーーーーーーーーーーーー cd advancecomp-1.15 && ./configure /bin/sh: line 0: cd: advancecomp-1.15: そのようなファイルやディレクトリはありません make: *** [advancecomp-1.15/config.status] エラー 1 ーーーーーーーーーーーーーーーーーーーーーー Makefileの読み方もよくわからないようなレベルなので、どう対処したらいいのかわかりません。 何かアドバイスをお願いします。 Debianにadvancecompパッケージはインストールしてあります。

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

    Mac OSX10.7.5です。 glib2.34.3をインストールしたいのですが、makeのところでエラーが出ているようです。 Making install in m4macros cd .. && /bin/sh ./config.status m4macros/Makefile config.status: creating m4macros/Makefile make[2]: Nothing to be done for `install-exec-am'. .././install-sh -c -d '/usr/local/share/aclocal' /usr/bin/install -c -m 644 glib-2.0.m4 glib-gettext.m4 gsettings.m4 '/usr/local/share/aclocal' 他にはinstall-data-am, install-data-hookに対して同じようなメッセージが出ています。 他に必要なパッケージ(pkg-config, automake, libffi, gettext等)はfink経由もしくは直接インストールしました。Lionでのfinkはglibに対応しておらず、また使うソフト(AFNI)でMacportsは勧められていないため、インストールを試みているところです。 どなたか対処法をお願いします。