LinuxQuestions.org
Visit Jeremy's Blog.
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 11-24-2004, 09:40 AM   #1
buddhahat
Member
 
Registered: Sep 2003
Distribution: Slackware 10, FreeBSD 6.2, Ubuntu 7.04
Posts: 60

Rep: Reputation: 15
export PKG_CONFIG_PATH errors.


Hi everyone.

I tried updating the enviroment variable PKG_CONFIG_PATH with the following command:

#export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/lib/pkgconfig"

when I run #export $PKG_CONFIG_PATH I get the following error:

bash: export: `/usr/local/lib/pkgconfig:/usr/lib/pkgconfig': not a valid identifier

I can't see what is causing the error so I was hoping a more skilled eye could help me out. Thanks for the help.

Oh yeah, I'm running Slackware 10 with the 2.4.26 kernel and I'm logged in as root.

Last edited by buddhahat; 11-24-2004 at 09:45 AM.
 
Old 11-24-2004, 10:46 AM   #2
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
I've been in that nightmare before too, I just gave up and found another way around the problem.
 
Old 11-24-2004, 11:33 AM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
try it without the quotes
 
Old 11-24-2004, 12:53 PM   #4
LasseW
Member
 
Registered: Oct 2004
Distribution: Fedora 7, OpenSuse 10.2
Posts: 108

Rep: Reputation: 15
export means defining an environment variable, ie the command argument is a variable name, not the value of the variable. So your first export command is ok, the second is not. What do you need the second export for anyway ? You get a listing of all environment variables with the env command: if PKG_CONFIG_PATH is there, your definition is ok.
 
Old 11-24-2004, 05:28 PM   #5
buddhahat
Member
 
Registered: Sep 2003
Distribution: Slackware 10, FreeBSD 6.2, Ubuntu 7.04
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by foo_bar_foo
try it without the quotes
Thanks. Thats how I was entering the path to begin with, I then switched to the quotes after reading a post in another thread.

Quote:
Originally posted by LasseW
export means defining an environment variable, ie the command argument is a variable name, not the value of the variable. So your first export command is ok, the second is not. What do you need the second export for anyway ? You get a listing of all environment variables with the env command: if PKG_CONFIG_PATH is there, your definition is ok.
It looks ok when I enter the env command. I guess I'll just ignore the error for now. Thank you everyone for the advice. It's much appreciated.
 
  


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
Pkg_config_path box_l Mandriva 3 08-03-2004 04:53 AM
pkg_config_path export MultiMike Linux - Newbie 3 10-16-2003 01:40 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 11:51 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