[postgis-devel] GEOS 3.4.1 is out
Kashif Rasul
kashif.rasul at gmail.com
Tue Aug 20 02:57:26 PDT 2013
Ok i see the problem:
the ruby.m4 macro should be:
RUBY_SO_NAME=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["RUBY_SO_NAME"]] || Config::CONFIG[["RUBY_SO_NAME"]]'`
since LIBRUBY_SO returns the full `libruby.so.1.8.7` name which then doesn't work with the `-llibruby.so.1.8.7`…
The reason i suspect this was not caught easier was because no one in the community uses these swig bindings anymore… most have migrated to the:
geos-ffi project: https://github.com/dark-panda/ffi-geos
My suggestion would be to not include the ruby bindings in the rpm.
best wishes,
kashif
--
Kashif Rasul
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, August 20, 2013 at 11:39 AM, Kashif Rasul wrote:
> yes so i am checking as well, just to let you know whats going on:
>
> we use the `macros/ruby.m4` to populate the appropriate env. variables, in particular:
>
> RUBY_SO_NAME=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["LIBRUBY_SO"]] || Config::CONFIG[["RUBY_SO_NAME"]]'`
>
>
> which we use in the `swig/ruby/Makefile.am (http://Makefile.am)`:
>
> geos_la_LIBADD = $(top_builddir)/capi/libgeos_c.la (http://libgeos_c.la) -l$(RUBY_SO_NAME)
>
> So I am checking if something is wrong there for your particular ruby version… hope to find something soon
>
> best wishes!
> kashif
>
>
> --
> Kashif Rasul
> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>
>
> On Tuesday, August 20, 2013 at 11:36 AM, Devrim GÜNDÜZ wrote:
>
> >
> > Hi,
> >
> > On Tue, 2013-08-20 at 10:50 +0200, Sandro Santilli wrote:
> >
> > > Did you build ruby bindings successfully with precedent GEOS
> > > versions ?
> > >
> >
> >
> > Yes:
> >
> > http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/repoview/letter_g.group.html
> >
> > 3.3.8 just built fine.
> >
> > > You are explicitly enabling those buildings, right ?
> >
> > Yes:
> >
> > http://svn.pgrpms.org/browser/rpm/redhat/9.3/geos/EL-6/geos.spec#L73
> >
> > (If the page does not load properly, please reload)
> >
> > > Bindings were recently updated to support ruby 1.9.x, with a patch
> > > from Kashif Rasul (in CC). I don't use those bindings myself so can't
> > > help much with those.
> > >
> >
> >
> > Something must be broken -- Kashif, can you please jump in? This is a
> > blocked for PostGIS 2.1.0 RPMs.
> >
> > That said, I started to worry about GEOS release process -- 3.4.0 was
> > broken, 3.4.1 cannot be built on Red Hat/Fedora...
> >
> > Regards,
> > --
> > Devrim GÜNDÜZ
> > Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
> > PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
> > Community: devrim~PostgreSQL.org (http://PostgreSQL.org), devrim.gunduz~linux.org.tr
> > http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20130820/802afff8/attachment.html>
More information about the postgis-devel
mailing list