Gentoo Archives: gentoo-user

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