1 |
On 15-09-2009 03:01:49 +0400, Pavel Volkovitskiy wrote: |
2 |
> it seems that something built against different pythons |
3 |
> |
4 |
> otool -L /opt/gentoo/usr/lib/python2.6/site-packages/libsvn/_ra.bundle: |
5 |
> <skip> |
6 |
> /System/Library/Frameworks/Python.framework/Versions/2.6/Python |
7 |
> (compatibility version 2.6.0, current version 2.6.1) |
8 |
> |
9 |
> ^^^ what's wrong |
10 |
> |
11 |
> so i tried to find out why it linked to system's python instead of our |
12 |
> one |
13 |
> |
14 |
> during subversion's python bindings build right args passed to linker |
15 |
> "-F/opt/gentoo/usr/lib -framework Python" but ld skips that and uses |
16 |
> system one |
17 |
|
18 |
I tracked this down to python installing some wrong config/Makefile |
19 |
|
20 |
> so it looks for "/opt/gentoo/usr/lib/Python.framework/Python" but there |
21 |
> is no such file |
22 |
> |
23 |
> $ file /System/Library/Frameworks/Python.framework/Python |
24 |
> /System/Library/Frameworks/Python.framework/Python: symbolic link to |
25 |
> `Versions/Current/Python' |
26 |
|
27 |
the ebuild accidentially removes this one, rendering the framework |
28 |
indeed invalid, it seems I need to look again at this. |
29 |
|
30 |
> but still doesn't work |
31 |
> |
32 |
> i'm trying to find out other issues |
33 |
> |
34 |
> (*) subversion ebuild missed "\" in |
35 |
> emake -j1 DESTDIR="${D}" \ |
36 |
> swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" |
37 |
> swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" |
38 |
> install-swig-py \ |
39 |
> || die "Installation of Subversion SWIG Python |
40 |
> bindings failed" |
41 |
|
42 |
I think darkside fixed this |
43 |
|
44 |
|
45 |
-- |
46 |
Fabian Groffen |
47 |
Gentoo on a different level |