Re: [Evolution] [Evolution-hackers] problems building local version of Evolution



On Fri, 2009-08-14 at 13:15 -0400, Thomas Dean wrote:
What am I looking for. To execute:

cd /home/benkam/evolution/bin
./evolution-2.6

Which environment variable should I be setting?

Thanks...

Tom.



you can try this...

CREDIT:   This script is part of the make file from Paul Smith from
http://mad-scientist.us/evolution.html .  

set the variables at the top of the script appropriately for your
build....

then run

$ /path/to/evolution-env /path/to/your/built/evolution

$ cat evolution-env 
#!/bin/sh
#
# Put this file in your PATH and/or invoke it directly.
#
# - Sets up the environment for running the compiled version of
#   Evolution and compiling programs against it.
# - Runs the program on the command line (if one given) or a bash
#   shell.

prefix='/opt/evo'
pkgconfig='/opt/evo/lib/pkgconfig:/opt/evo/share/pkgconfig:'
ldlibrary='/opt/evo/lib:'

BONOBO_ACTIVATION_PATH=$prefix/lib/bonobo/servers
export BONOBO_ACTIVATION_PATH

case ":$PKG_CONFIG_PATH:" in
    *":$pkgconfig:"*) : ok ;;
    *)  PKG_CONFIG_PATH="$pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
        export PKG_CONFIG_PATH ;;
esac

case ":$LD_LIBRARY_PATH:" in
    *":$ldlibrary:"*) : ok ;;
    *)  LD_LIBRARY_PATH="$ldlibrary${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
        export LD_LIBRARY_PATH ;;
esac

case ":$PATH:" in
    *":$prefix/bin:$prefix/libexec:"*) : ok ;;
    *)  PATH="$prefix/bin:$prefix/libexec:$PATH"
        export PATH ;;
esac

exec "${@:-${SHELL:-/bin/bash}}"




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]