[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mgp-users-jp 00650] Re: Snap-19991122.tar.gz cannot compile w/VFlib
- To: mgp-users-jp@mew.org, nishida@sfc.wide.ad.jp
- Subject: [mgp-users-jp 00650] Re: Snap-19991122.tar.gz cannot compile w/VFlib
- From: HEO SeonMeyong <seirios@Matrix.iri.co.jp>
- Date: Thu, 25 Nov 1999 00:48:59 +0900
- Cc: itojun@iijlab.net
- Cc: seirios@Matrix.iri.co.jp
- In-reply-to: <>
- Posted: Thu, 25 Nov 1999 00:47:57 +0900
- References: <> <>
- Reply-to: mgp-users-jp@mew.org
許です。
> しかし、直接freetypeは使いたくないけど、VFlib経由なら使うってのは、
> 微妙な要求な気もしますが。。
非常に大きな勘違いをしていることに気がつきました。
もういちど、よーくconfigureを見たら、freetype.hを探すDirectoryに
/usr/local/include/freetype が無い事に気づきました。
freetype-1.3では、/usr/local/includeではなく、
/usr/local/include/freetypeにHeaderがおかれるのですが、そのせいで、
FreeTypeがないと思われていたんですね。
で、その時に VFlib だけcheckしにいって失敗すると。
> VFlibをソースからbuildすると、--disable-freetypeを指定しない限り
> libttfを見つけると ttfを必要とする versionをつくるようになってるみたいです。
というわけで、大きな勘違いだったようです。
# itojunさんのMailで気付くべきだった。恥ずかしい
これだけではあまりに情けないので、coonfigure.inのpatchを作りました。
これで、freetype-1.1/1.2 と freetype-1.3の両方に対応できるはずです。
実際、問題は解決しました。
ほ
--- configure.in.orig Fri Sep 10 16:14:51 1999
+++ configure.in Thu Nov 25 00:40:51 1999
@@ -89,7 +89,9 @@
fi
if test -d $dir/include -a -f $dir/include/freetype.h; then
ac_cv_ft_include="$dir/include"
- fi
+ elif test -d $dir/include/freetype -a -f $dir/include/freetype/freetype.h; then
+ ac_cv_ft_include="$dir/include/freetype"
+ fi
if test "$ac_cv_ft_lib" != "no" -a "$ac_cv_ft_include" != "no"; then
LIBS="-L$ac_cv_ft_lib $LIBS"
CFLAGS="-I$ac_cv_ft_include $CFLAGS"