The following bug has been logged online:

Bug reference:      5623
Logged by:          Jens Wilke
Email address:      jens.wi...@affinitas.de
PostgreSQL version: 9.0b4
Operating system:   Debian GNU/Linux Lenny
Description:        xml2 and uuid-ossp contribs fail to compile
Details: 

Hi,

to compile xml2 this link was necessary:
ln -s /usr/include/libxml2/libxml ../../src/include

uuid-ossp fails  with
libossp-uuid-dev installed:
postg...@dbmaster:/usr/src/postgresql-9.0beta4/contrib/uuid-ossp$ make
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
-fpic -I. -I. -I../../src/include -D_GNU_SOURCE   -c -o uuid-ossp.o
uuid-ossp.c                    
uuid-ossp.c:29:2: error: #error OSSP uuid.h not found                       
                                   
uuid-ossp.c:35:2: error: #error UUID length mismatch                        
                                   
uuid-ossp.c:68: error: expected ‘)’ before ‘rc’                     
                                           
uuid-ossp.c:83: warning: type defaults to ‘int’ in declaration of
‘uuid_t’                                      
uuid-ossp.c:83: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’
token                                                
uuid-ossp.c:99: error: expected declaration specifiers or ‘...’ before
‘uuid_t’                                 
uuid-ossp.c: In function ‘string_to_uuid’:                              
                                       
uuid-ossp.c:101: error: ‘uuid_rc_t’ undeclared (first use in this
function)                                     
uuid-ossp.c:101: error: (Each undeclared identifier is reported only once   
                                   
uuid-ossp.c:101: error: for each function it appears in.)                   
                                   
uuid-ossp.c:101: error: expected ‘;’ before ‘rc’

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to