LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-19-2009, 07:47 AM   #1
exsencon
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: Ubuntu,LinuxMint,Slackware,Sabayon,Slax
Posts: 68

Rep: Reputation: 22
Installing Canon pixma MP520


My system:
Dell Dimension 520 P4 3GHZ 3GB RAM 2*250GB HD Nvidia graphics
1st HD has WinXP prof
2nd HD has Kubuntu,LinuxMint,Ubuntu,Debian,Fedora FC8,Sabayon,Suse,Slax and Slackware12
Everything booting fine from Grub bootloader (Kubuntu's) in the MBR

I have a Canon Pixma MP520 printer-scanner-copy machine (usb) and got it working in every Linux distribution I have,using the Canon provided linux drivers in .deb or .rpm. No problem-except with slackware12.
I tried to install in a console as I usually do and I get:

root@HOME:~# rpm -ivh /root/Download/cnijfilter-common-2.80-1.i386.rpm
rpm: /lib/libc.so.6: version `GLIBC_2.8' not found (required by /usr/local/lib/libpopt.so.0)
root@HOME:~# rpm -ivh /root/Download/cnijfilter-mp520series-2.80-1.I386.rpm
rpm: /lib/libc.so.6: version `GLIBC_2.8' not found (required by /usr/local/lib/libpopt.so.0)
root@HOME:~#


So apparently it needs a newer version of GLIBC than the one I have. It surprises me because slack12 is quite recent.Anyway where do I get the newer version and how do I install that,slack being kind of new and peculiar to me.
Thanks
 
Old 01-19-2009, 08:27 AM   #2
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 725
Blog Entries: 3

Rep: Reputation: 77
Hello,

It's not recommended to install directly rpm package in Slackware.

For detail about Slackware Package Management, you can refer to the slackbook

It will, among other, explain how to convert .rpm packages into .tgz packages (using tool rpm2tgz)

Also, you may not need to install the vendor driver as Slackware 12.0 comes with a package containing drivers (gimp-print package which is replaced by gutenprint package in Slackware 12.2 which is the latest release of Slackware).
 
Old 01-19-2009, 09:35 AM   #3
exsencon
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: Ubuntu,LinuxMint,Slackware,Sabayon,Slax
Posts: 68

Original Poster
Rep: Reputation: 22
No luck

Tried to convert rpm in tgz:

root@HOME:~# rpm2tgz /root/Download/cnijfilter-common-2.80-1.i386.rpm
mkdir: /lib/libc.so.6: version `GLIBC_2.7' not found (required by mkdir)
mkdir: /lib/libc.so.6: version `GLIBC_2.8' not found (required by /usr/local/lib/libselinux.so.1)
/usr/bin/rpm2tgz: line 92: ERROR: Could not find mcookie, openssl, or md5.
Exiting since a secure temporary directory could not be made./cnijfilter-common-2.80-1.i386.cpio: No such file or directory
ERROR: rpm2cpio failed. (maybe /root/Download/cnijfilter-common-2.80-1.i386.rpm is not an RPM?)


Tried Gimp print also, it says printing but nothing happens.
Now every other linux distribution needed the vendor (canon) drivers,so my guess is I'll have to install them somehow
 
Old 01-19-2009, 01:28 PM   #4
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 725
Blog Entries: 3

Rep: Reputation: 77
Slackware 12.0 ships with glibc 2.5 so I guess you can not install your rpm driver (at least not the version you try to install).

I would suggest that you install Slackware 12.2 that ships with glibc 2.7. A fresh reinstall is strongly suggested (as opposed to upgrading from 12.0 which necessitates to upgrade from 12.0 to 12.1 and then from 12.1 to 12.2)
 
Old 01-19-2009, 03:38 PM   #5
exsencon
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: Ubuntu,LinuxMint,Slackware,Sabayon,Slax
Posts: 68

Original Poster
Rep: Reputation: 22
Yes,I think there is no other option than getting Slackware12.2 and even then I am not sure it will work. Slack seems to be a little harder than other distros.
 
Old 01-19-2009, 04:09 PM   #6
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 725
Blog Entries: 3

Rep: Reputation: 77
Quote:
Originally Posted by exsencon View Post
Yes,I think there is no other option than getting Slackware12.2 and even then I am not sure it will work. Slack seems to be a little harder than other distros.
Slackware 12.2 comes with gutenprint 5.2.2 which supports your printer: check the list of supported drivers here. So I would say that you won't need to install the vendor's rpm package. Of course, you'll need to check the gutenprint driver to see which features are available.

Yes, Slackware requires some investment in that you are expected to tweak the system to make it work for your own purpose.

The Slackbook would be a good starting point to understand Slackware philosophy.

Other useful links are available here

Before starting the installation, also read the README, CHANGES_AND_HINTS files in first CD. You'll find workarounds to potential issues.

For your information, during the installation, you will find that installation of the gutenprint package takes a while because all compressed drivers are created from scratch (about 42M of files. It took 10 minutes on my 1.8Ghz machine).
 
Old 01-20-2009, 01:42 PM   #7
exsencon
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: Ubuntu,LinuxMint,Slackware,Sabayon,Slax
Posts: 68

Original Poster
Rep: Reputation: 22
OK I got Slackware12.2 installed and got my printer installed in 2 minutes!The driver for my MP520 was present with cups+gutenprint as you said.
Slack installation didn't work with my external USB disk on,I had to switch that off and then it was straightforward.
But...I have no sound (I did alsaconf but no result-it says "default device can't be opened for playback,no such file or directory)
Several applications do not work Firefox,Gimp and other graphics apps,and some others. Those things worked in Slack12(I think the only thing that didn't work was the printer) now I have the printer but a lot of other things don't work.
Any ideas how to get those simple (no doubt)things to work? Is this a general config.problem?
Thanks
 
Old 01-20-2009, 02:34 PM   #8
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 725
Blog Entries: 3

Rep: Reputation: 77
Hello,

I assume you made a full install.

I'm afraid you have to be more specific when you say an application doesn't work.

For example, try to run Gimp in the console:

Code:
gimp
If there are errors, they will be dumped in the console. Post any error message you get

Last edited by gegechris99; 01-20-2009 at 02:34 PM. Reason: typo correction
 
Old 01-20-2009, 03:01 PM   #9
exsencon
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: Ubuntu,LinuxMint,Slackware,Sabayon,Slax
Posts: 68

Original Poster
Rep: Reputation: 22
I made a full install

Here is what I get for gimp in console:

root@HOME:~# gimp
gimp: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_dpgettext
root@HOME:~#
 
Old 01-20-2009, 03:30 PM   #10
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 725
Blog Entries: 3

Rep: Reputation: 77
Did you create a user or are you running applications as root?

To add a new user, it's preferable to run command:

Code:
adduser chris
Change "chris" to your own user id.

You will be prompted at each step and most importantly at the step for additional groups use the UP arrow to get the recommended additional groups (audio, cdrom, plugdev, video). Don't forget to add also group "lp" to be able to use the printer.
 
Old 01-20-2009, 04:08 PM   #11
exsencon
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: Ubuntu,LinuxMint,Slackware,Sabayon,Slax
Posts: 68

Original Poster
Rep: Reputation: 22
Yes,I was root when I did that,in the meanwhile I added a user but the problem is the same. For gimp I get exactly the same output as I got in root. When I click on the Firefox icon in KDE it start to dance a little and that's all (just an example)
All I got so far is my scroll mouse working editing it in xorg.conf(adding zaxismapping 4 5)
No sound,just the same message as in my previous post
 
Old 01-20-2009, 04:28 PM   #12
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 725
Blog Entries: 3

Rep: Reputation: 77
What is the result of:

Code:
ldd /usr/bin/gimp
Is there any shared libraries missing or any error?

I've done some googling and it seems that the error is related to x86_64 platform and GTK+2 (slackware 12.2 comes with version 2.12.12).

Can you use KDE applications (Kedit, Kwrite, Kword...)?

If you have a 64bits architecture, I'm not sure of the implication because Slackware is for 32bits architecture.

There are some Slackware distributions for 64Bits architectures (BTW not officially supported by Slackware):

slamd64
bluewhite64
 
Old 01-20-2009, 04:50 PM   #13
exsencon
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: Ubuntu,LinuxMint,Slackware,Sabayon,Slax
Posts: 68

Original Poster
Rep: Reputation: 22
it's a lot of output but I see nothing missing and certainly no errors and yes I can use Kwrite and Kword.
Now since I made a user I cannot revert to root, i get this:

zeger@HOME:~$ su (right away without asking for password)
su: incorrect password
or:

zeger@HOME:~$ sudo su
Password:
zeger is not in the sudoers file. This incident will be reported.

slack12 was better I think even without the printer!
 
Old 01-21-2009, 03:58 AM   #14
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 32bit
Posts: 725
Blog Entries: 3

Rep: Reputation: 77
Quote:
Originally Posted by exsencon View Post
Now since I made a user I cannot revert to root, i get this:

zeger@HOME:~$ su (right away without asking for password)
su: incorrect password
You must enter the root password. Here it only says that you entered the wrong password (maybe you typed twice and the ENTER key so you skip the password entry request)

Regarding the errors for gimp and firefow, try to reinstall the gtk+2 package, go to the "slackware/l" directory of the first CD and then run as root:

Code:
upgradepkg --reinstall gtk+2-2.12.12-i486-1.tgz
Regarding the no sound issue, what is your sound card?
You need to check whether the kernel sound modules have been loaded:

Check loaded modules:
Code:
lsmod
 
Old 01-21-2009, 08:56 AM   #15
exsencon
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: Ubuntu,LinuxMint,Slackware,Sabayon,Slax
Posts: 68

Original Poster
Rep: Reputation: 22
I did a full reinstallation of slack12.2 with the same problems.
No sound,several apps (gimp,firefox etc)not working. the thing that works is the printer.
I tried to reinstall the gtk package,he cannot find the installation path. Here is what I get:

root@HOME:~# upgradepkg --reinstall ~/media/SlackDVD/slackware/l/gtk+2-2.12.12-i486-1.tgz

Error: incoming package /root/media/SlackDVD/slackware/l/gtk+2-2.12.12-i486-1.tgz not found.


Now I can see the package in the DVD and I can see the path which I believe is correct.

The sound card is an integrated Intel HD audio controller and worked very well with Slack12. I did a lsmod for that,this should be the sound modules:


Module Size Used by
snd_seq_dummy 6788 0
snd_seq_oss 33408 0
snd_seq_midi_event 10240 1 snd_seq_oss
snd_seq 50928 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 10380 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 40480 0
snd_mixer_oss 17920 1 snd_pcm_oss

snd_hda_intel 367756 0
i2c_i801 12688 0
snd_pcm 70788 2 snd_pcm_oss,snd_hda_intel
intel_agp 29116 0
dcdbas 10912 0
snd_timer 23176 2 snd_seq,snd_pcm
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
snd_hwdep 10756 1 snd_hda_intel
agpgart 32584 1 intel_agp
evdev 13088 3
snd 51748 9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwd ep
soundcore 10080 1 snd

So I think everything is there but it won't work.
 
  


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
canon pixma ip3500 joeres Linux - Newbie 8 10-26-2010 07:07 PM
Installing Canon Pixma 520 printer/scanner on 64-bit Ubuntu 7.10 e82 Linux - Hardware 14 04-28-2009 04:09 PM
Driver for CANON MP520 for ASUS working under SUSE-LINUX P'padeb Linux - Hardware 2 06-03-2008 05:29 AM
Slackware 12.0 - Installing Canon Pixma iP1700 Road_map LinuxAnswers Discussion 2 04-26-2008 07:48 AM
Canon PIXMA iP5000 seelk Suse/Novell 0 02-03-2005 03:58 PM


All times are GMT -5. The time now is 01:37 PM.

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