From: Kouhei S. <ko...@co...> - 2009-10-04 08:34:50
|
Hi, In <607...@ru...> "Re: [ruby-gnome2-devel-en] [ANN] Ruby-GNOME2 0.19.2" on Wed, 30 Sep 2009 11:23:29 +0200, Simon Arnaud <rub...@an...> wrote: > Kouhei Sutou wrote: >> Do you have INCFLAGS variable in your glib/src/Makefile? I >> want to use INCFLAGS instead of CPPFLAGS. > > After ruby extconf.rb > > With ruby 1.8.6, glib/src/Makefile : > INCFLAGS = -I. -I. > -I/home/sarnaud/.rvm/ruby-1.8.6-p383/lib/ruby/1.8/x86_64-linux > -I/home/sarnaud/src/ruby-gnome2-all-0.19.3/glib > -I/home/sarnaud/.rvm/ruby-1.8.6-p383/lib/ruby/site_ruby/1.8/x86_64-linux > CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC > -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_UNISTD_H > -DHAVE_G_SPAWN_CLOSE_PID -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH > -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE > -DHAVE_RUBY_SET_CURRENT_SOURCE -DHAVE_RB_CURR_THREAD > -DRUBY_GLIB2_COMPILATION > > With ruby 1.9.1, glib/src/Makefile : > INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) > -I$(srcdir) -I$(sitearchdir) -I$(vendorarchdir) > CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC > -DHAVE_OBJECT_ALLOCATE -DHAVE_UNISTD_H -DHAVE_G_SPAWN_CLOSE_PID > -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV > -DHAVE_RB_CHECK_ARRAY_TYPE -DHAVE_RB_EXEC_RECURSIVE -DHAVE_RB_ERRINFO > -DHAVE_RB_SOURCEFILE -DHAVE_RB_SOURCELINE > -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_RUBY_NATIVE_THREAD_P > -DRUBY_GLIB2_COMPILATION $(DEFS) $(cppflags) > > If you want more info, I can post the whole Makefile for each, and > config::CONFIG, or some items in particular in it. Thanks! It's enough information for me. -- kou |