emergency!!! pkg-config installation


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers emergency!!! pkg-config installation
# 1  
Old 10-30-2007
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!!!Smilie

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

Best,

PROBLEM SOLVED JUST NOW! THANKS FOR EVERYONE!

Last edited by jingt86; 10-30-2007 at 11:08 PM.. Reason: PROB SOLVED
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

# pkg publisher gives bash: pkg: command not found

This is the operating system im using Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC I need to install some packages by setting local repository While i run the below command # pkg publisher command returns bash: pkg: command not found while looking for /usr/bin/pkg i get bash:... (2 Replies)
Discussion started by: babinlonston
2 Replies

2. Solaris

Pkg problem, one zone trying pkg.Oracle.com on port 1008

Hi Solaris Experts, The pkg utility on one of my non-global zones has stopped working, it's trying to connect to port 1008 at pkg.oracle.com I was using pkg successfully from this zone, but now it's showing this error: lzone1 $ pkg search xterm pkg: Some repositories failed to respond... (4 Replies)
Discussion started by: ad101
4 Replies

3. Red Hat

Apache virtual host config vs global config problem

Hi folks, I am trying to configure Apache webserver and also a virtual host inside this webserver. For Global server config: /var/www/html/index.html For virtual host config: /var/www/virtual/index.html Both client10 & www10 are pointing to 192.168.122.10 IP address. BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies

4. Debian

Program compile problem (glib pkg-config)

I need to compile a program which uses glib-2.0. I installed the package libglib2.0-0 but the configure script can't find it because the libglib package doesn't provide a .pc file which pkg-config looks for. How can I resolve this? Debian 6.0 (SPARC) (3 Replies)
Discussion started by: snorkack59
3 Replies

5. Solaris

How extract SUNWexplo.7.1.pkg & SUNWexplu.7.1.pkg from install_stb.sh?

Hi all, Could please guideas how to extract SUNWexplo.7.2.pkg & SUNWexplu.7.2.pkg from install_stb.sh. I need to upgrade my Sun Explorer to 7.2 version from 7.1 . This what written in read me file about its installation: The Lightweight Availability Collection Tool (LWACT) is no... (1 Reply)
Discussion started by: manalisharmabe
1 Replies

6. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

7. Shell Programming and Scripting

parsing config file to create new config files

Hi, I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below. I will be using the config file as mentioned below: (config.txt) country:a,b city:1,2 type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies

8. Solaris

Modify a config file during installation (package developing)

Hi, In the package I have a config file which after requesting some user input I need to modify accordingly. I created a build file in which I wrote the script to modify the config file (using sed command replace some parameters values with the ones read from user input) In prototype I... (1 Reply)
Discussion started by: potro
1 Replies

9. Solaris

installation of Solaris: installation bypasses network config.

hello solaris friends, I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url: http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
Login or Register to Ask a Question