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

Charlie Savage cfis at interserv.com
Tue May 2 14:21:23 EDT 2006


The error on the build box is that the -autorename SWIG switch is in 
SWIG 1.3.28 and higher.

Thought Ari upgraded Perl to use SWIG 1.3.29?  The current CVS ruby swig 
wrapper cxx files are from 1.3.28 if I remember correctly.  Any reason 
not to use those as opposed to generating new ones when building?

What were the changes in the makefiles that might cause issues?

Charlie

Howard Butler wrote:
> Here's the latest buildbot results for "make generate" in the swig 
> directory. 
> <http://gdal.builds.hobu.net/macosx-darwin-tiger-10.4.5/builds/85/step-shell_5/0> 
> Ruby doesn't get generated here (this is macosx) because the ruby 
> bindings must depend on a version of swig later than 1.3.27.
>
> There was some makefile reconfiguration that went on a couple of weeks 
> ago.  Could that be the culprit?
>
> Howard
>
> At 12:45 PM 5/2/2006, 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?
>>>>>>
>>>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Gdal-dev mailing list
>> Gdal-dev at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/gdal-dev
>
>
>
-------------- 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/20060502/953eae7f/smime.bin


More information about the Gdal-dev mailing list