2011/3/9 Cecil Westerhof <cldwesterhof@gmail.com>
I installed tex-live 2010. It gives the same version info as the one that was installed by openSUSE:
    MTXrun | kpse fallback with progname 'context' initialized in 0.09 seconds
    TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

Following http://wiki.contextgarden.net/TeX_Live_2010 I try to do luatools --generate, but this gives:
LuaTools | fileio: variable SELFAUTOLOC set to /usr/lib/texmf/bin/i586-linux
LuaTools | fileio: variable SELFAUTODIR set to /usr/lib/texmf/bin
LuaTools | fileio: variable SELFAUTOPARENT set to /usr/lib/texmf
LuaTools | fileio: variable TEXMFCNF set to {$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,.local,}/web2c}
LuaTools | fileio: no cnf files found (TEXMFCNF may not be set/known)
LuaTools |
LuaTools | runtime: 0.010 seconds

So I suppose that I have to set TEXMFCNF. But to what?

It looks like that I need to do:
    export TEXMFCNF=/usr/local/texlive/2010/

But when executing luatools --generate as root I get:
LuaTools | fileio: variable SELFAUTOLOC set to /usr/lib/texmf/bin/i586-linux
LuaTools | fileio: variable SELFAUTODIR set to /usr/lib/texmf/bin
LuaTools | fileio: variable SELFAUTOPARENT set to /usr/lib/texmf
LuaTools | fileio: variable TEXMFCNF set to /usr/local/texlive/2010/
LuaTools | fileio: loading /usr/local/texlive/2010/texmf.cnf
LuaTools | fileio: preparing configuration for /usr/local/texlive/2010
LuaTools | fileio: configuration saved in /root/luatex-cache/context/bbbf913b89565c8436595715076b9dd7/trees/6f5db95b334d5e9ed5a1672187d8e65e.lua
LuaTools | fileio: configuration compiled to /root/luatex-cache/context/bbbf913b89565c8436595715076b9dd7/trees/6f5db95b334d5e9ed5a1672187d8e65e.luc
LuaTools |
LuaTools | runtime: 0.015 seconds

When executing as a normal user I get:
LuaTools | fileio: variable 'SELFAUTOLOC' set to '/usr/local/texlive/2010/bin/i386-linux'
LuaTools | fileio: variable 'SELFAUTODIR' set to '/usr/local/texlive/2010/bin'
LuaTools | fileio: variable 'SELFAUTOPARENT' set to '/usr/local/texlive/2010'
LuaTools | fileio: variable 'TEXMFCNF' set to '/usr/local/texlive/2010/'
LuaTools | fileio: loading configuration file /usr/local/texlive/2010/texmf.cnf
LuaTools | fileio: preparing 'configuration' for '/usr/local/texlive/2010'
LuaTools | fileio: 'configuration' saved in '/tmp/luatex-cache/context/bbbf913b89565c8436595715076b9dd7/trees/6f5db95b334d5e9ed5a1672187d8e65e.lua'
LuaTools | fileio: 'configuration' compiled to '/tmp/luatex-cache/context/bbbf913b89565c8436595715076b9dd7/trees/6f5db95b334d5e9ed5a1672187d8e65e.luc'
LuaTools |
LuaTools | runtime: 0.013 seconds

Is that what should happen?

When I now run texexec --version, I get
    TXrun | kpse fallback with progname 'context' initialized in 0 seconds
instead of:
    MTXrun | kpse fallback with progname 'context' initialized in 0.09 seconds
    TeXExec | version 6.2.1 - 1997-2009 - PRAGMA ADE/POD

--
Cecil Westerhof