You are not logged in.

#1 2011-05-16 19:09:20

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Canon ip4300 proprietary driver for x64

Hi,

I didn't manage to install the proprietary driver for canon ip4300 printer based on wiki: https://wiki.archlinux.org/index.php/Canon_iP4300
I found an AUR package, but it's for x86 only. It seems othesr couldn't install this package on x64, too and mainteiner doesn't know how to make it work on x64. Could someone help us out? Thanks.

Offline

#2 2011-05-18 18:21:19

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,004

Re: Canon ip4300 proprietary driver for x64

the proprietary dependency cnijfilter-common-2.70-2.src.rpm appears to be 32 bits only, and is from 2007.
Afaik  32-bit mutlitlib libs need to be build specifically to use in a 64-bit environment.

Good luck with convincing Canon to release a multilib or native 64-bit version.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2011-05-18 19:26:15

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: Canon ip4300 proprietary driver for x64

cnijfilter-common-2.70 can be installed on x64.

Offline

#4 2011-05-18 19:45:23

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,004

Re: Canon ip4300 proprietary driver for x64

That will teach me to read a bit further, you are right.

the entry from the maintainer of cnijfilter-ip4300 "The problem with this driver is that it is linked to a 32 bits binary only library" is almost a year old.

I suggest you try to build cnijfilter-ip4300 on x64 , and post here the problems you get.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2011-05-18 19:59:24

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: Canon ip4300 proprietary driver for x64

Thanks for looking into it.
The only message I got:  "==> ERROR: Build Failed."

Offline

#6 2011-05-18 20:30:32

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,004

Re: Canon ip4300 proprietary driver for x64

That message suggests that you're using an AUR helper (yaourt, pacget etc) .
Personally i always use makepkg (or a clean chroot) for aur packages.

I've looked into this , and cnijfilter-ip4300 depends on 2 other aur packages :
cnijfilter-common270
libxml

cnijjfilter-common270 builds , but libxml fails on my system.
before we can look into building cnijfilter-ip4300, we'll have to solve the problem with libxml .

below is part of the putput from makepkg for libxml, i suggest you try to build it with makepkg on your system.
If you get similar output, post in the comments for libxml and ask for help of the maintainer.

make  all-recursive
make[1]: Entering directory `/home/panoramix/Documents/WIP/pkgbuilds/libxml/src/libxml-1.8.17'
Making all in doc
make[2]: Entering directory `/home/panoramix/Documents/WIP/pkgbuilds/libxml/src/libxml-1.8.17/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/panoramix/Documents/WIP/pkgbuilds/libxml/src/libxml-1.8.17/doc'
make[2]: Entering directory `/home/panoramix/Documents/WIP/pkgbuilds/libxml/src/libxml-1.8.17'
/bin/rm -f ./libxml
make[2]: *** No rule to make target `libxml/tree.h', needed by `SAX.lo'.  Stop.
make[2]: *** Waiting for unfinished jobs....
ln -s ./. ./libxml
make[2]: Leaving directory `/home/panoramix/Documents/WIP/pkgbuilds/libxml/src/libxml-1.8.17'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/panoramix/Documents/WIP/pkgbuilds/libxml/src/libxml-1.8.17'
make: *** [all-recursive-am] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Last edited by Lone_Wolf (2011-05-18 20:32:37)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2011-05-19 05:16:13

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: Canon ip4300 proprietary driver for x64

I had no problem with libxml but I'll build all the packages again.
Actually I didn't use AUR helpers but recently I'm a little lazy tongue

Offline

#8 2011-05-22 12:22:44

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: Canon ip4300 proprietary driver for x64

Well, I changed i686 to any in PKGBUILD, then run makepkg -si
Here is the last few rows of the output:

/usr/bin/ld: skipping incompatible ../../294/libs_bin/libcnbpcmcm294.so when searching for -lcnbpcmcm294
/usr/bin/ld: cannot find -lcnbpcmcm294
/usr/bin/ld: skipping incompatible ../../294/libs_bin/libcnbpess294.so when searching for -lcnbpess294
/usr/bin/ld: cannot find -lcnbpess294
/usr/bin/ld: skipping incompatible ../../294/libs_bin/libcnbpcnclapi294.so when searching for -lcnbpcnclapi294
/usr/bin/ld: cannot find -lcnbpcnclapi294
/usr/bin/ld: skipping incompatible ../../294/libs_bin/libcnbpcnclbjcmd294.so when searching for -lcnbpcnclbjcmd294
/usr/bin/ld: cannot find -lcnbpcnclbjcmd294
/usr/bin/ld: skipping incompatible ../../294/libs_bin/libcnbpcnclui294.so when searching for -lcnbpcnclui294
/usr/bin/ld: cannot find -lcnbpcnclui294
collect2: ld returned 1 exit status
make[2]: *** [cif] Error 1
make[2]: Leaving directory `/media/kamra/Downloads/AUR/cnijfilter-ip4300/src/cnijfilter-common-2.70/cnijfilter/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/kamra/Downloads/AUR/cnijfilter-ip4300/src/cnijfilter-common-2.70/cnijfilter'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Last edited by siriusb (2011-05-22 12:24:06)

Offline

#9 2011-05-22 16:07:30

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,004

Re: Canon ip4300 proprietary driver for x64

Ok, problem with libxml on my system was that i use "-j9" as makeflags to speed up compilation, and libxml makefile can't deal with parallel compiling.


the src.rpm from canon holds binaries for their printers, and those are compiled for 32-bit systems exclusively .

The binaries for the IP4300 are in $srcdir//cnijfilter-common-2.70/294/libs_bin .

I looked at some of the other canon drivers in AUR, and all those that use cnijfilter-common-2.70 are i686 packages.

The package will never build for x86_64.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#10 2011-05-22 16:31:20

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: Canon ip4300 proprietary driver for x64

Pffffffffffffff. Bad news.

Well, thanks for all your help, time and efforts.

Offline

Board footer

Powered by FluxBB