LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GNOME library problems (https://www.linuxquestions.org/questions/linux-newbie-8/gnome-library-problems-74953/)

KptnKrill 07-22-2003 03:16 PM

GNOME library problems
 
Hi
I tried to install a game I found on freshmeat called atomix. Unfortunately it's only available as source code. I've had loads of trouble trying to compile programs from source since I started using linux, but this time I'm determined to get this program to work. I've had too many programs that I wanted but could use because I couldn't install them.
Anyways.....
I downloaded the atomix source, extracted it, then typed....
$ ./configure
It spit out this....
------------------------------------------------------------------------------------
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 perl... /usr/bin/perl
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking what warning flags to pass to the C compiler...
checking what language compliance flags to pass to the C compiler...
checking for pkg-config... /usr/bin/pkg-config
checking for libgnome-2.0 libgnomeui-2.0 libxml-2.0 gdk-pixbuf-2.0 libglade-2.0 libgnomecanvas-2.0... Package libgnome-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnome-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnome-2.0' found

configure: error: Library requirements (libgnome-2.0 libgnomeui-2.0 libxml-2.0 gdk-pixbuf-2.0 libglade-2.0 libgnomecanvas-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
------------------------------------------------------------------------------------
I have GNOME installed but it can't seem to find any of the libraries. Anyone know what to do? Thanks in advance.

BigBadPenguin 07-23-2003 04:17 AM

hi kptn
It looks like a problem with pkg-config. I think you must have it but it's not finding what it needs.
What happens when you say:
Code:

pkg-config --version
? If there's nothing wrong there, try
Code:

pkg-config --list-all | grep gnome
and see if it's finding the gnome stuff. Let us know what it says.

KptnKrill 07-23-2003 10:10 AM

"pkg-config --version" returns....
0.14.0
and "pkg-config --list-all | grep gnome" returns....
------------------------------------------------------------------------------------
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtk+-2.0', required by 'libpanel-applet-2', not found
gnome-mime-data-2.0 gnome-mime-data - Base set of file types and applications for GNOME
gnome-python-2.0 GNOME-python - Python bindings for GNOME libraries
------------------------------------------------------------------------------------

acid_kewpie 07-23-2003 10:22 AM

install the gnome-devel package

KptnKrill 07-23-2003 02:08 PM

I can't install the gnome-devel package.
unlocatable package.... gtkhtml = 1.1.8-5 required by gtkhtml-devel
I went onto rpmfind.net and was able to find gtkhtml but not the right version. I installed gtkhtml-1.1.9-4.i386.rpm and retried and recieved the same error. What should I do now?

KptnKrill 07-24-2003 09:54 AM

Okay I found the correct version of gtkhtml on my redhat cds. But when I try to install it, it says newer version installed or something. How do I remove the new version so that I can install the older version? Thanks in advance.


All times are GMT -5. The time now is 02:39 AM.