[MacPorts] #35153: Postgresql90, Postgresql91 - /usr/include/unistd.h:689:26: error: expected identifier

MacPorts noreply at macports.org
Mon Jul 30 19:40:25 PDT 2012


#35153: Postgresql90, Postgresql91 - /usr/include/unistd.h:689:26: error: expected
identifier
----------------------------+-----------------------------------------------
 Reporter:  ilya@…          |       Owner:  mww@…                     
     Type:  defect          |      Status:  new                       
 Priority:  Normal          |   Milestone:                            
Component:  ports           |     Version:  2.1.99                    
 Keywords:  mountainlion    |        Port:  Postgresql90, Postgresql91
----------------------------+-----------------------------------------------

Comment(by scott@…):

 Replying to [comment:10 vince@…]:
 > This is caused by the inclusion of the system uuid.h in pwd.h.
 > Just add the line :
 >
 >
 > {{{
 > #define _XOPEN_SOURCE
 > }}}
 >
 > at the first line of uuid-ossp.c, and it should compile fine.
 This worked for me for postgresql84.

 Thanks Vince

-- 
Ticket URL: <https://trac.macports.org/ticket/35153#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list