LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-28-2004, 10:33 AM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
set environment variable


I use the following to try set an environment variable:

set PK_CONFIG_PATH=/usr/local/lib/pkconfig

but Mandarake doesn´´t seem to accept this.

I suspect I am doing something wrong. Please help.
 
Old 02-28-2004, 11:23 AM   #2
krajzega
Member
 
Registered: Jan 2004
Location: Poland
Distribution: FreeBSD 5.1
Posts: 92

Rep: Reputation: 15
Type:
VARIABLE=value
for example:
LANG=pl

To check whether it's right type locale
 
Old 02-28-2004, 11:59 AM   #3
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Try:
$ export VAR=value
and then use env w/ grep to check for it
 
Old 02-28-2004, 06:17 PM   #4
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Thanks for trying to help but if u could please try and help me with what i tried to do. I m thinking:
$ PK_CONFIG_PATH=/usr/local/lib/pkconfig
 
Old 02-29-2004, 02:11 AM   #5
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
I recommend (in ~/.bashrc or ~/.bash_profile):
PK_CONFIG_PATH=$PK_CONFIG_PATH:/usr/local/lib/pkconfig
or
export PK_CONFIG_PATH=$PK_CONFIG_PATH:/usr/local/lib/pkconfig

This way you won't overwrite what you already have in PK_CONFIG_PATH
 
Old 02-29-2004, 02:51 AM   #6
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Here is the error I get : http://mysite.mweb.co.za/residents/y...nuxcomplie.jpg

Here are the environment variables: http://mysite.mweb.co.za/residents/y.../Linux/set.jpg

Last edited by Jongi; 02-29-2004 at 02:54 AM.
 
Old 02-29-2004, 05:13 PM   #7
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
Do you have gtk2 and gtk2-devel installed?
 
Old 03-01-2004, 04:34 AM   #8
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
The file it says it can't find is in the directory /usr/local/lib/pkconfig. It arrived there after i compiled the gtk tar.gz file. Will the fact that it is v2.2.3 make a difference?
 
  


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
How to set a value of environment variable? ukrainet Linux - Newbie 1 12-28-2004 04:33 AM
How to set an environment variable? dantemarmol Linux - Newbie 7 08-22-2003 10:59 AM
Set Environment Variable lloyd_stevens Linux - Software 1 07-30-2003 12:38 PM
how to set CC environment variable mr.moto General 2 12-18-2001 01:02 AM
how do you set the environment variable CC? mr.moto Linux - General 0 12-17-2001 09:17 PM


All times are GMT -5. The time now is 05:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration