LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2003, 08:59 AM   #1
NewtonIX
Member
 
Registered: Oct 2003
Location: Colorado
Distribution: SLackware 14
Posts: 62

Rep: Reputation: 16
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?
 
Old 11-01-2003, 10:37 AM   #2
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
Here's an obvious question: did you install the gtk+ 2.0 libraries first?
 
Old 11-01-2003, 11:14 AM   #3
NewtonIX
Member
 
Registered: Oct 2003
Location: Colorado
Distribution: SLackware 14
Posts: 62

Original Poster
Rep: Reputation: 16
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

Last edited by NewtonIX; 11-01-2003 at 11:15 AM.
 
Old 11-01-2003, 04:35 PM   #4
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration