[GRASS-dev] Re: [GRASS GIS] #1125: wingrass - ctypes - compiling error

GRASS GIS trac at osgeo.org
Thu Aug 26 03:44:23 EDT 2010


#1125: wingrass - ctypes - compiling error
------------------------------+---------------------------------------------
 Reporter:  hellik            |       Owner:  grass-dev@…              
     Type:  defect            |      Status:  new                      
 Priority:  blocker           |   Milestone:  6.5.0                    
Component:  Compiling         |     Version:  svn-trunk                
 Keywords:  wingrass, ctypes  |    Platform:  MSWindows Vista          
      Cpu:  x86-32            |  
------------------------------+---------------------------------------------

Comment(by glynn):

 Replying to [comment:40 martinl]:

 > Helmut is refering to GRASS 6.5 which uses versioned/unversioned libs.

 Right. So it's linking against the unversioned lib but only installing the
 versioned one?

 > The solution could be to adopt build system in GRASS 6.5 to use only
 versioned libs as in GRASS 7

 Another alternative is to just keep both versions.

 It may be possible to make lib/python/ctypes/Makefile use the versioned
 name, e.g.:

 {{{
 -       $$(call run_grass,$(CTYPESGEN) $(CTYPESFLAGS) $$($(1)_LIBS)
 $$($(1)_INC) $(EXTRA_LIBS) $$($(1)_DEPS) -o $$@)
 +       $$(call run_grass,$(CTYPESGEN) $(CTYPESFLAGS) $$(patsubst
 -lgrass_%,-lgrass_%.$(GRASS_VERSION_NUMBER),$$($(1)_LIBS)) $$($(1)_INC)
 $(EXTRA_LIBS) $$($(1)_DEPS) -o $$@)
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1125#comment:42>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list