LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-20-2002, 07:50 PM   #1
steve65
LQ Newbie
 
Registered: Oct 2002
Location: Philadelphia, PA
Distribution: SuSE 8.1 Pro
Posts: 19

Rep: Reputation: 0
How to do a make? GNU Krell


Hi me again.

I have found a plugin that is suppose to work with "The GNU Krell Monitors" and help monitor the CPU temperature of my computer.

Well the next step in my learning process has begun and I have started trying to use a makefile. I hope you don't mind but if I talk through it I may get a lot more out of it.

I have included the install instructions and the makefile contents below. Do I need to do is rename the makefile to "test" and then in the directory that the makefile is in is key in the command "make test"? What I am assuming will happen after this is a file called "sensors.so" will be created. After this file is created it needs to be copied to either ~/.gkrellm/plugins or /usr/share/gkrellm/plugins directory. Am I right? My only problem is I searched the hard drive and this folder does not exist?

Do I have the process right so far? I could go ahead and try it, but I figured I would run it by you first if I could.

Thanks for letting me bore you again,
Steve

--------------------------------------------------
The install instructions are:
--------------------------------------------------
*Requirement:
gtk : http://gtk.org
gkrellm : http://gkrellm.org
*Compilation:
make
*Test:
make test
*Installation:
Installation in home directory :
cp sensors.so ~/.gkrellm/plugins
Installation in /usr
cp sensors.so /usr/share/gkrellm/plugins

--------------------------------------------------
The MakeFile contains:
--------------------------------------------------
all: sensors.so

sensors.so: sensors.o
gcc -shared -Wl -o sensors.so sensors.o

sensors.o: sensors.c
gcc -Wall -fPIC -Wall `gtk-config --cflags` `imlib-config --cflags-gdk` -c sensors.c

test: sensors.so
gkrellm -p sensors.so

clean:
rm -f sensors.so sensors.o
--------------------------------------------------
 
Old 10-20-2002, 07:56 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
All you need to do is type make. Sometimes the GKrellM plugins also come with a nice little install script where you type make install, but you can always copy the file to where it's supposed to be. in order to test it, you need only type make test. And yep, the ~/.gkrellm/plugins directory sounds about right. ~ is a 'shortcut' to your home directory (/home/steve), and the . infront of gkrellm signifies that it is a hidden directory.

A word of caution, though. This plugin requires the lmsensors package to be installed and working already, and it is not the easiest of things to get going nicely without interfering with other stuff.
 
Old 10-20-2002, 08:12 PM   #3
steve65
LQ Newbie
 
Registered: Oct 2002
Location: Philadelphia, PA
Distribution: SuSE 8.1 Pro
Posts: 19

Original Poster
Rep: Reputation: 0
OK thanks for the advice! I was trying to get some kind of program that would tell me my CPU temp and maybe I could start learning how to do the makes. But I don't want to go thought the hassle of reinstalling SuSE, at least not yet

There is an install file included in the package. I am not sure how to tell if it is a script or just a simple text file telling you what needs to be done but the contents were listed below and the file is listed as plain text in the file system.

By the way how did you know my home directory was /home/steve? Lucky guess because of the name?

Steve
 
Old 10-20-2002, 08:18 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
cat

^^^ It's your friend! cat INSTALL will show the contents of the file. If it looks like a text file... then you can read it with cat INSTALL | less (that was the pipe symbol... don't know where it is on your keyboard, but it's next to Z on mine).

How did I guess your home dir? Transatlantic ESP! No, on most home systems people use their name as their username. I'm a little unusual in that I have gsewell as my username (I had it for 4 years at Uni and I just got used to typing it), and thymox as another user that I use for my music work. As for re-installing SuSE... I don't think it'd come to that, but I found that installing the lm_sensors package to be a little less than intuitive. Didn't destroy anything, but I did have to fiddle around with my NVidia drivers... don't ask.
 
Old 10-20-2002, 08:39 PM   #5
steve65
LQ Newbie
 
Registered: Oct 2002
Location: Philadelphia, PA
Distribution: SuSE 8.1 Pro
Posts: 19

Original Poster
Rep: Reputation: 0
Shoot if I knew how to get an IM package on here this would be a lot easier but that is half the fun I guess. Well I know it is a text file. I will have to give the sensors a try tomorrow night then

As far as my name was concerned I thought maybe it was coming up on my browser settings somewhere.

Thanks for baring with me.
Steve
 
Old 10-22-2002, 05:29 AM   #6
mace
Member
 
Registered: Apr 2002
Distribution: redhat7, 7.1, 7.2, 8.0, mandrake, debian2.2, 3, suse
Posts: 176

Rep: Reputation: 30
if you're using suse8 just use the yast program to install gkrellm.
 
Old 10-22-2002, 11:42 AM   #7
steve65
LQ Newbie
 
Registered: Oct 2002
Location: Philadelphia, PA
Distribution: SuSE 8.1 Pro
Posts: 19

Original Poster
Rep: Reputation: 0
Now you tell me

hmmm... I guess I could do that but then that takes all the fun out of me learning how to do an install manually Do you know if it will install the lm_sensors drivers that are needed to drive this module?

Last edited by steve65; 10-22-2002 at 12:29 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Which GNU Make???? munichtexan Linux - Newbie 22 11-20-2005 10:37 AM
Need help installing gnu make 3.80.0 AljoshaNL Linux - Software 0 08-19-2005 05:16 AM
Shell commands in GNU make MadCactus Programming 2 02-19-2004 05:36 AM
Shell commands in GNU make? MadCactus Linux - Software 0 02-17-2004 04:11 PM
GNU make problems MacDaddy Linux - General 9 08-26-2001 03:09 PM


All times are GMT -5. The time now is 08:43 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration