В Fri, 16 Dec 2011 13:17:41 +0400 Ruslan Mahmatkhanov <[email protected]> пишет:
> Good day. > > I'm trying to build devel/py-lxml 2.3.2 (libreoffice dep) on > 10.0-CURRENT with python27. Build fails like this: > > """ > building 'lxml.etree' extension > creating temp.freebsd-10.0-CURRENT-i386-2.7 > creating temp.freebsd-10.0-CURRENT-i386-2.7/src > creating temp.freebsd-10.0-CURRENT-i386-2.7/src/lxml > cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe > -fno-strict-aliasing -fPIC -I/usr/local/include > -I/usr/local/include/libxml2 -I/usr/local/include/python2.7 -c > src/lxml/lxml.etree.c -o > temp.freebsd-10.0-CURRENT-i386-2.7/src/lxml/lxml.etree.o -w > In file included from /usr/local/include/libxslt/xsltlocale.h:19, > from /usr/local/include/libxslt/xsltInternals.h:24, > from src/lxml/lxml.etree.c:265: > /usr/include/xlocale.h:45: error: expected declaration specifiers or > '...' before 'locale_t' > """ > > Can anybody confirm that or it's just me? It builded just fine couple > of weeks ago. Full buildlog here: > http://people.freebsd.org/~rm/py-lxml.txt > > Thanks in advance. > > PS. I tried to rebuild libxslt/libxml2 to not avail. > I commented out #include <xlocale.h> in /usr/local/include/libxslt/xsltlocale.h And added #include <xlocale.h> in /usr/ports/devel/py-lxml/work/lxml-2.3.2/src/lxml/lxml.etree.c But this does not fix - it is only necessary for the successful building of the port... _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
