Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2011 11:43:18 +0200
From:      Ivan Klymenko <fidaj@ukr.net>
To:        Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Cc:        FreeBSD Ports Mailing List <ports@freebsd.org>, gogo@cs.uni-sb.de
Subject:   Re: devel/py-lxml fails to build on 10.0-CURRENT
Message-ID:  <20111216114318.24c29fe2@nonamehost.>
In-Reply-To: <4EEB0CB5.9090704@yandex.ru>

index | next in thread | previous in thread | raw e-mail

В Fri, 16 Dec 2011 13:17:41 +0400
Ruslan Mahmatkhanov <cvs-src@yandex.ru> пишет:

> 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...


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111216114318.24c29fe2>