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

GRASS GIS trac at osgeo.org
Tue Aug 17 16:35:43 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 hellik):

 Replying to [comment:21 glynn]:
 > Replying to [comment:20 hellik]:
 >
 > > I get  now a different error message than the first report
 > >
 > {{{
 > Error: gcc -E -D_FILE_OFFSET_BITS=64
 -I/c/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include
 -I/c/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include:
 c:\osgeo4w\usr\src\grass_trunk\dist.i686-pc-
 mingw32\include\grass\gis.h:28:26: grass/config.h: No such file or
 directory
 > }}}
 >
 > I think that I've fixed this with r43120, which invokes the preprocessor
 via sh.exe. This is the only way I can find to get the -I switches to be
 recognised. Using Windows pathnames in the Platform.make doesn't work
 because $PATH doesn't like colons in filenames.
 >
 > >
 > {{{
 > Warning: Could not load library "intl". Okay, I'll try to load it at
 runtime instead.
 > }}}
 > Ugh. ctypesgen can't handle the -lintl flag, as it's an import library
 (libintl.dll.a); the actual DLL is libintl3.dll. r43121 adds a workaround
 for this.

 I'm a little bit confused now by the many changes in the last times (for
 example http://lists.osgeo.org/pipermail/grass-
 commit/2010-August/014079.html, etc.).

 how can I test the fixes mentioned above?

 I've compiled grass70 in the osgeo4w-stack without any error (lfs manually
 unset, osgeo4w/gdal16 used) in WinVista32, built a WinGrass7-installer and
 installed it.

 There is only the tcltk-nviz available. Is there any change to test the
 fixes for example r43120 and r43121.

 Helmut

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



More information about the grass-dev mailing list