Re: [Evolution-hackers] How does evo find its components? (switching installs of evo)
- From: Paul Smith <psmith gnu org>
- To: mbarnes redhat com
- Cc: Evolution Hackers <Evolution-hackers gnome org>
- Subject: Re: [Evolution-hackers] How does evo find its components? (switching installs of evo)
- Date: Mon, 29 Oct 2007 15:45:44 -0400
On Fri, 12 Oct 2007 16:37:06 -0700, Matthew Barnes wrote:
> On Fri, 2007-10-12 at 13:17 -0400, Paul Smith wrote:
> > How does Evolution decide where to get e-d-s, plugins, etc.? How can I
> > reset it to run the ones in /usr/bin and ignore the stuff in /opt/evo?
> > I don't remember doing anything special to switch it over to /opt/evo in
> > the first place.
>
> You can control it with environment variables:
>
> LD_LIBRARY_PATH=/opt/evo/lib
> Overrides the search path for dynamically loaded libraries.
>
> BONOBO_ACTIVATION_PATH=/opt/evo/lib/bonobo/servers
> Overrides the search path for Bonobo servers.
Hm, this doesn't seem to help for me. I now have the opposite problem.
On my work system I reinstalled from Ubuntu 7.10 scratch (because I
wanted to repartition my disk to have a separate /home partition).
I started Evolution from /usr/bin and it worked OK. Then I decided I
wanted to run with a version I had built myself from SVN, and
compiled/installed it into /opt/evo.
I have a shell script I'm running to start Evo, and it sets up my
environment then logs all kinds of details, so I know my environment is
correct; here's an excerpt from the log (obtained by running "env |
sort" so I know these are properly exported as well):
BONOBO_ACTIVATION_PATH=/opt/evo/lib/bonobo/servers
LD_LIBRARY_PATH=/opt/evo/lib/evolution/2.12:/opt/evo/lib
PATH=/opt/evo/libexec/evolution/2.12:/opt/evo/libexec:/opt/evo/bin:/home/psmith/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/games
Evolution start on Mon Oct 29 15:35:55 EDT 2007: '/opt/evo/bin/evolution'
But when I use ps to see what's running, I get:
$ ps -aef | grep evo
psmith 1512 7673 6 15:40 pts/5 00:00:01 /opt/evo/bin/evolution
psmith 1526 1 0 15:40 ? 00:00:00 /usr/lib/evolution/evolution-data-server-1.12 --oaf-activate-iid=OAFIID:GNOME_Evolution_DataServer_InterfaceCheck --oaf-ior-fd=25
psmith 1546 1 3 15:40 ? 00:00:00 /usr/lib/evolution/2.12/evolution-exchange-storage --oaf-activate-iid=OAFIID:GNOME_Evolution_Exchange_Component_Factory:2.12 --oaf-ior-fd=27
psmith 1561 1 0 15:40 ? 00:00:00 /usr/lib/evolution/2.12/evolution-alarm-notify --oaf-activate-iid=OAFIID:GNOME_Evolution_Calendar_AlarmNotify_Factory:2.12 --oaf-ior-fd=29
(Before I started /opt/evo/bin/evolution there were no processes running
containing the string "evo").
Can anyone tell me why it always invoking the stuff in /usr/lib, instead
of the stuff in /opt/evo/lib, even though I've set LD_LIBRARY_PATH,
BONOBO_ACTIVATION_PATH, etc. etc.? And, how to change this?
Thanks!
--
-----------------------------------------------------------------------------
Paul D. Smith <psmith gnu org> http://make.mad-scientist.us
"Please remain calm--I may be mad, but I am a professional."--Mad Scientist
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]