#174 pango (1.0.2) fails to build

closed
nobody
None
5
2011-09-18
2011-09-18
No

Hello again,

thanks for the quick fix!

However I suspect, that pango 1.0.2 has the same problem as atk 1.0.1 (Bug #3411204 ), so whatever fix got applied to atk should be applied there as well!

At least the console output and the mkmf.log look pretty similiar.

For your reference, here they are again:

tobi@business ~/github/infoes $ bundle update
Updating https://github.com/ashbb/green_shoes
Fetching source index for http://rubygems.org/
Using rake (0.9.2)
Using addressable (2.2.6)
Using pkg-config (1.1.2)
Using glib2 (1.0.2)
Using atk (1.0.2)
Using cairo (1.10.0)
Using diff-lcs (1.1.3)
Using multipart-post (1.1.3)
Using rack (1.3.3)
Using faraday (0.7.4)
Using faraday_middleware (0.7.0)
Using gdk_pixbuf2 (1.0.2)
Installing pango (1.0.2) with native extensions /home/tobi/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:552:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)

/home/tobi/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for GCC... yes
checking for rb_define_alloc_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for new allocation framework... yes
checking for attribute assignment... *** 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
--without-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=/home/tobi/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
/home/tobi/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1473:in `method_missing': undefined method `last' for #<Gem::Specification name=cairo version=1.10.0> (NoMethodError)
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@greenfoes/gems/glib2-1.0.2/lib/mkmf-gnome2.rb:388:in `check_cairo'
from extconf.rb:54:in `<main>'
no

Gem files will remain installed in /home/tobi/.rvm/gems/ruby-1.9.2-p290@greenfoes/gems/pango-1.0.2 for inspection.
Results logged to /home/tobi/.rvm/gems/ruby-1.9.2-p290@greenfoes/gems/pango-1.0.2/ext/pango/gem_make.out
from /home/tobi/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:530:in `block in build_extensions'
from /home/tobi/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `each'
from /home/tobi/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `build_extensions'
from /home/tobi/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:180:in `install'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/source.rb:101:in `block in install'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:78:in `preserve_paths'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/source.rb:91:in `install'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/installer.rb:58:in `block (2 levels) in run'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/installer.rb:57:in `block in run'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/installer.rb:49:in `run'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/installer.rb:8:in `install'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/cli.rb:268:in `update'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/vendor/thor/task.rb:22:in `run'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/vendor/thor.rb:263:in `dispatch'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/lib/bundler/vendor/thor/base.rb:386:in `start'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.18/bin/bundle:13:in `<top (required)>'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/bin/bundle:19:in `load'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@global/bin/bundle:19:in `<main>'

and the mkmf.log again:

"gcc -I/home/tobi/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/home/tobi/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -I/home/tobi/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/vendor_ruby/1.9.1/x86_64-linux -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -Wall -c conftest.c"
conftest.c:4:18: fatal error: node.h: No such file or directory
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include "ruby.h"
4: #include "node.h"
5: int node_attrasgn = (int)NODE_ATTRASGN;
/* end */

Thanks + cheers,
Tobi

Discussion

  • Kouhei Sutou

    Kouhei Sutou - 2011-09-18

    Ahh....!!!
    Sorry...

    Now, I've fixed it in trunk...

     
  • Kouhei Sutou

    Kouhei Sutou - 2011-09-18
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks