Linux Mint 17 ã Ubuntu 14.04 㧠Canon 補ããªã³ã¿ã®ãã©ã€ããã€ã³ã¹ããŒã«ã§ããªãåé¡ã«é¢ãã解決æ¹æ³ããã®æã®ã¡ã¢ãªã©ã
ææã§ä»ã®æ¹ãšãããšãããå 容ã ãã©ãã©ãã«ãæ²ç€ºæ¿ã«ã¯æžãã¥ããã®ã§èªåã®ããã°ã«æ®ããŠããã
Linux Mint 17 ã Ubuntu 14.04 ã« libtiff4 ãã€ã³ã¹ããŒã«ããã«ã¯
Linux Mint 17 ã Ubuntu 14.04 㧠Canon 補ããªã³ã¿ã®ãã©ã€ããã€ã³ã¹ããŒã«ããããšãããš libtiff4 ã®äŸåé¢ä¿åé¡ã«ééãããããããã©ã€ãã«ä»å±ã® install.sh
ãšããã¹ã¯ãªãããçšããŠã€ã³ã¹ããŒã«ãè¡ãããã ããlibtiff4
ãç¡ãããã€ã³ã¹ããŒã«ã«å€±æããããdpkg
ã®æç¹ã§å€±æããŠãããã«æ¢ãŸããªãä»æ§ã«ãªã£ãŠããããããããã¥ããã
http://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=libtiff ã«ããã° libtiff4
ããã±ãŒãžã¯ Ubuntu 13.10 Saucy ãŸã§ã®æäŸã«ãªã£ãŠãããLinux Mint 17 ã®ããŒã¹ã«ãªã£ãŠãã Ubuntu 14.04 Trusty ã§ã¯ libtiff5
ã«å€æŽãããŠããã
libtiff ã¯ã»ã«ããã«ãããããšãããã®ã§å
¬åŒãã CVS ã§ãªããžããªãè€è£œããŠããã®ã ãã©ãŸã 4 ãŸã§ããåºãŠãªããããªâŠãšæã£ãŠç¢ºèªããã Ubuntu ã® libtiff4
ããã±ãŒãžã§ã¯ libtiff 3.x.x ç³»ãlibtiff5
ããã±ãŒãžã§ã¯ libtiff 4.x.x ç³»ã®ãœãŒã¹ã䜿ã£ãŠããããã ãlibpng ã libjpeg ã¯ããŒãžã§ã³ãåãããŠããã®ã«äœæ
libtiff ã ãéãã®ã âŠã
Linux Mint 17 ã Ubuntu 14.04 㧠libtiff4
ããã±ãŒãžãå°å
¥ããå Žåã¯ããã±ãŒãžãç¬èªã«ããŠã³ããŒãããŠã€ã³ã¹ããŒã«ããã°ãããããããã©ãŠã¶ã§ã®ããŠã³ããŒã㯠http://packages.ubuntu.com/saucy/libtiff4 ããè¡ããããã©ãŒã¯ãã£ã±ãããã®ã§å¥œããªãšããããããŠã³ããŒããã¹ãã
64-bit
wget http://ftp.jaist.ac.jp/pub/Linux/ubuntu/pool/universe/t/tiff3/libtiff4_3.9.7-2ubuntu1_amd64.deb sudo gdebi libtiff4_3.9.7-2ubuntu1_amd64.deb
32-bit
wget http://ftp.jaist.ac.jp/pub/Linux/ubuntu/pool/universe/t/tiff3/libtiff4_3.9.7-2ubuntu1_i386.deb sudo gdebi libtiff4_3.9.7-2ubuntu1_i386.deb
Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done Building data structures... Done Tag Image File Format (TIFF) library (old version) libtiff is a library providing support for the Tag Image File Format (TIFF), a widely used format for storing image data. This package includes the shared library. Do you want to install the software package? [y/N]:y (Reading database ... 260656 files and directories currently installed.) Preparing to unpack libtiff4_3.9.7-2ubuntu1_i386.deb ... Unpacking libtiff4:i386 (3.9.7-2ubuntu1) over (3.9.7-2ubuntu1) ... Setting up libtiff4:i386 (3.9.7-2ubuntu1) ... Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
libtiff4ïŒ32-bitïŒ ã®ãã¡ã€ã«ãªã¹ã
/. /usr /usr/lib /usr/lib/i386-linux-gnu /usr/lib/i386-linux-gnu/libtiff.so.4 /usr/lib/i386-linux-gnu/libtiff.so.4.3.6 /usr/share /usr/share/doc /usr/share/doc/libtiff4 /usr/share/doc/libtiff4/README /usr/share/doc/libtiff4/README.Debian /usr/share/doc/libtiff4/TODO /usr/share/doc/libtiff4/changelog.Debian.gz /usr/share/doc/libtiff4/copyright /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/libtiff4
libtiff5ïŒ32-bitïŒ ã®ãã¡ã€ã«ãªã¹ã
/. /usr /usr/lib /usr/lib/i386-linux-gnu /usr/lib/i386-linux-gnu/libtiff.so.5 /usr/lib/i386-linux-gnu/libtiff.so.5.2.0 /usr/share /usr/share/doc /usr/share/doc/libtiff5 /usr/share/doc/libtiff5/README /usr/share/doc/libtiff5/README.Debian /usr/share/doc/libtiff5/TODO /usr/share/doc/libtiff5/changelog.Debian.gz /usr/share/doc/libtiff5/copyright /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/libtiff5
ãã®åŸã¯ Canon 補ããªã³ã¿ã®ãã©ã€ãã€ã³ã¹ããŒã«ããã¥ã¢ã«éãã«é²ããã° OK ãªããã ã
ã²ãšã€æ°ã«ãªãã®ããlibtiff.so
ã¯ã©ããªãã®ãïŒãšããç¹ãlibtiff5
ãã€ã³ã¹ããŒã«ãããŠããå Žåãlibtiff.so
㯠libtiff.so.5.2.0
ãžã®ã·ã³ããªãã¯ãªã³ã¯ãšããŠäœæãããã
-rw-r--r-- 1 root root 633066 May 6 04:40 /usr/lib/i386-linux-gnu/libtiff.a -rw-r--r-- 1 root root 950 May 6 04:39 /usr/lib/i386-linux-gnu/libtiff.la lrwxrwxrwx 1 root root 16 May 6 04:39 /usr/lib/i386-linux-gnu/libtiff.so -> libtiff.so.5.2.0 lrwxrwxrwx 1 root root 16 May 6 04:39 /usr/lib/i386-linux-gnu/libtiff.so.5 -> libtiff.so.5.2.0 -rw-r--r-- 1 root root 463820 May 6 04:40 /usr/lib/i386-linux-gnu/libtiff.so.5.2.0
libtiff4
ãåŸããã€ã³ã¹ããŒã«ãããš libtiff.so
ã libtiff.so.4.3.6
ãžã®ã·ã³ããªãã¯ãªã³ã¯ã«å€æŽãããã®ã§ã¯ãªããïŒãšæãã確èªããŠã¿ããšãããlibtiff.so
ã®ãªã³ã¯ã¯å€æŽãããªãããã ã
-rw-r--r-- 1 root root 633066 May 6 04:40 /usr/lib/i386-linux-gnu/libtiff.a -rw-r--r-- 1 root root 950 May 6 04:39 /usr/lib/i386-linux-gnu/libtiff.la lrwxrwxrwx 1 root root 16 May 6 04:39 /usr/lib/i386-linux-gnu/libtiff.so -> libtiff.so.5.2.0 lrwxrwxrwx 1 root root 16 Sep 3 2013 /usr/lib/i386-linux-gnu/libtiff.so.4 -> libtiff.so.4.3.6 -rw-r--r-- 1 root root 403176 Sep 3 2013 /usr/lib/i386-linux-gnu/libtiff.so.4.3.6 lrwxrwxrwx 1 root root 16 May 6 04:39 /usr/lib/i386-linux-gnu/libtiff.so.5 -> libtiff.so.5.2.0 -rw-r--r-- 1 root root 463820 May 6 04:40 /usr/lib/i386-linux-gnu/libtiff.so.5.2.0
equivs ã«ãã libtiff4 ã®ãããŒããã±ãŒãžã®äœæ
ããã±ãŒãžãããŒãžã£ã«ã¯äŸåé¢ä¿ãæºããã ãã®ãããŒããã±ãŒãžãšãããã®ããããequivs
ã䜿ãããšã§ç°¡åã«äœæã§ãããããã®ã§ãã£ãŠã¿ãã
sudo aptitude install equivs
é©åœãªãã£ã¬ã¯ããªã«ç§»åããŠããŒã¹ã«ãªããã¡ã€ã«ãäœæããã
cd /tmp
equivs-control libtiff4
equivs-control
ã®åŒæ°ã«äžããååã®ãã¡ã€ã«ãäœæãããã®ã§ãããç·šéããããã®ãã¡å¿
ãæžãæããå¿
èŠã«ãªãã®ã Package:
ã®è¡ã
### Commented entries have reasonable defaults. ### Uncomment to edit them. # Source: <source package name; defaults to package name> Section: misc Priority: optional # Homepage: <enter URL here; no default> Standards-Version: 3.9.2 Package: <package name; defaults to equivs-dummy> # Version: <enter version here; defaults to 1.0> # Maintainer: Your Name <yourname@example.com> # Pre-Depends: <comma-separated list of packages> # Depends: <comma-separated list of packages> # Recommends: <comma-separated list of packages> # Suggests: <comma-separated list of packages> # Provides: <comma-separated list of packages> # Replaces: <comma-separated list of packages> # Architecture: all # Copyright: <copyright file; defaults to GPL2> # Changelog: <changelog file; defaults to a generic changelog> # Readme: <README.Debian file; defaults to a generic one> # Extra-Files: <comma-separated list of additional files for the doc directory> # Files: <pair of space-separated paths; First is file to include, second is destination> # <more pairs, if there's more than one file to include. Notice the starting space> Description: <short description; defaults to some wise words> long description and info . second paragraph
Package:
è¡ã ãããã£ãšæžãæãã
sed -i '/^Package:/s/<.*/libtiff4/' libtiff4
deb ããã±ãŒãžãäœæããã
equivs-build libtiff4
dh_testdir dh_testroot dh_prep dh_testdir dh_testroot dh_install dh_installdocs dh_installchangelogs dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package `libtiff4' in `../libtiff4_1.0_all.deb'. The package has been created. Attention, the package has been created in the current directory, not in ".." as indicated by the message above!
åºæ¥äžãã£ã deb ãã¡ã€ã«ãã€ã³ã¹ããŒã«ããã
sudo gdebi libtiff4_1.0_all.deb
次ã«ã·ã³ããªãã¯ãªã³ã¯ã§ãããŒã®ã©ã€ãã©ãªãäœæããã確èªããŠã¿ããšãã cifmg6330
ãšãããã¡ã€ã«ã libtiff.so.4
ãåç
§ããŠãããã¢ãŒããã¯ãã£æ¯ã®ããªãŒã¯æ±ããããªãã®ã§ /usr/lib
ã«äœæãlibtiff 4.x.x ã£ãŠäžäœäºæâŠã ããïŒ
64-bit
sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5 /usr/lib/libtiff.so.4
32-bit
sudo ln -s /usr/lib/i386-linux-gnu/libtiff.so.5 /usr/lib/libtiff.so.4
Canon 補ããªã³ã¿ãã©ã€ãã®ãã£ã¬ã¯ããªã«ç§»åã㊠install.sh
ãå®è¡ããã
ä»åã¯å®æ©ããªãããªã³ã¿ã®æ€åºãã§ããªãããããã±ãŒãžãæåã§ã€ã³ã¹ããŒã«ããããšã«ãããcommon ããã±ãŒãžãã€ã³ã¹ããŒã«ããããšã«ããªã³ã¿ããšã®ããã±ãŒãžãã€ã³ã¹ããŒã«ãããå°ãinstall.sh
ã䜿çšããå Žåã§ãããªã³ã¿ã®éžæã¯ãQãã§çç¥ãã§ããã
64-bit
sudo gdebi packages/cnijfilter-common_3.80-1_amd64.deb sudo gdebi packages/cnijfilter-mg6300series_3.80-1_amd64.deb
32-bit
sudo gdebi packages/cnijfilter-common_3.80-1_i386.deb sudo gdebi packages/cnijfilter-mg6300series_3.80-1_i386.deb
CUPS ãµãŒããåèµ·åããlpadmin
ã§ããªã³ã¿ãç»é²ããã-m
ã§æå®ãããã¡ã€ã«ã¯ /usr/share/ppd
ã«çœ®ããŠãããã®ããã¹ã§ã¯ãªãååã§æå®ãããLAN ã®å Žåã¯ããã€ã¹ URI ã« MAC ã¢ãã¬ã¹ãæå®ããã
sudo service cups restart lpadmin -p MG6330USB -m canonmg6330.ppd -v cnijusb:/dev/usb/lp0 -E lpadmin -p MG6330LAN -m canonmg6330.ppd -v cnijusb:/00-00-00-00-00-00 -E
ã·ã¹ãã ç°å¢èšå®ã®ããªã³ã¿ã« lpadmin
ã§ç»é²ããããªã³ã¿ã衚瀺ããããïŒãã®ã¹ã¯ãªãŒã³ã·ã§ãããæ®åœ±ãããšã㯠LAN åŽãç»é²ãå¿ããïŒ
ãšããæãã§è²ã ãã£ãŠã¿ããã©å®æ©ããªãã®ã§å®éããŸããããã®ãªã®ãã©ããã¯ããããªãã
ããèªåããã€ãã³ã®ããªã³ã¿ã䜿ãããšã«ãªã£ããšãã«åœ¹ã«ã¯ç«ã€ããªããšæã£ããããããŒããã±ãŒãžã®äœæãšã lpadmin
ã®ã³ãã³ãã®å匷ã«ãªã£ãã