[GRASS-dev] Re: [GRASS GIS] #838: Compile error for lib/driver

GRASS GIS trac at osgeo.org
Tue Dec 15 18:25:40 EST 2009


#838: Compile error for lib/driver
----------------------+-----------------------------------------------------
  Reporter:  sprice   |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  normal   |   Milestone:  6.4.0                    
 Component:  default  |     Version:  svn-releasebranch64      
Resolution:           |    Keywords:                           
  Platform:  MacOSX   |         Cpu:  OSX/Intel                
----------------------+-----------------------------------------------------
Comment (by kyngchaos):

 Without the flag, iconv will be found in the system, so no lib/include
 flags will be added to compilation.  Your --with-iconv flag does nothing -
 GRASS doesn't have an option to configure a custom location to iconv, so
 you're left with using --with-libs.  I think the main reason configure
 checks at all is to see if iconv functions need a library or are in an
 automatic system library.

 I haven't had problems yet with using the system libiconv on OSX.
 Possibly what you're getting is a confusion of iconv versions -
 compilation sees the system iconv (/usr/include/iconv.h) because you don't
 specify --with-includes=/usr/local/include, but when linking finds
 /usr/local/lib/libiconv because you've configured to look for FreeType in
 /usr/local so -L/usr/local/lib is in your link command.

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


More information about the grass-dev mailing list