DirectFB on cygwin(その5)DirectFB - Download - extras から DFBTutorials-0.5.0.tar.gz をダウンロードして展開。 やるぞー。
$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-cygwin
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
configure: error: Library requirements (directfb >= 0.9.11) not met; consider ad
justing the PKG_CONFIG_PATH environment variable if your libraries are in a nons
tandard prefix so pkg-config can find them.
/usr/local/lib/pkgconfig に directfb.pc がある。 環境変数を設定。 $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ もういっかい ./configure 。。。 $ ./configure loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c …略 checking for gcc option to accept ANSI C... none needed /usr/local/lib/pkgconfig/directfb.pc: line 6: Name:: command not found /usr/local/lib/pkgconfig/directfb.pc: line 7: Description:: command not found /usr/local/lib/pkgconfig/directfb.pc: line 8: Version:: command not found /usr/local/lib/pkgconfig/directfb.pc: line 9: Requires:: command not found /usr/local/lib/pkgconfig/directfb.pc: line 10: Libs:: command not found /usr/local/lib/pkgconfig/directfb.pc: line 11: Cflags:: command not found *** Your version of pkg-config is too old. You need version 0.9.0 or newer. *** See http://www.freedesktop.org/software/pkgconfig configure: error: Library requirements (directfb >= 0.9.11) not met; consider a justing the PKG_CONFIG_PATH environment variable if your libraries are in a non tandard prefix so pkg-config can find them. pkg-config が古いのですか? 入れました。バージョンは 0.23a-2 でした。うーん、なぞ。 checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing このあたりってパッケージを入れれば解決するのかな? autoconf automake を入れてみる。 autoconf automake の2つを選ぶとそれぞれの全部のバージョンが入るようだ。 もう一回 ./configure
$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-cygwin
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for pkg-config... /usr/bin/pkg-config
…略
無事通った。2ついれただけで、aclocal autoheader も入ったらしい。 ※これらはいったいなんだろう?そのうち調べようかな。。。 make も通った。 DFBTutorials-0.5.0/src/simple に移動して、simple.exe を動かしてみる。
$ ./simple.exe
=======================| DirectFB 1.0.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2008-07-10 19:05)
(!) DirectFB/core/system: No system found!
simple.c <96>:
(#) DirectFBError [DirectFBCreate (&dfb)]: No (suitable) implementation found!
動かない。。。 トップページへ |
鮫洲曙町会ホームページ |