LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with pathing (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-pathing-111095/)

NewtonIX 11-01-2003 08:59 AM

Problem with pathing
 
When i try to install the xmms plugin for gkrellm i get this error when i run make

cc -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags` `xmms-config --cflags` -DPACKAGE="\"gkrellmms\"" -c -o gkrellmms.o gkrellmms.c
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
No package 'gtk+-2.0' found
/bin/sh: line 1: cc: command not found
make: *** [gkrellmms.o] Error 127


pretty straight forward on what i need to do but i have no idea how.
How do i add it to the pkg_config_path
and what do i need to add? the path to gkrellm? or the path to grellmms?
:confused:

spurious 11-01-2003 10:37 AM

Here's an obvious question: did you install the gtk+ 2.0 libraries first?

NewtonIX 11-01-2003 11:14 AM

If its not installed default with RH9 then no

I tried installing the gtk libraries and got this

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-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Win32... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... /lib/cpp
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH




So i checked the required dependencies and got the same thing when i tried to install any of those so now im really lost

I got gimp installed so id imagine those are allready installed but i dont know how to check

All this for a damn plugin
:rolleyes:

spurious 11-01-2003 04:35 PM

It looks like you didn't install gcc either ('checking for gcc... no'); gcc is the GNU C Compiler, and it is the fundamental requirement if you are going to compile programs from source.

I'm not familiar with Red Hat 9's installer, but you probably did not choose to install GNOME (which would have given you the gtk+ libraries) or the "development environment" (which would have given you gcc.

Run the Red Hat installer again; I think it gives you an option of an "upgrade installation" which you can use to choose the packages that you originally left out.

One other thing: if you are new to linux, you should probably stick to installing software with your package management system, at least at first. For Red Hat, that is up2date and rpm (there is also apt-get for rpm). The secret to avoiding dependency hell with rpm is to find all the required rpm packages first (search http://rpmfind.net; it lists all the dependencies), download all the packages to the same directory, then rpm -Uvh *

I don't use Red Hat, so I won't be able to help you any further. Try posting on the Red Hat forum here.


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