LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 12: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, 12: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, 01: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, 01: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



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 02:26 PM
Pkg_config_path Kiwi UK Linux - Software 5 12-18-2004 01:36 PM
export PKG_CONFIG_PATH errors. buddhahat Linux - Newbie 4 11-24-2004 05:28 PM
Pkg_config_path box_l Mandriva 3 08-03-2004 04:53 AM
Pkg_config_path kilgore_trout Linux - Software 0 09-08-2003 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:15 AM.

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
Open Source Consulting | Domain Registration