[ruby-list:43622] Re: [ANN] rcairo 1.5.0

From: "Hideo Konami" <konami@...>
Date: 2007-06-15 14:44:32 UTC
List: ruby-list #43622
小波です。

>須藤です。
>rcairo 1.5.0をリリースしました。このバージョンではrcairoレベ
>ルのAPIが改良されています。
>
>  http://cairographics.org/releases/rcairo-1.5.0.tar.gz

るびまを読んでこれは使ってみたいと思ったのですが,Cygwin 上
でのインストールでこけてしまいました。Cygwin はフルインスト
ールされており,gcc, X は入っています。インストールのための
ヒントでも教えていただけると幸いです。

下はextconf.rb のログおよび mkmf.logの内容,それとバージョン
情報です。

-----------------------------------------------------------
> ruby extconf.rb
checking for GCC... yes
checking for cairo version (>= 1.2.0)... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/local/bin/ruby
        --with-pkg-config
        --without-pkg-config
-------------------------------------------------------

-------------------------------------------------------
> cat mkmf.log
"gcc -c -I. -I/usr/local/lib/ruby/1.8/i386-cygwin -I/usr/local/cygwin-local/inc
ude  -Os    conftest.c"
checked program was:
/* begin */
/*top*/
#ifndef __GNUC__
# error
>>>>>> __GNUC__ undefined <<<<<<
#endif
/* end */
-----------------------------------------------------
--------------------------------------------------------------
> gcc --version
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

> ruby --version
ruby 1.8.4 (2005-12-24) [i386-cygwin]

> bash --version
GNU bash, version 3.2.9(11)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.
--------------------------------------------------------------------





In This Thread