[Gdal-dev] Re: ruby bindings not compiling from CVS

Charlie Savage cfis at interserv.com
Fri May 19 03:48:52 EDT 2006


Hi Ken-ichi,

Sorry, I've been awfully busy on other stuff so haven't had a chance to 
look.  I'll take a look this weekend.

Charlie

Ken-ichi Ueda wrote:
> I lost track of this conversation when it started getting into the 
> guts of SWIG and the GDAL compilation process.  What's the current 
> status of this problem?  I just tried to download and compile the 
> daily CVS version and experienced exactly the same issue.  Has a bug 
> been filed?  Anyone know if this is likely to get fixed any time 
> soon?  Is there anything I can do as someone who knows nothing about C 
> or SWIG?
>
> -Ken-ichi
>
>
> On May 2, 2006, at 10:45 AM, Charlie Savage wrote:
>
>> Don't have a Mac.  I'll try to take a look at windows and linux, 
>> maybe the problem occurs there also.
>>
>> Charlie
>>
>> Ken-ichi wrote:
>>> No, no errors during the compilation, and no mention of 'ruby' 
>>> whatsoever during the same.  I take it you are unable to reproduce 
>>> this problem?
>>>
>>> Ken-ichi Ueda
>>> Kelly Research and Outreach Lab (http://kellylab.berkeley.edu)
>>> University of California, Berkeley
>>> Environmental Science, Policy, and Management
>>> Berkeley, CA 94720
>>> tel: 510.642.8322
>>> fax: 510.642.1477
>>> e-mail: kueda at nature.berkeley.edu
>>>
>>>
>>>
>>> Charlie Savage wrote:
>>>> Any error messages in the compiling stage?
>>>>
>>>> Charlie
>>>>
>>>> Ken-ichi wrote:
>>>>> Hi Charlie,
>>>>>
>>>>> Nope, the extension never gets built.  The only things in 
>>>>> swig/ruby are the sources and makefiles.
>>>>>
>>>>> Ken-ichi Ueda
>>>>> Kelly Research and Outreach Lab (http://kellylab.berkeley.edu)
>>>>> University of California, Berkeley
>>>>> Environmental Science, Policy, and Management
>>>>> Berkeley, CA 94720
>>>>> tel: 510.642.8322
>>>>> fax: 510.642.1477
>>>>> e-mail: kueda at nature.berkeley.edu
>>>>>
>>>>>
>>>>>
>>>>> Charlie Savage wrote:
>>>>>> Hi Ken-ichi,
>>>>>>
>>>>>> Is the extension successfully built?  IE., is there a gdal.so 
>>>>>> file in the swig/ruby directory?
>>>>>>
>>>>>> Charlie
>>>>>>     Ken-ichi wrote:
>>>>>>> Hi all,
>>>>>>>
>>>>>>> When I try to compile the latest CVS (4.30.06) version of GDAL 
>>>>>>> --with-ruby, configuring and compiling go off without a hitch, 
>>>>>>> but when I try to make install, I get this error:
>>>>>>>
>>>>>>> (cd swig; make install)
>>>>>>> for dir in ruby ; do (cd $dir; make install ); done
>>>>>>> make -f RubyMakefile.mk install
>>>>>>> /bin/sh /usr/local/src/gdal-cvs-2006.04.30/libtool 
>>>>>>> --mode=install /usr/local/src/gdal-cvs-2006.04.30/install-sh -c 
>>>>>>> gdal.so ogr.so gdalconst.so osr.so 
>>>>>>> /usr/darwinports/lib/ruby/site_ruby/1.8/powerpc-darwin8.6.0/gdal
>>>>>>> /usr/local/src/gdal-cvs-2006.04.30/install-sh -c gdal.so 
>>>>>>> /usr/darwinports/lib/ruby/site_ruby/1.8/powerpc-darwin8.6.0/gdal/gdal.so 
>>>>>>>
>>>>>>> install:  gdal.so does not exist
>>>>>>> make[3]: *** [install] Error 1
>>>>>>> make[2]: *** [install] Error 2
>>>>>>> make[1]: *** [install] Error 2
>>>>>>> make: *** [install-actions] Error 2
>>>>>>>
>>>>>>>
>>>>>>> It doesn't look like gdal.so is getting made at all.  I'm 
>>>>>>> getting basically the same error on Mac OS 10.4 and Gentoo 
>>>>>>> Linux.  I do not get this error on Gentoo with the 1.3.1 source 
>>>>>>> (haven't tried that one on my Mac yet).
>>>>>>>
>>>>>>> Any thoughts?
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>
>>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060519/fe6553ff/smime.bin


More information about the Gdal-dev mailing list