これ何て呼びますか

CentOS5にてRRDTOOL1.2.23をインストールしようとしているのですが、
./configureをした際
* I could not find a working copy of freetype2. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libfreetype and its header files. If
you have not installed freetype2, you can get it either from its original home on

http://prdownloads.sourceforge.net/freetype/

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of freetype2 is 2.1.10.

LIBS=-lm
LDFLAGS=
CPPFLAGS= -I/usr/include/freetype2
となります。
freetype2をtarからインストールしたのですが、再度同じエラーがでます。
エラーからfreetypeの位置がわからないのだとおもうのですが、どのように対処したらいいのでしょうか?

この場合、freetype2のインストールに原因があるのでしょうか?もしくはrrdtoolの./configureの時に原因があるのでしょうか?

よろしくお願いします。

A 回答 (1件)

こんにちは。



CentOSで普通にコンパイル・インストールできましたけど。
freetypeパッケージがインストールされていることを確認して下さい。

[root@localhost]# rpm -qa | grep freetype
freetype-devel-2.1.9-5.el4
freetype-2.1.9-5.el4

[root@localhost]# ./configure
[root@localhost]# make
[root@localhost]# make install

[root@localhost]# ls /usr/local/rrdtool-1.2.23/
./ ../ bin/ include/ lib/ man/ share/


[root@localhost]# /usr/local/rrdtool-1.2.23/bin/rrdtool
RRDtool 1.2.23 Copyright 1997-2007 by Tobias Oetiker <tobi@oetiker.ch>
        Compiled May 31 2007 07:11:53
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!