From: Markus J. <mar...@ya...> - 2005-04-27 06:46:49
|
hi now I did the following: $ pkg-config --modversion --libs --cflags pango 1.8.1 -I/opt/gtk/include/pango-1.0 -I/opt/gtk/include/glib-2.0 -I/opt/gtk/lib/glib-2.0/include -L/opt/gtk/lib -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 export PKG_CONFIG_PATH=/opt/gtk/lib/pkgconfig/ export PKG_CONFIG=/opt/gtk/lib/pkgconfig/ $ ruby extconf.rb checking for GCC... yes checking for rb_define_alloc_func()... yes checking for rb_block_proc()... yes checking for new allocation framework... yes checking for attribute assignment... yes checking for pango... no $ cat mkmf.log "gcc -E -I/home/mj/software/ruby/ruby-gtk2-0.12.0/pango -I/usr/local/lib/ruby/1.8/i686-linux -g -O2 conftest.c -o conftest.i" checked program was: /* begin */ /*top*/ #ifndef __GNUC__ # error #endif /* end */ have_func: checking for rb_define_alloc_func()... -------------------- yes "gcc -o conftest -I/home/mj/software/ruby/ruby-gtk2-0.12.0/pango -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/local/lib/ruby/site_ruby/1.8/i686-linux -g -O2 -Wall conftest.c -L"/usr/local/lib" -lruby-static -ldl -lcrypt -lm -lc" conftest.c: In function `t': conftest.c:4: warning: implicit declaration of function `rb_define_alloc_func' checked program was: /* begin */ /*top*/ int main() { return 0; } int t() { rb_define_alloc_func(); return 0; } /* end */ -------------------- have_func: checking for rb_block_proc()... -------------------- yes "gcc -o conftest -I/home/mj/software/ruby/ruby-gtk2-0.12.0/pango -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/local/lib/ruby/site_ruby/1.8/i686-linux -g -O2 -Wall conftest.c -L"/usr/local/lib" -lruby-static -ldl -lcrypt -lm -lc" conftest.c: In function `t': conftest.c:4: warning: implicit declaration of function `rb_block_proc' checked program was: /* begin */ /*top*/ int main() { return 0; } int t() { rb_block_proc(); return 0; } /* end */ -------------------- "gcc -c -I/home/mj/software/ruby/ruby-gtk2-0.12.0/pango -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/local/lib/ruby/site_ruby/1.8/i686-linux -g -O2 -Wall conftest.c" checked program was: /* begin */ #include "ruby.h" #include "node.h" int node_attrasgn = (int)NODE_ATTRASGN; /* end */ hope this helps. regards Markus ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |