1 |
On Wed, Sep 5, 2012 at 5:42 PM, "Roland Häder" <r.haeder@×××.de> wrote: |
2 |
> Hi all, |
3 |
> |
4 |
> I finally got libxml2 compiled, first I had to do this: |
5 |
> |
6 |
> # emerge expat |
7 |
> # emerge python |
8 |
> # cd /usr/portage/dev-lang/python/ |
9 |
> # emerge python-2.7.3-r2.ebuild |
10 |
> # cd - |
11 |
> |
12 |
> This makes sure that libexpat is there. Now the package is still not compiling because of a missing .so file, see this: |
13 |
> |
14 |
> # cd /usr/lib/python2.7/xml/parsers/ |
15 |
> # ln -sf /usr/lib/python2.7/site-packages/_xmlplus/parsers/pyexpat.so . |
16 |
> |
17 |
> If I don't do this a python script in /var/tmp/portage/dev-libs/libxml2-2.8.0_rc1/work/libxml2-2.8.0/python-2.7/ called generate.py (you have to call this python2.7 ./generate.py) will fail. |
18 |
> |
19 |
> Hope this saves someones endless hours. |
20 |
> |
21 |
> Regards, |
22 |
> Roland |
23 |
> |
24 |
> PS: There are a lot warnings compiling libxml2, you may want to fix them. |
25 |
> |
26 |
> I have used this to build libxml2: (temporary) |
27 |
> USE="-ipv6 readline -debug -doc -examples -icu lzma python -static-libs -test" |
28 |
> |
29 |
|
30 |
Weird, I'm on 2.8.0-r1 and didn't have to do any hoop jumping to get |
31 |
there (~amd64). |
32 |
|
33 |
-- |
34 |
Douglas J Hunley (doug.hunley@×××××.com) |
35 |
Twitter: @hunleyd Web: |
36 |
douglasjhunley.com |
37 |
G+: http://goo.gl/sajR3 |