<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Hi there,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'm having quite a time of it trying to build geos with the ruby swig bindings on a MacBook Pro.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Any help on this issue would be appreciated.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>When I try to build geos from any of the following releases (uninstalling between attempts):</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">[2006/12/14] geos-3.0.0rc3.tar.bz2</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">[2006/11/05] geos-3.0.0rc2.tar.bz2</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">[2006/09/09] geos-3.0.0rc1.tar.bz2</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I get the following error at the make command:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>----------------------------------------------</DIV><DIV> g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers/geos -I/usr/local/lib/ruby/1.8/i686-darwin8.9.1 -I../../capi -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT geos_la-geos_wrap.lo -MD -MP -MF .deps/geos_la-geos_wrap.Tpo -c geos_wrap.cxx  -fno-common -DPIC -o .libs/geos_la-geos_wrap.o</DIV><DIV>geos_wrap.cxx: In function 'void checkCoordSeqBounds(GEOSCoordSeq_t*, size_t)':</DIV><DIV>geos_wrap.cxx:1702: error: invalid conversion from 'size_t*' to 'unsigned int*'</DIV><DIV>geos_wrap.cxx: In function 'int GeosCoordinateSequence_getSize(GeosCoordinateSequence*)':</DIV><DIV>geos_wrap.cxx:1844: error: invalid conversion from 'size_t*' to 'unsigned int*'</DIV><DIV>geos_wrap.cxx: In function 'int GeosCoordinateSequence_getDimensions(GeosCoordinateSequence*)':</DIV><DIV>geos_wrap.cxx:1850: error: invalid conversion from 'size_t*' to 'unsigned int*'</DIV><DIV>make[4]: *** [geos_la-geos_wrap.lo] Error 1</DIV><DIV>make[3]: *** [all-recursive] Error 1</DIV><DIV>make[2]: *** [all] Error 2</DIV><DIV>make[1]: *** [all-recursive] Error 1</DIV><DIV>make: *** [all-recursive] Error 1</DIV><DIV>----------------------------------------------</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>When I try to build geos from the [2007/02/02] geos-3.0.0rc4.tar.bz2 release, everything seems to work, but then I can't actually load the geos code in ruby, getting the following error whenever "require 'geos'" is encountered, even though I can see the geos.a, geos.la, and geos.so  files in the /usr/local/lib/ruby/site_ruby/1.8/i686-darwin8.9.1/  directory:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>----------------------------------------------</DIV><DIV>&gt;&gt; require 'geos'   </DIV><DIV>MissingSourceFile: no such file to load -- geos</DIV><DIV>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'</DIV><DIV>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'</DIV><DIV>        from ./script/../config/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:147:in `require'</DIV><DIV>        from (irb):5</DIV><DIV>        from :0</DIV><DIV>----------------------------------------------</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>My environment, below, seems to be a good sane environment, and I run several ruby on rails applications.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Mac OSX 10.4.10</DIV><DIV>gcc version 4.0.1 (Apple Computer, Inc. build 5250)</DIV><DIV>libtool Apple Computer, Inc. version cctools-590.23.2</DIV><DIV>ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.9.1]</DIV>rails 1.2.3<BR class="Apple-interchange-newline"></SPAN> </DIV><BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Any help on this issue would be appreciated.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Regards,</DIV><DIV>Ramie Blatt</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>