<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Hi Charlie,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I've built both from the hourly snapshot two days ago and from the HEAD svn version last night. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>From the hourly snapshot I get the same "geos_wrap.cxx: error: invalid conversion from 'size_t*' to 'unsigned int*'" error that I get with geos-3.0.0rc1,2 and 3.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>From the HEAD svn version (r2029) it won't build because it can't find "geos_c.h" in line 1612 of geos_wrap.cxx. After I remedied that, it built OK, but then again the *same* issue of "LoadError: no such file to load -- geos" error when I typed "require 'geos'" in the irb console. This acts just like the geos-3.0.0rc4 issue.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Charlie, have you (or anyone out there) successfully built a geos-3 release with --enable-ruby set on Mac OS? If so, can you send me a log of the whole build process so I can troubleshoot my own issues?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks,</DIV><DIV>Ramie</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV><DIV>On Oct 23, 2007, at 8:46 PM, Charlie Savage wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Ramie,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&gt; Hi Charlie,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&gt; After (a seemingly successful) build of geos-3.0.0rc4, I did cd to the</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&gt; both the "/usr/local/src/geos-3.0.0rc4/" build directory and the</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&gt; "/usr/local/lib/ruby/site_ruby/1.8/i686-darwin8.9.1/" directory (which</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&gt; contains the resulting geos.a, geos.la, and geos.so files) and try irb</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&gt; and got the "LoadError: no such file to load -- geos" error when I typed</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&gt; "require 'geos'" in the irb console.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&gt;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Try using the head version from SVN or a snapshot build.<SPAN class="Apple-converted-space">  </SPAN>I made a large number of changes to the SWIG bindings after RC4 (see <A href="http://geos.refractions.net/ro/SVN.txt">http://geos.refractions.net/ro/SVN.txt</A>).</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Charlie</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV></BLOCKQUOTE><BR></DIV><BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><B>From: </B>Ramie Blatt</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><B>Date: </B>October 23, 2007 6:59:21 PM MDT</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><B>Subject: </B><B>Re: [geos-devel] Can't build geos with ruby swig bindings on Mac OS</B></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR style></DIV>Hi Charlie,<DIV style><BR class="khtml-block-placeholder"></DIV><DIV style>After (a seemingly successful) build of geos-3.0.0rc4, I did cd to the both the "/usr/local/src/geos-3.0.0rc4/" build directory and the "/usr/local/lib/ruby/site_ruby/1.8/i686-darwin8.9.1/" directory (which contains the resulting geos.a, geos.la, and geos.so files) and try irb and got the "LoadError: no such file to load -- geos" error when I typed "require 'geos'" in the irb console. </DIV><DIV style><BR class="khtml-block-placeholder"></DIV><DIV style>I'm attaching a full terminal log of the rc4 build process and the irb sessions called "geos-3.0.0rc4_err.txt"</DIV><DIV style><BR class="khtml-block-placeholder"></DIV><DIV style>A partial trace for the make error on the geos-3.0.0rc1,2 and 3 tarballs is below. and I attach a full terminal log for the build process on rc3 called "geos-3.0.0rc3_err.txt".</DIV><DIV style><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">----------------------------------------------</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "> 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 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">geos_wrap.cxx: In function 'void checkCoordSeqBounds(GEOSCoordSeq_t*, size_t)':</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">geos_wrap.cxx:1702: error: invalid conversion from 'size_t*' to 'unsigned int*'</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">geos_wrap.cxx: In function 'int GeosCoordinateSequence_getSize(GeosCoordinateSequence*)':</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">geos_wrap.cxx:1844: error: invalid conversion from 'size_t*' to 'unsigned int*'</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">geos_wrap.cxx: In function 'int GeosCoordinateSequence_getDimensions(GeosCoordinateSequence*)':</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">geos_wrap.cxx:1850: error: invalid conversion from 'size_t*' to 'unsigned int*'</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">make[4]: *** [geos_la-geos_wrap.lo] Error 1</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">make[3]: *** [all-recursive] Error 1</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">make[2]: *** [all] Error 2</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">make[1]: *** [all-recursive] Error 1</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">make: *** [all-recursive] Error 1</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">----------------------------------------------</DIV><DIV style><BR class="khtml-block-placeholder"></DIV><DIV style>Many thanks for your help!</DIV><DIV style>Ramie</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><BR><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; "><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>