emergency!!! pkg-config installation

Hi, I tried to install this thing called pkg-config and it seemed ok. but when i tried to install stage, which requires pkg-config to finish its installation, it said pkg-config was not found. therefore i added /usr/local/bin to my .profile file, but it didn't work anyway...

my .profile file looks like
#
# Your previous .profile (if any) is saved as .profile.mpsaved
# Setting the path for MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:$PATH

even when i'm in the directory /usr/local/bin, and type pkg-config, it will say command not found when pkg-config is just there!!! it looks like:

xxxxxx-computer:/usr/local/bin xxx$ ls
b2m ebrowse emacs-22.1 etags pkg-config playerjoy playerxdrgen.py
ctags emacs emacsclient grep-changelog player playerprint rcs-checkin
xxxxxx-computer:/usr/local/bin xxx$ pkg-config
-bash: pkg-config: command not found
xxxxxx-computer:/usr/local/bin xxx$

this is an emergency as if i can't sort this out soon, my supervisor will very probably kill me!!!:frowning:

Please gimme some ideas!!! Thanks very much!!!

Best,

PROBLEM SOLVED JUST NOW! THANKS FOR EVERYONE!