LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-21-2003, 08:15 PM   #1
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Gkrellm Plugins


Hmmm...I'm trying to install the Gkrellm Launcher and Weather plugins. I untar them, change into the directory and do make as the INSTALL file says to do. It just shoots out a bunch of cryptic messages.

Unfortunatly I'm spoiled with rpms so I don't know how to go about this. If anyone wants me to post the output of the make command I can but here are the last few lines:

gkrellmlaunch.c:434: warning: `cbMoveUp' defined but not used
gkrellmlaunch.c:459: warning: `cbMoveDown' defined but not used
gkrellmlaunch.c:482: warning: `cListSelected' defined but not used
gkrellmlaunch.c:503: warning: `cListUnSelected' defined but not used
gkrellmlaunch.c:515: warning: `cbAdd' defined but not used
gkrellmlaunch.c:545: warning: `cbReplace' defined but not used
gkrellmlaunch.c:591: warning: `cbDelete' defined but not used
make: *** [gkrellmlaunch.o] Error 1
 
Old 04-21-2003, 08:36 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Just out of curiousity:

which version of gkrellm and
gkrellmlaunch are you using/
trying to compile ... ?

My gkrellmlaunch-0.5 doesn't
have an INSTALL file ...

Cheers,
Tink
 
Old 04-21-2003, 08:49 PM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Yeah niether does mine. Its README. I'm using gkrellmlaunch-0.5 and gkrellm-2.1.8.
 
Old 04-22-2003, 09:32 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Okay heres an update. I sucessfully installed a few of the plugins from rpm but the ones that I want aren't working correctly. It says on gkrellm's site that the plugins I downloaded are for gkrellm2.0 or greater.

I'm lost...

Anyway if I can't get this thing to work does anyone know of a cool little weather app for your desktop. Something simple that sits in the corner and tells you your weather or something.
 
Old 04-22-2003, 09:46 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by Crashed_Again
Something simple that sits in the corner and tells you your weather or something.
/me looks out of his window and shakes his head ...

Cheers,
Tink
 
Old 04-22-2003, 09:52 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Quote:
Originally posted by Tinkster
Tinkster looks out of his window and shakes his head ...

Cheers,
Tink
Yes but you don't sit in the corner of my desktop.
 
Old 04-22-2003, 10:00 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Quote:
Originally posted by Tinkster
/me looks out of his window and shakes his head ...

Cheers,
Tink
ba ha ha, good one

Vince, have you given it a make clean, or checked the Makefile to see if you need to edit something to point to a different location of something...

Cool
 
Old 04-22-2003, 10:10 PM   #8
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Yeah I tried:

make clean
make

no dice. This is the makefile:

PKGNAME = gkrellweather
VERSION = 2.0.6
CFLAGS = -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`
LIBS = `pkg-config gtk+-2.0 --libs`
LFLAGS = -shared
PREFIX = /usr/local

LOCALEDIR := $(PREFIX)/share/locale

ifeq ($(enable_nls),1)
CFLAGS += -DENABLE_NLS -DLOCALEDIR=\"$(LOCALEDIR)\"
export enable_nls
endif
CFLAGS += -DPACKAGE="\"$(PKGNAME)\""
export PKGNAME LOCALEDIR

CC = gcc

OBJS = gkrellweather.o

gkrellweather.so: $(OBJS)
(cd po && ${MAKE} all )
$(CC) $(OBJS) -DVERSION=\"$(VERSION)\" -o gkrellweather.so $(LFLAGS) $(LIBS) -lpthread

clean:
(cd po && ${MAKE} clean )
rm -f *.o core *.so* *.bak *~

gkrellweather.o: gkrellweather.c
$(CC) $(CFLAGS) -DPREFIX=\"$(PREFIX)\" -DVERSION=\"$(VERSION)\" -c gkrellweather.c

install:
(cd po && ${MAKE} install )
if [ -d /usr/lib/gkrellm2/plugins/ ] ; then \
install -c -s -m 644 gkrellweather.so /usr/lib/gkrellm2/plugins/ ; \
elif [ -d $(PREFIX)/lib/gkrellm2/plugins/ ] ; then \
install -c -s -m 644 gkrellweather.so $(PREFIX)/lib/gkrellm2/plugins/ ; \
else \
install -D -c -s -m 644 gkrellweather.so $(PREFIX)/lib/gkrellm2/plugins/gkrellweather.so ; \
fi
install -c -m 755 GrabWeather $(PREFIX)/bin

uninstall:
(cd po && ${MAKE} uninstall )
rm -f /usr/lib/gkrellm2/plugins/gkrellweather.so
rm -f $(PREFIX)/lib/gkrellm2/plugins/gkrellweather.so
rm -f $(PREFIX)/bin/GrabWeather

dist:
rm -rf $(PKGNAME)-$(VERSION)
mkdir $(PKGNAME)-$(VERSION)
cp COPYING ChangeLog Makefile README gkrellweather.c GrabWeather $(PKGNAME)-$(VERSION)/
mkdir $(PKGNAME)-$(VERSION)/po
cp po/*.po po/Makefile po/README $(PKGNAME)-$(VERSION)/po/
tar zcf $(PKGNAME)-$(VERSION).tgz $(PKGNAME)-$(VERSION)
rm -rf $(PKGNAME)-$(VERSION)


I don't know what to look for.
 
Old 04-22-2003, 10:19 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If you are getting the same error from
two different packages (done by two
different people?) I'd assume it has to
do with your compiler ...

Could you, despite the size, copy &
paste the output of the entire make?
The "last few warnings" you copied the
first time around didn't really give an
explanation ... :)

Cheers,
Tink
 
Old 04-22-2003, 10:31 PM   #10
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
hehe okay I'd like to post the output of the make command but I can't figure out how. I tried to do:

make > file.txt

but that doesn't capture all the output. I can't simply highlight it either because its too big to fit on one screen. D'oh!
 
Old 04-22-2003, 10:58 PM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
GkrellWeather was last updated in may 2001, I'd say it's a compiler problem - I last compiled it on slack 8.1 (gcc-2.95) and it won't compile on slack 9.0 (gcc-3.2). Someone needs to port it to gcc-3.2.
 
Old 04-22-2003, 11:10 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by Crashed_Again
hehe okay I'd like to post the output of the make command but I can't figure out how. I tried to do:

make > file.txt
Try
make > file.txt 2>&1

Cheers,
Tink
 
Old 04-22-2003, 11:18 PM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
See if my compiled version will work (gcc 2.95 slack 8.1)
http://masterc.no-ip.org/host/gkrellweather.so

Put the .so in your gkrellm plugins folder and restart gkrellm.

Cool
 
Old 04-22-2003, 11:19 PM   #14
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Original Poster
Rep: Reputation: 57
Ah man its too long. Its like 120,000 characters and it doesn't let me post it. Oh well. By the way what 2>&1 ?
 
Old 04-22-2003, 11:20 PM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
2 or more posts will fit I bet

Cool
 
  


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
gkrellm plugins greygoose80 Slackware 10 12-22-2004 04:42 PM
gkrellm plugins Slinky Slackware 14 03-09-2004 03:21 PM
Problems with gkrellm and plugins psyklops Linux - Software 0 08-27-2003 08:43 PM
Horizontal GKrellM Plugins... Thymox Linux - Software 5 08-14-2002 06:07 PM
gkrellm plugins lacrimae Linux - Software 1 04-06-2002 07:34 PM

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

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