LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-14-2009, 07:24 PM   #1
PeteRay
LQ Newbie
 
Registered: Jul 2009
Location: Montreal
Distribution: Debian
Posts: 24

Rep: Reputation: 0
Which Kanatest distro will work for Mandriva?


I'd like to install Kanatest - http://www.clayo.org/kanatest/ - to soften the blow of converting my wife's PC to Linux. Kanatest is available for ArchLinux, Debian, Fedora, FreeBSD, OpenBSD, and Gentoo, but I'm running Mandriva 2009.1. Which distro should I install?
 
Old 07-15-2009, 12:26 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
There's no reason why Kanatest cannot be installed on Mandriva (or any other distro) providing you have the required dependencies installed. All they are simply saying is there are pre-built packages for those listed distros, so there's no need to compile and then install them.

Out of interest I downloaded the source code, installed the required dependencies. The program compiled and installed with no problems.
 
Old 07-15-2009, 07:41 PM   #3
PeteRay
LQ Newbie
 
Registered: Jul 2009
Location: Montreal
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 0
Thanks Nexus for your insight. A long time ago I had named a computer Nexus. But now to look ahead, roll up my sleeves and make Kanatest happen.
 
Old 07-16-2009, 12:19 AM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
The gtk+ that you need is the libgtk+2_0_0-devel package. Post any compile errors you cannot resolve to this thread. Good luck
 
Old 07-18-2009, 12:51 PM   #5
PeteRay
LQ Newbie
 
Registered: Jul 2009
Location: Montreal
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 0
Thanks again Nexus for your interest.

Not a roaring success. The realease I'm working with is Mandriva One 2009.1, so I downloaded "Mandriva 2009.1 for i586 libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586.rpm", but I can't install it for lack of several dependencies:

rpm -i --allfiles libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586.rpm
error: Failed dependencies:
libgdk_pixbuf2.0_0-devel = 2.16.1 is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
libatk1.0-devel >= 1.13.0 is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
libpango1.0-devel >= 1.20.0 is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
pkgconfig(atk) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
pkgconfig(cairo) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
pkgconfig(gdk-pixbuf-2.0) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
pkgconfig(gio-2.0) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
pkgconfig(pango) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
pkgconfig(pangocairo) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
pkgconfig(pangoft2) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libX11) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libXcomposite) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libXcursor) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libXdamage) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libXext) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libXfixes) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libXi) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libXinerama) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libXrandr) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libXrender) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libatk-1.0) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libcairo) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libfontconfig) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libgdk_pixbuf-2.0) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libgio-2.0) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libglib-2.0) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libgmodule-2.0) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libgobject-2.0) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libm) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libpango-1.0) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libpangocairo-1.0) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586
devel(libpangoft2-1.0) is needed by libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586

I've been known to spend days looking for a way to make the sky blue, when I'd need only to look up, so I unzipped the Kanatest tarball, then ran

./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/peter/kanatest-0.4.8':
configure: error: no acceptable C compiler found in $PATH

No compiler, no make?? I tried finding them in Mandriva's "add/remove applications" but there is nothing under "development" that seems to fit.

I had decided to try Mandriva for my wife's PC based on past experience with Mandrake. In a word, E-Z, it just works, and it was better than many at detecting hardware. I expect to have to install various apps on her PC and to troubleshoot problems once in a while. Now I wonder if I should look at another distribution.
--
Peter
 
Old 07-18-2009, 01:11 PM   #6
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
You're so close don't throw in the towel yet. Here's resource that should help: Compiling Source Code I & Compiling Source Code II

Those pages will show you what packages you need to add to increase your chances of success and how to resolve any outstanding issues.
 
Old 07-21-2009, 08:20 PM   #7
PeteRay
LQ Newbie
 
Registered: Jul 2009
Location: Montreal
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 0
I downloaded these packages
-rw-rw-r-- 1 9221279 2009-07-20 20:28 gcc-4.4.0-14.i586.rpm
-rw-rw-r-- 1 3312080 2009-07-20 21:15 gcc-c++-4.3.2-5mnb2.i586.rpm
-rw-rw-r-- 1 4074210 2009-07-20 20:51 gcc-c++-4.3.2-7.i386.rpm
-rwxrwxrwx 1 2885804 2009-07-20 21:07 gcc-cpp-4.4.0-4mnb2.i586.rpm*
-rwxrwxrwx 1 2073260 2009-07-20 20:43 glibc-devel-2.9-0.20081113.5mnb2.i586.rpm*
-rwxrwxrwx 1 587790 2009-07-20 21:25 kernel-headers-2.6.29-1mnb2.i586.rpm*
-rwxrwxrwx 1 76594 2009-07-22 00:36 libcloog1-0.15.3-1mdv2010.0.i586.rpm*
-rwxrwxrwx 1 158352 2009-07-22 00:44 libgmp3-4.3.1-1mdv2010.0.i586.rpm*
-rwxrwxrwx 1 10132 2009-07-22 00:39 libgmpxx4-4.3.1-1mdv2010.0.i586.rpm*
-rw-rw-r-- 1 2294516 2009-07-17 19:58 libgtk+2.0_0-devel-2.16.1-4mdv2009.1.i586.rpm
-rwxrwxrwx 1 1160178 2009-07-22 00:37 libppl7-0.10.2-1mdv2010.0.i586.rpm*
-rwxrwxrwx 1 330843 2009-07-21 23:39 libstdc++-4.4.0-4.i586.rpm*
-rwxrwxrwx 1 1861534 2009-07-20 21:00 libstdc++-devel-4.4.0-4.i586.rpm*
-rwxrwxrwx 1 4134 2009-07-22 00:24 manbo-mandriva-files-gcc-c++-4.4.0-1mnb2.i586.rpm*

I have installed those whose permissions are 777. I think i may not need the first 3 in the list. I still get a "no compiler" message trying to set up Kanatest:

[root@localhost kanatest-0.4.8]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/peter/kanatest-0.4.8':
configure: error: no acceptable C compiler found in $PATH

The list of 31 missing dependencies for the GTK library is too long to tackle tonight.

I'm starting to think Mandriva was not conceived to include a development package.
--
Peter
 
Old 07-21-2009, 09:05 PM   #8
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
Let's step through this as the errors occur. From the commandline type: su enter your root password, now type: urpmi gcc make. Answer 'yes' to all dependancy questions. Once the install has finished, switch back to a normal user by typing exit and re-reun the compile again. Post any errors to this thread if the configure stops.
 
Old 07-22-2009, 07:05 PM   #9
PeteRay
LQ Newbie
 
Registered: Jul 2009
Location: Montreal
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 0
Once again, Nexus, thank you for the ignition key. we have liftoff! urpmi installed gcc and make right off, no warnings no errors. On spec I tried it with the GTK library, it worked there too in spite of complaints about several missing foreign language folders. Finally turning to Kanatest, I ran ./configure (as root, no choice), then make, then make install, and Kanatest works! I thought I would have to begin another adventure to install Japanese fonts, but it won't be necessary.

The URL for rpmfind.net used in the "Compiling Source Code I" article cited above appears to have been changed from
http://rpmfind.net/linux/RPM/mandrake/~ByName.html
to
http://rpmfind.net/linux/RPM/GByName.html

Thanks again
--
Peter
 
Old 07-22-2009, 07:12 PM   #10
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
Glad you've got it all sorted. It was quite and adverture, a worthwhile one in the end I hope. Thanks for the 'heads up' regarding the url change.
 
Old 07-23-2009, 06:06 PM   #11
PeteRay
LQ Newbie
 
Registered: Jul 2009
Location: Montreal
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 0
A final note. When I ran Kanatest, I noted that the Japanese characters were awfully small, comparable to a shortcut in the middle of the desktop. I had to squint to see some of them clearly. No amount of font tweaking in Kanatest could enlarge them, and there is no place in the Mandriva controls where I can add a new font. A Google search displayed a hit on rpmfind.net, from there I copied its name, then pasted it onto the command line as a urpmi argument - lo and behold, it worked! Not only did urpmi accept the argument, find the package and install it, the result was exactly what I wanted, the ability to enlarge the Japanese characters.

urpmi is roundly panned as a crummy package manager in several places on the Web, but with a helpful pointer from you, it did the job for me. No complaints.

Thanks again
--
Peter
 
Old 07-23-2009, 06:54 PM   #12
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,297

Rep: Reputation: 205Reputation: 205Reputation: 205
That's good news. All package manager have their little foibles. As far as I'm concerned, if it does the job then that's good enough for me. Even so it still helps to know some commandline options.

Can you share what package you had to download and install, incase another user is looking for the solution.

On a side note, now that you have most of what you need in place, there's no reason why you can't compile future stuff you want that's only available as source code.
 
Old 07-24-2009, 03:06 PM   #13
PeteRay
LQ Newbie
 
Registered: Jul 2009
Location: Montreal
Distribution: Debian
Posts: 24

Original Poster
Rep: Reputation: 0
The Google search results pointed me to http://rpmfind.net/linux/RPM/mandriv....1.noarch.html

The name of the font is "fonts-ttf-japanese", which I installed using the command urpmi fonts-ttf-japanese
--
Peter
 
  


Reply

Tags
japanese, language, languages


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
Hello! Is mandriva a good distro or I should look for some better? I'm a home user douglasrj21 Linux - Newbie 28 07-31-2008 04:11 PM
How come Lycoris distro been acquired by mandriva ? pleasehelpme Linux - Newbie 1 12-13-2007 09:45 AM
does Mandriva work with Asus P5WD2 mobos and is Mandriva free? asilentmurmur Mandriva 2 08-12-2006 04:41 AM
What's a good distro like Mandriva? JBailey742 Linux - Distributions 4 07-26-2006 09:21 PM
Which distro to pick, Pt2.. Mandriva? TonyDTV Linux - Newbie 1 01-11-2006 07:40 AM


All times are GMT -5. The time now is 03:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration