Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th November 2010, 11:24 PM
animehunter123 Offline
Registered User
 
Join Date: Nov 2010
Posts: 11
linuxfedorafirefox
Question Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

Good morning everyone,

Thank you for your guidance and wonderful OS. I love Fedora (just upgraded from Fedora 9... to Fedora 14! Amazing!

I have a question:


I would like to install "kanjisaver". Its a Xscreensaver, I used to use; but I dont know how to install it in Fedora 14. can someone please provide details on exactly which packages need to be installed? I tried to build from source, but the source tarball had required kde3 headers and qt headers so I was lost. Can you offer any help?

Here is the link to the package from kde-apps.org for "Kanjisaver":
http://kde-apps.org/content/show.php...?content=31660
Reply With Quote
  #2  
Old 26th November 2010, 04:16 PM
CSchwangler Offline
Registered User
 
Join Date: Feb 2009
Posts: 2,535
linuxfedorafirefox
Re: Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

This seems to be a KDE screensaver and its not uncommon for kde apps to require kde libs and qt. I guess that you are using Gnome and therefore these packages are not installed. Not sure how to provide any help since, if you want that screensaver, you have to fulfill its dependencies and that would mean install the necessary packages.
If you don't care much about what desktop environment you are working on, you could install the KDE desktop.
Reply With Quote
  #3  
Old 28th November 2010, 11:16 PM
animehunter123 Offline
Registered User
 
Join Date: Nov 2010
Posts: 11
linuxfedorafirefox
Post Re: Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

In my old version of Fedora I installed some rpms, but I dont remember which ones. I use kanjisaver as a screensaver for my studying

I did the following commands but no luck. Can anyone provide any guidance (try to install it on your system? Its really small). I ran these commands:

yum install gnome*
yum install kde*

Then when I tried to do ./configure ; make
It still doesnt work. Sorry, Im not too familiar with the new Fedora. Can anyone show me how to install Kanjisaver on Fedora 14?
Reply With Quote
  #4  
Old 29th November 2010, 07:48 AM
CSchwangler Offline
Registered User
 
Join Date: Feb 2009
Posts: 2,535
linuxfedorafirefox
Re: Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

I would rather suggest

Code:
yum groupinstall kde-desktop
Not all packages from KDE do start with kde.
Reply With Quote
  #5  
Old 30th November 2010, 08:31 AM
animehunter123 Offline
Registered User
 
Join Date: Nov 2010
Posts: 11
linuxfedorafirefox
Cool Re: Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

Thanks for the groupinstall tip! I didnt know Yum could do that.

I finished installing those packages, however when I tried to compile kanjisaver, (./configure; make clean; make) it still came up with a few errors like:

kanjisaver.h:9:26: fatal error: kscreensaver.h: file not found.

Can you try to compile this package for me from scratch on a fedora 14 vm and show me the steps? I sincerely appreciate any kind guidance anyone can offer. Thank you soo much, as this is for my studies in linguistics.

---------- Post added at 08:31 AM GMT ---------- Previous post was at 12:31 AM GMT ----------

I did a bit more research but still cant figure out why it wont find the kanjisaver.h C++ header file. It is located in the extracted rpm.

I also tried the below command but no luck...

./configure --prefix=`kde-config --prefix` && make && sudo make install

Can anyone try to install kanjisaver.tar from the original link in my post at the top of the page on Fedora 14? I really would like to use this screensaver for my school studies. Thank you so much!!!
Reply With Quote
  #6  
Old 30th November 2010, 11:51 PM
animehunter123 Offline
Registered User
 
Join Date: Nov 2010
Posts: 11
linuxfedorafirefox
Re: Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

I wonder if kanjisaver is part of Xscreensaver or a different package hmm....
Reply With Quote
  #7  
Old 1st December 2010, 05:52 AM
kalwisti's Avatar
kalwisti Offline
Registered User
 
Join Date: Sep 2008
Location: South Texas
Posts: 134
linuxfedorafirefox
Re: Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

Hi, animehunter123,

I don't have a solution to your problem -- as I have little experience compiling programs from source -- but I have a suggestion for an alternate program which might meet your needs.

Anki (http://ankisrs.net/index.html) is a flashcard-type program which can help with learning foreign-language vocabulary. The Fedora 14 repos have the current stable version available: 1.0.1. Although I haven't tried it myself, I've read favorable comments about it. One of the sample screenshots even shows Japanese (a mix of kanji and kana [?]):

http://ankisrs.net/shots.html

I did some searching, and it appears to me that it could be tricky to compile Kanjisaver in Fedora. The Debian package was orphaned by its original creator and although it seems like someone agreed to begin maintaining it, I don't think anything has happened with it. There is an Ubuntu package but the dependencies listed don't match up with anything similar in Fedora, as far as I can tell ... The info I found (which you may have seen already) is here:

http://tinyurl.com/35gh8cm
http://packages.qa.debian.org/k/kanjisaver.html
(Debian-related info)

http://www.ubuntuupdates.org/packages/show/179288
(Ubuntu-related info; click on the hyperlink labelled "Show Raw Package Information")

I have the xscreensaver 5.12 package installed in my F14 Xfce Spin; I checked and I do not see Kanjisaver listed among the possible screensaver choices.

HTH.
__________________
Fedora 17 (LXDE Spin) // Registered Linux User # 442201

AMD Athlon II X2 240 2.8 GHz, 4 GB RAM, Seagate Barracuda 320 GB HD, Nvidia GeForce 6150SE nForce 430 integrated GPU, Samsung SH-S222L DVD-RW

Last edited by kalwisti; 1st December 2010 at 05:58 AM. Reason: Added clarification to one of the external links
Reply With Quote
  #8  
Old 1st December 2010, 10:00 AM
animehunter123 Offline
Registered User
 
Join Date: Nov 2010
Posts: 11
linuxfedorafirefox
Arrow Re: Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

Hi!

Thank you for your guidance. Yes, Im familliar with Anki I use it and currently study from a 8,000+ vocab deck that I made from scratch from my classes in school

Thats a bummer that kanjisaver cant be compiled in F14. I wish there was a way to figure out exactly what needs to be done to compile it from scratch. thank you so much for your guidance...

If anyone successfully compiles this package in Fedora 14 please let us know!
Reply With Quote
  #9  
Old 1st December 2010, 03:49 PM
kalwisti's Avatar
kalwisti Offline
Registered User
 
Join Date: Sep 2008
Location: South Texas
Posts: 134
windows_xp_2003firefox
Re: Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

I'm glad to hear Anki is working well for you.

Quote:
Originally Posted by animehunter123 View Post
Thats a bummer that kanjisaver cant be compiled in F14. I wish there was a way to figure out exactly what needs to be done to compile it from scratch.
I don't know for certain that kanjisaver cannot be compiled in F14; I only know that I don't know how to do it. I've been thinking and have a couple of ideas about things you might try to get it to compile successfully. (I don't believe that they will harm your system in any way; the worst that could happen is that you will have some extra packages added to your system and kanjisaver still won't compile ...)

Do you have the Development Tools group package installed? If not, you can install it in one fell swoop:

Code:
# yum groupinstall "Development Tools"
Another thing to check for is whether you have the Qt3 development packages installed (kanjisaver is old enough -- it appears to date from 2006-2007 -- that I suspect it may be based on KDE 3 libraries rather than KDE 4). I'm away from my Linux box right now, so I can't check, but I think the package you're looking for is named "qt3 devel" or "qt3-devel".

As a final stab in the dark, I noticed that when you reported the compilation steps ( ./configure --> make clean --> make) you followed, it looks to me like the final stage might be missing:
Code:
$ su
$ <Enter root password>
# make install
# exit
You might give that a try and report back what happens. If it fails, copy and paste the output from your Terminal here. I won't likely be able to help you interpret it, but there are plenty of Fedora gurus who can.
__________________
Fedora 17 (LXDE Spin) // Registered Linux User # 442201

AMD Athlon II X2 240 2.8 GHz, 4 GB RAM, Seagate Barracuda 320 GB HD, Nvidia GeForce 6150SE nForce 430 integrated GPU, Samsung SH-S222L DVD-RW
Reply With Quote
  #10  
Old 6th December 2010, 11:49 PM
animehunter123 Offline
Registered User
 
Join Date: Nov 2010
Posts: 11
linuxfedorafirefox
Re: Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

Thank you so much for your guidance, I really appreciate it. Im actually not much of a PC person actually but I was able to install what you mentioned

After installing kdelibs (I learned now that fedora14 is using kde4 not kde3 which i noticed some of the files inside the tarball had), anyhoo:

I tried 2 more attempts (this took me 4 hours woohoo.. im poooped...):


TRY ATTEMPT #1
------------------------

Commands Ran:
sudo yum install -y kdelib*
....and it worked ok... installed a bunch of kde things....
mkdir kanjisaver-0.9.10\ \(3\)/
cd kanjisaver-0.9.10\ \(3\)/
cp ../31660-kanjisaver-0.9.10.tar.gz .
tar xvfz 31660-kanjisaver-0.9.10.tar.gz
cd kanjisaver-0.9.10/
ls
sudo ./configure
make

Results:
I made the folder, copied the tarball into the folder, and extracted it. I ran ./configure and it outputted:

...lots of checks... and then finished with these lines:
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Good - your configure finished. Start make now

... So now I ran make but it errored with these:
make all-recursive
make[1]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10' Entering...
Making all in doc
make[2]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10/doc' Entering...
Making all in .
make[3]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10/doc' Entering...
make[3]: `all-am' Failed.
make[3]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10/doc' Leaving...
Making all in en
make[3]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10/doc/en' Entering...
/usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
make[3]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10/doc/en' Leaving...
make[2]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10/doc' Leaving...
Making all in po
make[2]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10/po' Entering...
make[2]: `all' Failed.
make[2]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10/po' Leaving...
Making all in src
make[2]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10/src' Entering...
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload -o kanjisaverui.h ./kanjisaverui.ui
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I. -UQT_NO_ASCII_CAST -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT kanjisaver.o -MD -MP -MF ".deps/kanjisaver.Tpo" -c -o kanjisaver.o kanjisaver.cpp; \
then mv -f ".deps/kanjisaver.Tpo" ".deps/kanjisaver.Po"; else rm -f ".deps/kanjisaver.Tpo"; exit 1; fi
In file included from kanjisaver.cpp:28:0:
kanjisaver.h:9:26: fatal error: kscreensaver.h: No such file or directory. Compile failed.
make[2]: *** [kanjisaver.o] Error 1
make[2]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10/src' Leaving...
make[1]: *** [all-recursive] Error 1
make[1]: Directory `/home/matsubara/TestingKanjiSaver/kanjisaver/kanjisaver-0.9.10 (3)/kanjisaver-0.9.10' Leaving...
make: *** [all] Error 2

It sounds like the kanjisaver.cpp that has a line for #include "kanjisaver.h" failed. Im not sure why, but the both files are in the same directory ... Anyone tried doing this?



THE SECOND ATTEMPT---------
-------------------------------

Somebody told me to subsitute replace all occurances of 'kde3' with 'kde4' in all of the extracted files... This sounded weird but I did what she told me:

$ find . -type f | xargs sed 's/kde3/kde4/g'

$ ./configure ;

and it printed....

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
..
....a bunch of stuff... then eventually...

checking for perl... /usr/bin/perl
checking for Qt... libraries /usr/lib/qt-3.3/lib, headers /usr/lib/qt-3.3/include using -mt
checking for moc... /usr/lib/qt-3.3/bin/moc
checking for uic... /usr/lib/qt-3.3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: error:
I can't find the designer plugins. These are required and should have been installed
by kdelibs
make: failed






So... that didnt work too... Any advice? Try to compile the tarball on your box too if you want. The file name is:
31660-kanjisaver-0.9.10.tar.gz

I got it from the URL listed in the beginning of this topic. thanks so much,

any more advice?

---------- Post added at 11:49 PM ---------- Previous post was at 11:48 PM ----------

Btw, for the previous post on ATTEMPT#1, i did "sudo make", and also tried su - c and ran the same commands but the same results each time
Reply With Quote
  #11  
Old 17th February 2011, 05:22 AM
animehunter123 Offline
Registered User
 
Join Date: Nov 2010
Posts: 11
linuxfedorafirefox
Re: Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

Sorry to bring back this thread, but can someone help me install Kanjisaver on Fedora 14? I really love this screensaver more than anything in the entire world.
Reply With Quote
  #12  
Old 4th October 2011, 04:41 AM
animehunter123 Offline
Registered User
 
Join Date: Nov 2010
Posts: 11
linuxfedorafirefox
Re: Fedora 14 - Screensaver "Kanjisaver". Need Guidance on installation.

anyone have any ideas?
Reply With Quote
Reply

Tags
fedora, guidance, installation, kanjisaver, screensaver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a little guidance with fstab and "bind" option... jonrpick Using Fedora 2 7th November 2010 06:18 PM
Fedora upgrade fails in "Preparing transaction from installation source" BillLee Installation and Live Media 2 1st May 2010 07:44 PM
Fedora Core 9: Screen Resolution can not change from "800X600" to "1024X 768" csoftvietnam Using Fedora 7 26th August 2008 02:11 AM
Failed to execute child process "gnome-screensaver" loren456 Using Fedora 1 25th June 2007 03:46 AM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM


Current GMT-time: 03:00 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat