LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2003, 05:55 AM   #1
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Rep: Reputation: 52
main.c error with gkrellm compile


Gkrellm installs easily using the rpm that came with SuSE 8.2 but tar.gz plugins don't work. I changed to a gkrellm tar.gz and that won't "make" - I get millions of errors and all error lines begin with main.c. I'm wondering if that indicates something blindingly obvious that I can't see ???
 
Old 06-14-2003, 03:13 PM   #2
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Original Poster
Rep: Reputation: 52
Hmmm! The hardest thing about this problem is that I just don't have the vocabulary to describe the problem.

Gkrellm 2.1.5 is happily installed on my SuSE 8.2 box. I want the XMMS plugin and a volume plugin. When I use an rpm file, nothing happens. It compiles and then nothing. I have set Gkrellm up before - in SuSE 8.0 so I think I know what I am looking for. tar files error out bigtime - lots of main.c and gkrellm.c errors. It's a big error file!!

I'm almost certain that I'm missing a key component somewhere but I don't know what.

Of course....I can start XMMS from my Flux menu and, similarly, volume doesn't present a problem but I want things to work as they should. Also, this is a great distraction from real work!!!! I wonder how many Linux users are in a similar position - they can do what they need to do in one form but prefer to do it in a way that they can't yet. How many hours are wasted in the pursuit of knowledge? Hmmm! Once I crack this one, I WILL focus.
 
Old 06-14-2003, 09:08 PM   #3
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
Hi,

Okay, so you have gkrellm running just fine on Suse. Good. You want the xmms and volume plugins. All you have to do is download the tar.gz file for each plugin (here and here), untar them, check the Makefiles to make sure that they point to the right directories (wherever gkrellm.h and gkrellm-public-proto.h are; for me that's /usr/include/gkrellm), and run make. You shouldn't need the latest gkrellm source. The rpm will be just fine as long as it includes the two header files mentioned above.

Also, you should untar them into their own directories and compile them there. That's the beauty of plugins. The source isn't necessary (except for header files, of course).

Ok, now get back to work!!!

Chris

Last edited by footfrisbee; 06-14-2003 at 09:13 PM.
 
Old 06-17-2003, 03:32 PM   #4
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Original Poster
Rep: Reputation: 52
Thanks Chris but I think the problem runs deeper than that --- when I make I get lots off errors. I spent some time uninstalling and reinstalling bits and pieces until I got a wild shot in the dark Freshrpm rpm working. Gkrellmms is there and it works but the volume.so, though it appears as a plugin, doesn't add anything to gkrellm when selected. Hmmmm.... time to pour a glass or two of wine..
 
Old 06-17-2003, 08:50 PM   #5
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
Doh! You also need the development header files for xmms. Maybe that's what is missing? If you want you could post the error messages or email them to me. You just gotta have the volume!
 
Old 06-18-2003, 05:15 PM   #6
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Original Poster
Rep: Reputation: 52
errr...where would I find the development header files for xmms? A search for xmms+development on my distro doesn't bring anything up.
Thanks
 
Old 06-19-2003, 02:05 AM   #7
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
Check out xmms.org. It looks like they have rpms for Redhat 6 and 7. Can Suse use them?
 
Old 06-19-2003, 04:14 PM   #8
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Original Poster
Rep: Reputation: 52
Well done footfrisbee .... after about 8 installs and uninstalls and reinstalls of a variety of flavours of .rpm volume.so and gkrellmms.so - with the aid of the development headers (the RedHat ones have worked so far!!) I now have both gkrellmms AND volume. I don' t know why I had such problems - perhaps because I'm delving into MySQL a bit too much? Or is it the wine? But ---- thanks Chris!
 
Old 06-20-2003, 12:54 AM   #9
footfrisbee
Member
 
Registered: Apr 2003
Distribution: Debian Sarge
Posts: 259

Rep: Reputation: 30
Awesome.
 
Old 06-20-2003, 01:16 PM   #10
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Erm, did you ./configure before make ?
 
Old 06-20-2003, 01:59 PM   #11
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Original Poster
Rep: Reputation: 52
Erm...I followed the README to the letter
 
  


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
No main(), can compile? Itachi Programming 3 09-30-2005 11:39 AM
GKrellM Error.....? mrgrieves Linux - Software 8 07-20-2004 06:40 PM
Gkrellm v2 Error, HELP! RaVilj Linux - Software 2 06-19-2004 12:27 PM
Can't compile gkrellm plugins pen^2 Linux - Software 3 01-29-2004 11:49 AM
Gaim and Gkrellm error out during compile zakl Linux - Software 1 05-11-2003 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11: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