error : "GTK not installed" while installing "gipmsg"

Issues related to software problems.
Post Reply
nikunjbadjatya
Posts: 54
Joined: 2009/09/07 04:12:31
Location: Bangalore, India

error : "GTK not installed" while installing "gipmsg"

Post by nikunjbadjatya » 2009/10/05 06:32:14

Hi,
I tried installing "gipmsg" ( gnome ip messenger ) downloaded as ".tar.gz" from sourceforge website. when i execute ./configure command, i end up with message "GTK not installed"..?? here's the output of ./configure

./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gnome-config... no
checking for gnomeConf.sh file in /usr/local/lib... not found
checking extra library "applets"... ./configure: line 1117: no: command not found

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 POSIXized ISC... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking what warning flags to pass to the C compiler... -Wall -Wunused
checking what language compliance flags to pass to the C compiler...
checking for pthread_create in -lpthread... yes
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: GTK not installed


I am using CentOS 5.3 and kernal version is 2.6.18-164.el5

please help??

Thanks

Niks

KermitDaFragger
Posts: 195
Joined: 2009/09/11 19:23:05
Location: the Netherlands

Re: error : "GTK not installed" while installing "gipmsg"

Post by KermitDaFragger » 2009/10/05 19:59:59

Please run 'rpm -qa | grep gtk' and verify that you have the GTK development package installed (you need the gtk2-devel package besides the gtk2 package). Otherwise install it with 'yum install gtk2-devel'.

nikunjbadjatya
Posts: 54
Joined: 2009/09/07 04:12:31
Location: Bangalore, India

Re: error : "GTK not installed" while installing "gipmsg"

Post by nikunjbadjatya » 2009/10/06 03:54:22

Hi,
i installed gtk with the command provided. here's the last few lines of the output :

Installed: gtk2-devel.i386 0:2.10.4-20.el5
Dependency Installed: atk-devel.i386 0:1.12.2-1.fc6 cairo-devel.i386 0:1.2.4-5.el5 libXfixes-devel.i386 0:4.0.1-2.1 libXi-devel.i386 0:1.0.1-3.1 pango-devel.i386 0:1.14.9-5.el5.centos
Complete!


again i ran './configure' inside extracted 'gipmsg' folder. again its giving me same output as follows:

# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gnome-config... (cached) no
checking for gnomeConf.sh file in /usr/local/lib... not found
checking extra library "applets"... ./configure: line 1117: no: command not found

checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking what warning flags to pass to the C compiler... -Wall -Wunused
checking what language compliance flags to pass to the C compiler...
checking for pthread_create in -lpthread... yes
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: GTK not installed


What to do next..??
please help.
Thanks

Niks

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

error : "GTK not installed" while installing "gipmsg"

Post by pschaff » 2009/10/06 18:28:02

Looks like the last version was a beta in 1999. I'd look for a new app, available on CentOS as a package, that has the functionality you need. Please describe what your requirements are.

By the way, you should probably read:
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url]
[url=http://wiki.centos.org/PackageManagement/SourceInstalls]Source Installs[/url]

If what you want is not in CentOS proper, please also read
http://wiki.centos.org/Repositories
and note the warnings and advice about installing and configuring yum-priorities
http://wiki.centos.org/PackageManagement/Yum/Priorities
Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.

nikunjbadjatya
Posts: 54
Joined: 2009/09/07 04:12:31
Location: Bangalore, India

Re: error : "GTK not installed" while installing "gipmsg"

Post by nikunjbadjatya » 2009/10/07 10:59:34

Hi,
Thnx for replying,
i need an application which can work as a LAN chat messenger. My colleagues are using ipmsg ( ip messenger ) which is designed for windows. so i was thinking of similar kind of application in LINUX.

Niks

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: error : "GTK not installed" while installing "gipmsg"

Post by pschaff » 2009/10/07 14:00:03

After a bit of googling found g2ipmsg-0.9.6-6.fc12.src.rpm - available from any Fedora rawhide/development mirror, such as http://mirrors.cat.pdx.edu/fedora/linux/development/source/SRPMS/g2ipmsg-0.9.6-6.fc12.src.rpm

It builds and installs under CentOS 5.3 following the procedures outlined in the [url=http://wiki.centos.org/HowTos/RebuildSRPM]HowTo Rebuild a Source RPM[/url] Wiki article. Needed a few build requirements but nothing not available from CentOS repos. One trick is the need for the "--nomd5" flag to install the SRPM as documented in the Wiki article.

Since this is from Fedora might put in a request at [url=http://wiki.centos.org/AdditionalResources/Repositories?highlight=%28EPEL%29]EPEL[/url] to carry it.

Post Reply