You are not logged in.

#1 2011-06-22 07:58:53

kolbycrouch
Member
Registered: 2008-07-18
Posts: 218

environment variable for share and etc

Hi all, first let me say sorry if this is the wrong sub-section, This one is the closest as far as I could tell.

I've been messing around with building self-contained packages for top level apps like gimp, vlc etc. Ive gotten all the libraries worked out by using LD_LIBRARY_PATH.
However they still need files in /usr/share and /etc. I know I can change these at compile time, but what im trying to do change some variable to look in the programs root directory not the systems.

Does anyone know if sysconfdir can be changed at runtime? for example use ~/Progs/Gimp/usr/share instead of /usr/share? Ive been playing around with a command called cde which sandboxes that apps fairly well
but its very unclean, and is not aware of any files outside the sandbox (think chroot).


Thanks in advance, and sorry for my bad grammer.

Offline

Board footer

Powered by FluxBB