jibranilyas
asked on
gtk-config command not found
I am trying to install cheaps on ubuntu... i have reached a dead end on the following error, please help.
i had to install gcc for ubuntu to fight previous errors. Here is the log.
user1@localhost:/home/user 1/cheops-0 .61# ./configure
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ucd-snmp... no. -- snmp disabled
checking for gtk... ./configure: line 1309: gtk-config: command not found
configure: error: Check that gtk-config is in path
i had to install gcc for ubuntu to fight previous errors. Here is the log.
user1@localhost:/home/user
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ucd-snmp... no. -- snmp disabled
checking for gtk... ./configure: line 1309: gtk-config: command not found
configure: error: Check that gtk-config is in path
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
BTW , you cannot install gcc as a regular user ( in your case: user1 ) ; you have to install it with superuser ot root privilegies.
So try this comand to install gcc on your Ubuntu PC :
sudo apt-get install gcc
or
sudo apt-get install gcc-3.4
nedvis
So try this comand to install gcc on your Ubuntu PC :
sudo apt-get install gcc
or
sudo apt-get install gcc-3.4
nedvis
maybe you just don't have gtk-config?
it's part of the GTK library version 1.x (GTK 2.* doesn't have or need gtk-config, but programs written for GTK 1.* can't compile on GTK 2.* alone)
it's part of the GTK library version 1.x (GTK 2.* doesn't have or need gtk-config, but programs written for GTK 1.* can't compile on GTK 2.* alone)
ASKER
nedvis and jack, i had gcc
atlast, i ran the following command to build the dependencies
'apt-get build-dep gcc'
after that, i was able to install my software.
thanks for the assistance.
atlast, i ran the following command to build the dependencies
'apt-get build-dep gcc'
after that, i was able to install my software.
thanks for the assistance.
congratulations! you should probably award points to nedvis
oh, you've already done it, sorry :)
ASKER
^ :D
ASKER