LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2003, 01:08 AM   #1
MultiMike
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
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.
 
Old 10-16-2003, 01:39 AM   #2
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
as root, set them....ie (command) HOSTNAME=funfunfun.linux
....then

(command) export HOSTNAME

it will send it to all ~
 
Old 10-16-2003, 02:33 AM   #3
daveo
Member
 
Registered: Sep 2003
Location: Holland
Distribution: Gentoo 1.4, Slackware
Posts: 196

Rep: Reputation: 30
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,
 
Old 10-16-2003, 02:40 AM   #4
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pkg_config_path rlnd Linux - Software 15 03-06-2009 03:26 PM
Pkg_config_path Kiwi UK Linux - Software 5 12-18-2004 02:36 PM
export PKG_CONFIG_PATH errors. buddhahat Linux - Newbie 4 11-24-2004 06:28 PM
Pkg_config_path box_l Mandriva 3 08-03-2004 05:53 AM
Pkg_config_path kilgore_trout Linux - Software 0 09-08-2003 01:18 PM


All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration