LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-26-2012, 12:26 PM   #1
Blake_rsh
LQ Newbie
 
Registered: Feb 2012
Distribution: Fedora 16
Posts: 2

Rep: Reputation: Disabled
Trouble installin the linux driver for my Canon mp510 printer.


Im having a problem installing the driver for my Canon MP510 printer on fedora 16.

I downloaded the drivers from canonīs official page

This should be the files i need:
cnijfilter-common-2.70-2.src.rpm
cnijfilter-mp510-2.70-2.i386.rpm

This is what i get:

Code:
 [root@localhost ~]# cd /home/Donati/incoming
 [Blake@Praznotia Linux_Print_Filterv270]$ rpm -i cnijfilter-mp510-2.70-2.i386.rpm
 error: Failed dependencies:
        cnijfilter-common >= 2.70 is needed by cnijfilter-mp510-2.70-2.i386
        libgdk-1.2.so.0 is needed by cnijfilter-mp510-2.70-2.i386
        libglib-1.2.so.0 is needed by cnijfilter-mp510-2.70-2.i386
        libgmodule-1.2.so.0 is needed by cnijfilter-mp510-2.70-2.i386
        libgtk-1.2.so.0 is needed by cnijfilter-mp510-2.70-2.i386
        libpopt.so.0 is needed by cnijfilter-mp510-2.70-2.i386
        libxml.so.1 is needed by cnijfilter-mp510-2.70-2.i386
 [Blake@Praznotia Linux_Print_Filterv270]$ rpm -i cnijfilter-common-2.70-2.src.rpm
 warning: user adminv270 does not exist - using root
 warning: group adminv270 does not exist - using root
 warning: user adminv270 does not exist - using root
 warning: group adminv270 does not exist - using root
I found I thread with the same problem but old and for linpus linux, so i couldn get it to work on fedora. Here is the thread: http://www.linuxquestions.org/questi...rinter-711985/

Last edited by Blake_rsh; 02-27-2012 at 10:55 AM.
 
Old 02-26-2012, 04:44 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Let's start with cnijfilter-common-2.70-2.src.rpm. This is a source rpm which must be compiled to build the installable binary rpm. As root, install the .src.rpm, then look in /usr/src/.../SOURCE (... varies among the rpm using distros) for the source tarball. Look in /usr/src/.../SPECS for the rpm spec file which directs rpm in the building of the binary rpm. Cd to the SPECS folder, then run ./<filename>.spec (<filename> is the name of the file) to build the rpm. When it has run to completion and assuming no errors, you will have an installable rpm in /usr/src/.../RPMS.

Quote:
error: Failed dependencies:
cnijfilter-common >= 2.70 is needed by cnijfilter-mp510-2.70-2.i386
Rpm is telling you that you need to install the binary rpm built from the .src.rpm as described above.

Quote:
libgdk-1.2.so.0 is needed by cnijfilter-mp510-2.70-2.i386
libglib-1.2.so.0 is needed by cnijfilter-mp510-2.70-2.i386
libgmodule-1.2.so.0 is needed by cnijfilter-mp510-2.70-2.i386
libgtk-1.2.so.0 is needed by cnijfilter-mp510-2.70-2.i386
libpopt.so.0 is needed by cnijfilter-mp510-2.70-2.i386
libxml.so.1 is needed by cnijfilter-mp510-2.70-2.i386
You also need to install these libraries, which should be in the Fedora repo. Just use yum to install them.
 
1 members found this post helpful.
Old 02-27-2012, 10:54 AM   #3
Blake_rsh
LQ Newbie
 
Registered: Feb 2012
Distribution: Fedora 16
Posts: 2

Original Poster
Rep: Reputation: Disabled
I installed the missing libraries and found where the spec file is. It was in /home/rpmbuild/SPECS. But now iīm hitting another bump:

I get this although iīm logged as root.
Code:
[root@Praznotia SPECS]# ./cnijfilter-common.spec
bash: ./cnijfilter-common.spec: Permission denied
 
Old 02-27-2012, 07:58 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
to build a rpm source file you NEED rpm-build installed and configured
also you do not build a rpm as root ( that WILL cause errors )
you make a NEW user account " makerpm "

http://fedoraproject.org/wiki/How_to...an_RPM_package

that rpm binary file "cnijfilter-mp510-2.70-2.i386.rpm" was last updated in 2008
- according to the cannon website -
and might not even work on the current fedora
fedora 16 might be WAY too new
libgtk-1.2 dates back to 2001
fedora 16 is using gnome 3 and gtk3.3
however there is an old 1.2 "gtk+-1.2.10-71.fc15.i686.rpm" that might work

cannon is not known for support other than for MS windows
so it is very common for cannon hardware to NEVER work on linux OR on Apples Mac
 
  


Reply



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
[SOLVED] Having trouble getting Canon PIXMA MX330 Printer to work Camille417 Linux - Newbie 7 02-13-2011 09:17 PM
Linux driver for Canon MF4370 printer EdN Linux - Hardware 3 02-13-2011 06:29 PM
How do i install the linux-driver for my Canon MP510 printer? Donati Linux - Hardware 10 03-20-2009 07:43 AM
Trouble installing Canon Multipass f30 printer warrenw Linux - Hardware 1 02-23-2007 04:58 PM
Printer Canon IR1210 linux driver Philippe Linux - Hardware 1 06-04-2004 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:54 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
Open Source Consulting | Domain Registration