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

Ari Jolma ari.jolma at tkk.fi
Tue May 2 15:06:02 EDT 2006


Charlie Savage kirjoitti:
> 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?


I guess

make[1]: Nothing to be done for `generate'.

is from dir=perl in that log. Otherwise I don't know what's happening... 
The perl bindings also require very recent swig. 

Ari


>
> 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
>>
>>
>>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev


-- 
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma




More information about the Gdal-dev mailing list