FreeBSD Port: graphics/rubygem-cairo

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

FreeBSD Port: graphics/rubygem-cairo

Robert_Burmeister
FreeBSD 10.1RC1 i386.
Not a great time to bump the default version of Ruby!

I have not been able to build rubygem-cairo since the 1.12.9 update.
Was building fine previously.

Upgraded to Ruby 2.0, as it is now the default.

Set make.conf DEFAULT_VERSIONS=ruby=2.0
and portupgraded ruby\*

rubygem-cairo is still trying to use Ruby 1.9.

gem_make.out

> /usr/local/bin/ruby19 extconf.rb --build-args
> checking for GCC... yes
> checking for Win32 OS... no
> checking for cairo version (>= 1.2.0)... yes
> *** 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=/usr/local/bin/ruby19
>     --with-pkg-config
>     --without-pkg-config
>     --with-override-variables
>     --without-override-variables
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:239:in
> `parse_pc': .pc for zlib doesn't exist. (RuntimeError)
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:181:in
> `declaration'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:130:in
> `requires_private'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:312:in
> `all_required_packages'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:195:in
> `collect_cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:134:in
> `cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:196:in
> `block in collect_cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:195:in
> `collect'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:195:in
> `collect_cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:134:in
> `cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:196:in
> `block in collect_cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:195:in
> `collect'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:195:in
> `collect_cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:134:in
> `cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:196:in
> `block in collect_cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:195:in
> `collect'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:195:in
> `collect_cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:134:in
> `cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:365:in
> `cflags'
>     from
> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:416:in
> `have_package'
>     from extconf.rb:158:in `required_pkg_config_package'
>     from extconf.rb:166:in `<main>'


_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: FreeBSD Port: graphics/rubygem-cairo

Steve Wills-5
On Thu, Oct 09, 2014 at 06:39:10AM -0400, Robert Burmeister wrote:
> FreeBSD 10.1RC1 i386.
> Not a great time to bump the default version of Ruby!
>
> I have not been able to build rubygem-cairo since the 1.12.9 update.
> Was building fine previously.

I still haven't been able to figure out why this isn't building for you.
Perhaps you could tar up the work dir and put it somewhere so I could grab it
an examine it?

> Upgraded to Ruby 2.0, as it is now the default.

Not sure this is related.

> Set make.conf DEFAULT_VERSIONS=ruby=2.0

No need to do that if you want 2.0, it's default already.

> and portupgraded ruby\*
>
> rubygem-cairo is still trying to use Ruby 1.9.
>
> gem_make.out
> > /usr/local/bin/ruby19 extconf.rb --build-args
> > checking for GCC... yes

How odd. Perhaps you could show me your complete make.conf and src.conf again,
just in case?

Steve
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: FreeBSD Port: graphics/rubygem-cairo

Hajimu UMEMOTO
In reply to this post by Robert_Burmeister
Hi,

>>>>> On Thu, 9 Oct 2014 06:39:10 -0400
>>>>> Robert Burmeister <[hidden email]> said:

> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:239:in
> `parse_pc': .pc for zlib doesn't exist. (RuntimeError)

I met same problem here on my 10.1-STABLE box.
rubygem-cairo-1.12.9 requires zlib.pc.  There is zlib.pc in
/usr/libdata/pkgconfig.  However, rubygem-pkg-config-1.1.6 doesn't
search /usr/libdata/pkgconfig.
Rebuilding rubygem-pkg-config with the attached patch fixed it.

Sincerely,



--
Hajimu UMEMOTO
[hidden email]  ume@{,jp.}FreeBSD.org
http://www.mahoroba.org/~ume/

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "[hidden email]"

patch-lib__pkg-config.rb (560 bytes) Download Attachment