LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What's this "So-and-so not found in PATH" junk I keep getting? (https://www.linuxquestions.org/questions/linux-newbie-8/whats-this-so-and-so-not-found-in-path-junk-i-keep-getting-183568/)

TheMusicGuy 05-20-2004 12:37 AM

What's this "So-and-so not found in PATH" junk I keep getting?
 
Hi...I've only got basic expierience in linux (The most complex thing I've done is stopping GNOME from starting krandrtray 4 times at login...or maybe adding a valid antry to fstab manually).

I know how to change paths/environment variables in Windows ME (Sorta) but how do you do that in Linux?

The reason I'm asking is because a compile&install pre-configuration script suddenly quits with a "Package sigc++ not found in the pkg-config search path."
Then it goes on about PKG_CONFIG_PATH...

I'm pretty sure I have this sigc++ thing on my system, but apparently, my system doesn't know where.

peacebwitchu 05-20-2004 07:49 AM

If you are using bash you can edit .bash_profile and add

PKG_CONFIG_PATH=/path/that you want to add

export PKG_CONFIG_PATH

Nis 05-20-2004 12:34 PM

Quote:

PKG_CONFIG_PATH=/path/that you want to add

export PKG_CONFIG_PATH


Bad idea.
You should figure out why that is not in the PKG_CONFIG_PATH (not installed or not installed correctly) before you add it to that variable. If you must do that try below:
Code:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH: /path/to/sigc++
The way peacebwitchu suggested would clobber any paths perviously set. The way above preserves these paths.

peacebwitchu 05-20-2004 01:41 PM

Your right I was ass-u-ming that he didn't currently have a PKG_CONFIG_PATH


All times are GMT -5. The time now is 06:26 AM.