1 |
Am 18.06.2011 08:50, schrieb john: |
2 |
> On Fri, 17 Jun 2011 17:48:31 -0700 |
3 |
> Keith Dart <keith@×××××××.com> wrote: |
4 |
> |
5 |
>> === On Sat, 06/18, john wrote: === |
6 |
>>> On Sat, 18 Jun 2011 00:31:39 +0200 |
7 |
>>> Florian Philipp <lists@×××××××××××.net> wrote: |
8 |
>>> |
9 |
>>>> Am 17.06.2011 23:16, schrieb john: |
10 |
>>>>> Hello, |
11 |
>>>>> |
12 |
>>>>> I have installed Plone but unfortunately it will not run. I |
13 |
>>>>> believe this is down to PIL not being installed as shown when |
14 |
>>>>> starting Zope in foreground. |
15 |
>>>>> |
16 |
>>>>> I have emerged dev-python/imaging but Zope still cannot see |
17 |
>>>>> PIL. I think the issue is because Plone/Zope depends on python |
18 |
>>>>> 2.4. |
19 |
>>>>> |
20 |
>>>>> Any recommendations on a fix??? |
21 |
>>>>> |
22 |
>>>> |
23 |
>>>> You might have to run python-updater in order to install all |
24 |
>>>> python-packages for this version. I'm not sure if python-updater |
25 |
>>>> does this correctly if you don't have python-2.4 enabled via |
26 |
>>>> `eselect python`. You might want to try this as well. |
27 |
>>>> |
28 |
[...] |
29 |
>> |
30 |
>>> Think the python-updater looks forward but not backward (if you see |
31 |
>>> what I mean) |
32 |
>> |
33 |
>> It is called the UPdater, after all. |
34 |
>> |
35 |
>>> I have also tried changing all the references in bin scripts from |
36 |
>>> python2.4 to python2.7 but this fails miserably. The only thing I |
37 |
>>> can think of at the moment is to download manual package and |
38 |
>>> install but I'm really not sure where this is going to stick all |
39 |
>>> the modules? |
40 |
>> |
41 |
>> Ugh, yep. But Python is slotted, so you shouldn't have to worry about |
42 |
>> that. |
43 |
>> |
44 |
>> -- |
45 |
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
46 |
>> Keith Dart <keith@×××××××.com> |
47 |
>> ===================================================================== |
48 |
> |
49 |
> Always a little unsure about installing packages |
50 |
> manually. I like to let emerge do everything. |
51 |
> |
52 |
> I eselect python set 1 which set python2.4. Downloaded |
53 |
> Imaging-1.1.6.tar.gz from Python site. Installed using setup.py install. |
54 |
> Switched back to python2.7. |
55 |
> |
56 |
> Old instance would not run but:- |
57 |
> |
58 |
> Then created a new zopeinstance. Copied the |
59 |
> contents /usr/share/zproduct/plone-3.1.7/lib/python |
60 |
> and /usr/share/zproduct/plone-3.1.7/Products |
61 |
> |
62 |
> to instance |
63 |
> |
64 |
> And yippee I can create Plone site and all looks good at the mo |
65 |
> |
66 |
> Thanks for advice |
67 |
|
68 |
I've once ran Plone on Gentoo. I'm pretty sure I didn't have to resort |
69 |
to manual installing but I can't remember what the solution was. Anyway, |
70 |
it was too much trouble and I dropped Plone. If I ever have to use it |
71 |
again, I just use a virtualized Linux installation for it which comes |
72 |
with python-2.4 out-of-the-box. I'd recommend Scientific Linux-5.5 |
73 |
(update to 5.6 coming soon) as a Red Hat clone. |
74 |
|
75 |
Regards, |
76 |
Florian Philipp |