LinuxQuestions.org
Visit Jeremy's Blog.
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 12-27-2003, 09:23 AM   #1
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Rep: Reputation: 15
gkrellm2..how to install plugins


I am able to install the themes but have no lug with the Plugins

After untaring the files in the correct directory the instruction say to run:

"make"
then
"make install"

even in root bash reports to have no idea of the command "make"

What am I missing?

 
Old 12-27-2003, 09:44 AM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
is there a configure script with the source?

do ./configure in that directory first, then it should create the makefiles that you can use make and make install with
 
Old 12-27-2003, 09:57 AM   #3
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
Re: gkrellm2..how to install plugins

Quote:
Originally posted by alfredh
I am able to install the themes but have no lug with the Plugins

After untaring the files in the correct directory the instruction say to run:

"make"
then
"make install"

even in root bash reports to have no idea of the command "make"

What am I missing?

try this:
Code:
su -
enter root password
the - atfter the superuser command forces bash to use roots envrionmental variables, like the path and pkgtool lib paths. This shouldn't be needed for running make, but it can't hurt

Code:
cd /folder/where/you/untared/the/plugin
this is important. Make sure you're at the top level of the tree, where the Makefile is located.

Code:
make
cp name_of_the_plugin.so ~/.gkrellm2/plugins/name_of_the_plugin.so
the make install command is busted for most of the gkrellm2 plugins, as it points to the wrong global plugin directory.
 
Old 12-27-2003, 10:35 AM   #4
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Original Poster
Rep: Reputation: 15
thanks guys
But I still can not get around this issue of not being able to use "make"

When I tried it originally I did log in at the terminal as "root"

anyway..here is the reply I get when after typing the "make" command and logged in as "root"

-bash: make: command not found

Am I missing a package ?
 
Old 12-27-2003, 10:52 AM   #5
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
Does this happen with other software? or just the gkrellm plugins?
 
Old 12-27-2003, 11:33 AM   #6
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Original Poster
Rep: Reputation: 15
burnpile

Haven't tried with other software, but here is what I know

In the bash Shell: "info" nor "help" nor "man" knows about the command.

AS I am running SuSE 8.2 on a Laptop with limited hardrive space I chose the packages to keep the install down to a reasonable size.
Do you know which package(s) I need to have installed for this command ?
 
Old 12-27-2003, 12:36 PM   #7
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
bingo. You have to have GNU make installed. As far as what all will be required, you'll need to find someone familiar with the SUSE install packages. I can however tell you what would need installed piece by piece, so maybe you can match this up with the correct suse pkg.
Code:
autoconf-2.57-noarch-1	
automake-1.7.7-noarch-1	
bin86-0.16.11-i386-1	
binutils-2.14.90.0.6-i486-1	
bison-1.35-i386-1	
byacc-1.9-i386-1	
ccache-2.2-i386-1	
clisp-2.31-i486-1	
cscope-15.4-i486-1	
distcc-2.10-i486-1	
gcc-3.2.3-i486-2	
gcc-g++-3.2.3-i486-1	
gcc-g77-3.2.3-i486-1	
gcc-gnat-3.2.3-i486-1	
gcc-objc-3.2.3-i486-1	
gdb-5.3-i386-1	
gettext-tools-0.11.5-i386-1	
guile-1.6.4-i486-1	
indent-2.2.9-i386-1	
kernel-headers-2.4.22-i386-1	
libtool-1.4.3-i486-2	
m4-1.4-i386-2	
make-3.80-i386-1	
oprofile-0.6-i486-1	
p2c-1.21alpha2-i386-1	
rcs-5.7-i386-1	
strace-4.4.98-i486-2
A few of these I'm not 100% sure of, but I included them rather than leave an important one out. The naming convention is for Slackware 9.x , but it should be very close to the generic name and the suse specific name. Perl, Python, JDK, NASM and KDE/GTK stuff is left out of this list. If you want to be able to compile anything and everything, install the latest versions of those as well.

I wish i had an easy fix for you, but this is the best I can think of.

Last edited by burnpile; 12-27-2003 at 12:40 PM.
 
Old 12-27-2003, 12:46 PM   #8
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
Sorry about double posting, I just didn't want this to get lost in the above jungle post I made.

i did think of an easy fix. Most gkrellm2 plugins don't use a configure script, so someone running the same version of Suse and gkrellm could compile the plugins and send you the .so files for you to pop in the plugin directory. (Just tried this between 2 slack9 machines without a hitch). However if you have a need for more software on your laptop, you may be better off trying to get GNU make and compilers on it.
 
Old 12-29-2003, 08:22 AM   #9
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Original Poster
Rep: Reputation: 15
burnpile

Sorry for the late reply but things were very busy at home
I will check out the packages and find the one(s) that are missing.
 
Old 12-31-2003, 06:43 AM   #10
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Original Poster
Rep: Reputation: 15
got make and make install working....it was missing those packages.
Now I have new errors coming up...

/home/alfred/.gkrellm2/plugins/calendar.xpm
Error: /home/alfred/.gkrellm2/plugins/calendar.xpm: invalid ELF header
/home/alfred/.gkrellm2/plugins/ChangeLog
Error: /home/alfred/.gkrellm2/plugins/ChangeLog: invalid ELF header
/home/alfred/.gkrellm2/plugins/COPYING
Error: /home/alfred/.gkrellm2/plugins/COPYING: invalid ELF header
/home/alfred/.gkrellm2/plugins/INSTALL
Error: /home/alfred/.gkrellm2/plugins/INSTALL: invalid ELF header
/home/alfred/.gkrellm2/plugins/Makefile
Error: /home/alfred/.gkrellm2/plugins/Makefile: invalid ELF header
/home/alfred/.gkrellm2/plugins/gkrellm-reminder-2.0.0
Error: /home/alfred/.gkrellm2/plugins/gkrellm-reminder-2.0.0: cannot read file data: Is a directory
/home/alfred/.gkrellm2/plugins/README
Error: /home/alfred/.gkrellm2/plugins/README: invalid ELF header
/home/alfred/.gkrellm2/plugins/reminder.c
Error: /home/alfred/.gkrellm2/plugins/reminder.c: invalid ELF header

And so we go on...:-)
 
Old 12-31-2003, 07:54 PM   #11
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
Looks like support for ELF biniaries isn't getting loaded. Check your kernel and make sure it's either compiled in or as a module.

This is somethign I haven't come across before, the above is just off the cuff. You get these errors during the make process or the make install?
 
Old 01-01-2004, 05:28 AM   #12
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Original Poster
Rep: Reputation: 15
Burnpile

This is where we beginners lack the expirience..
What does ELF stand for?
Any idea which package is needed?
Anyway, just another step. I will get it working in the end.
 
Old 01-03-2004, 01:26 AM   #13
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
support for elf binaries is a kernel option.

Code:
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
The above is what you're looking for in the /usr/src/linux/.config file . Open it with any editor and search for those lines. If you have some differences, paste your config file here.

Last edited by burnpile; 01-03-2004 at 01:28 AM.
 
Old 01-03-2004, 02:00 AM   #14
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally posted by alfredh
What does ELF stand for?
Executable and Linking Format specification, as distinct from the older a.out format. See /usr/src/linux/Documentation/Configure.help
 
Old 01-05-2004, 06:18 AM   #15
alfredh
Member
 
Registered: Nov 2003
Distribution: Mandriva PWP 2009i586
Posts: 111

Original Poster
Rep: Reputation: 15
I don't have the /usr/src/linux/ directory..this is SuSE 8.2
Also can't find a file called or directory called .config
 
  


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
How do I install totem plugins and where should I get them? darbot Linux - Software 4 10-29-2004 10:24 PM
Cant install gstreamer-plugins-mp3 short101 Linux - Software 0 07-13-2004 09:54 PM
Can't find gkrellm2 for FC2. carlosinfl Linux - Software 2 06-13-2004 12:09 PM
checking imap folders with gkrellm2 dibblethewrecke Linux - Software 0 03-20-2004 02:23 PM
How may I install plugins for Mozila 1.2b? geraldomanaus Linux - Newbie 0 11-29-2002 08:11 AM


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