pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problem building pcre (2009Q2 | NetBSD 5)



Running :

NetBSD mail 5.0.1_PATCH NetBSD 5.0.1_PATCH (MAIL) #3: Tue Sep  8 20:42:21 PDT 
2009  root@mail:/usr/obj/sys/arch/i386/compile/MAIL i386

Pkgsrc 2009Q2 (run today: cvs update -Pd)

Attempting "cd mail/postfix-current; make update" pcre fails to compile as 
follows:

   creating libpcreposix.la
   (cd .libs && rm -f libpcreposix.la && ln -s ../libpcreposix.la 
libpcreposix.la)
   /bin/sh ./libtool --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H -I.      
-O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c -o pcrecpp.lo pcrecpp.cc
    c++ -DHAVE_CONFIG_H -I. -O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo 
-c pcrecpp.cc  -fPIC -DPIC -o .libs/pcrecpp.o
   /usr/include/g++/bits/type_traits.h:90: error: redefinition of 'struct 
__true_type'
   /usr/include/g++/bits/cpp_type_traits.h:93: error: previous definition of 
'struct __true_type'
   /usr/include/g++/bits/type_traits.h:91: error: redefinition of 'struct 
__false_type'
   /usr/include/g++/bits/cpp_type_traits.h:94: error: previous definition of 
'struct __false_type'
   *** Error code 1
   
   Stop.
   make: stopped in /usr/pkgsrc/devel/pcre/work/pcre-7.9
   *** Error code 1
   
   Stop.
   make: stopped in /usr/pkgsrc/devel/pcre/work/pcre-7.9
   *** Error code 1
   
   Stop.
   make: stopped in /usr/pkgsrc/devel/pcre
   *** Error code 1
   
   Stop.
   make: stopped in /usr/pkgsrc/devel/pcre
   *** Error code 1
   
   Stop.
   make: stopped in /usr/pkgsrc/devel/pcre

Where did I go wrong?

TIA,
Paul





Home | Main Index | Thread Index | Old Index