#137: Build failure on Mac OS 10.5
--------------------+-------------------------------------------------------
 Reporter:  gelato  |       Owner:  lutter
     Type:  defect  |      Status:  new   
 Priority:  major   |   Milestone:  next  
Component:  Augeas  |     Version:  0.7.0 
 Keywords:  OSX     |  
--------------------+-------------------------------------------------------
 Compilation of augeas 0.7.0 (and 0.7.3) on Mac OS 10.5 fails with:
 {{{
   CC     fa.lo
 In file included from fa.c:37:
 internal.h:313: error: syntax error before 'locale_t'
 internal.h:313: warning: no semicolon at end of struct or union
 internal.h:314: warning: type defaults to 'int' in declaration of
 'user_locale'
 internal.h:314: warning: data definition has no type or storage class
 internal.h: In function 'err_of_aug':
 internal.h:319: error: dereferencing pointer to incomplete type
 make[3]: *** [fa.lo] Error 1
 }}}

 The problem is that on this platform locale_t is defined in <xlocale.h>
 which is not #included. I'm appending a simple patch that I've found to be
 sufficient to solve this problem (i.e. augeas 0.7.0 then built and passed
 "make check").

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/137>
Augeas <http://augeas.net/>
a configuration API

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to