LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pkg_config_path export (https://www.linuxquestions.org/questions/linux-newbie-8/pkg_config_path-export-104545/)

MultiMike 10-16-2003 12:08 AM

pkg_config_path export
 
I was hoping someone could tell me where environment variables are normally setup when logging in. For some reason, my pkg_config_path never gets set, and I have to export it every time I compile something. Where can I stick this line so that it's automatically assigned to my environment? (btw, i know the variables should be in all caps, I just don't like using caps because it looks like I'm yelling). Thanks for the help.

rakriege 10-16-2003 12:39 AM

as root, set them....ie (command) HOSTNAME=funfunfun.linux
....then

(command) export HOSTNAME

it will send it to all ~

daveo 10-16-2003 01:33 AM

Re: pkg_config_path export
 
Quote:

Originally posted by MultiMike
I was hoping someone could tell me where environment variables are normally setup when logging in. For some reason, my pkg_config_path never gets set, and I have to export it every time I compile something. Where can I stick this line so that it's automatically assigned to my environment? (btw, i know the variables should be in all caps, I just don't like using caps because it looks like I'm yelling). Thanks for the help.
I think you should edit this file : /etc/profile.env
Here's where your environment variables are loaded ..

Hope this helps,

rakriege 10-16-2003 01:40 AM

set it


as root# go to bash# env

make sure its the the right path, if so

bash# export path

if not,
bash# PATH=.../sbin/whatever~

then

bash# export PATH


All times are GMT -5. The time now is 04:52 PM.