Difference between revisions of "Iscan and Slackware 14.0"

From Studiosg
Jump to navigationJump to search
(Created page with 'Welcome to Simone Giustetti's wiki pages. Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=iscan_per_Slackware_14.0 Italiano] ---- Slackware 14.0 was…')
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Welcome to Simone Giustetti's wiki pages.
+
{{header_en|title=Installing Image Scan on Slackware Linux 14.0| keyword={{Template:keyword_en_iscan}}| description=Building, installing and configuring a working Image Scan package on Slackware Linux 14.0 | link_page=iscan_per_Slackware_14.0}}
  
 
+
Slackware 14.0 was officially released 19th September 2012. Among the many new features and updates for the major release is an '''update to the PNG library header file path'''. Sadly this particular update breaks the *.Slackbuild files i distributed with older articles: [[en/iscan_software |Iscan software]] and [[en/iscan_software_64_bit |Iscan for 64 bit Linux]], preventing the build procedure to successfully conclude. The issue arises during '''iscan''' package source code compilation resulting in the following error message:
Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=iscan_per_Slackware_14.0 Italiano]
 
 
 
----
 
 
 
Slackware 14.0 was officially released 19th September 2012. Among the many new features and updates for the major release is an '''update to the PNG library header file path'''. Sadly this particular update breaks the *.Slackbuild files i distributed with older articles: [[en/iscan_software]] and [[en/iscan_software_64_bit]], preventing the build procedure to successfully conclude. The issue arises during '''iscan''' package source code compilation resulting in the following error message:
 
 
   /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: ../lib/.libs/libimage-
 
   /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: ../lib/.libs/libimage-
 
   stream.a(libimage_stream_la-pngstream.o): undefined reference to symbol 'png_set_longjmp_fn@@PNG14_0'
 
   stream.a(libimage_stream_la-pngstream.o): undefined reference to symbol 'png_set_longjmp_fn@@PNG14_0'
Line 13: Line 8:
  
 
The problem can be solved updating the package source code and more specifically file '''/lib/pngstream.hh'''. Line 45: '' #include <png.h>'' should be replaced with the right header path: '' #include <libpng12/png.h>'' (Thanks to Mario P. for the tip).
 
The problem can be solved updating the package source code and more specifically file '''/lib/pngstream.hh'''. Line 45: '' #include <png.h>'' should be replaced with the right header path: '' #include <libpng12/png.h>'' (Thanks to Mario P. for the tip).
A patch for the file can be downloaded from address: [[http://www.giustetti.net/resource/patch/14.0/iscan/iscan_png.patch Iscan PNG patch]]. The patch can be applied following some easy steps:
+
A patch for the file can be downloaded from address: [http://www.giustetti.net/resource/patch/14.0/iscan/iscan_png.patch Iscan PNG patch]. The patch can be applied following some easy steps:
 
* Move to the directory '''/tmp/iscan''' where package build takes place.
 
* Move to the directory '''/tmp/iscan''' where package build takes place.
 
* Copy previously downloaded file iscan_png.patch.
 
* Copy previously downloaded file iscan_png.patch.
Line 19: Line 14:
 
Then rerun command '''make''' to start source code compiling.
 
Then rerun command '''make''' to start source code compiling.
  
A '''Slackbuild file updated for automatic patch apply''' during package build can be downloaded from link: [[http://www.giustetti.net/resource/slackbuild/iscan-2.28.1/iscan.tar.gz Iscan per Slackware 14.0]]. The build script is based on Iscan release 2.28.1, the latest available at present. A build script for the related '''iscan-data''' package updated for the latest stable release is available from link: [[http://www.giustetti.net/resource/slackbuild/iscan-2.28.1/iscan-data.tar.gz Iscan Data 1.13.0]].
+
A '''Slackbuild file updated for automatic patch apply''' during package build can be downloaded from link: [http://www.giustetti.net/resource/slackbuild/iscan-2.28.1/iscan.tar.gz Iscan per Slackware 14.0]. The build script is based on Iscan release 2.28.1, the latest available at present. A build script for the related '''iscan-data''' package updated for the latest stable release is available from link: [http://www.giustetti.net/resource/slackbuild/iscan-2.28.1/iscan-data.tar.gz Iscan Data 1.13.0].
  
 
The links to the Image Scan 2.28.1 and Image Scan Data 1.13.0 slackware packages follow. The packages are distributed in the hope they could be helpful:
 
The links to the Image Scan 2.28.1 and Image Scan Data 1.13.0 slackware packages follow. The packages are distributed in the hope they could be helpful:
Line 33: Line 28:
 
** [http://www.giustetti.net/resource/pkg/x86_64/iscan-data-1.13.0-x86_64-1_sg.txz.md5 Image Scan Data 1.13.0 md5 checksum]
 
** [http://www.giustetti.net/resource/pkg/x86_64/iscan-data-1.13.0-x86_64-1_sg.txz.md5 Image Scan Data 1.13.0 md5 checksum]
  
Were you willing to try and build your own packages, please refer to my previous articles [[en/iscan_software]] and [[en/iscan_software_64_bit]] where step to step instructions are provided.
+
Were you willing to try and build your own packages, please refer to my previous articles [[en/iscan_software |Iscan software]] and [[en/iscan_software_64_bit |Iscan for 64 bit Linux]] where step to step instructions are provided.
 +
 
 +
 
 +
== Updated Packages / Scripts ==
 +
All software is subject of updates and new releases, adding functionality and supporting newer hardware devices. Packages and scripts updated to a recent Iscan release can be found in the following [[Iscan_and_Slackware_14.1_update#Packages_and_Build_Scripts |web page]].
  
  
Line 43: Line 42:
 
----
 
----
  
[http://avasys.jp/eng/ Avasys Corporation]
+
* [http://avasys.jp/eng/ Avasys Corporation]
 
+
* [http://www.avasys.jp/lx-bin2/linux_e/scan/DL1.do Avasys Corporation download page]
[http://www.avasys.jp/lx-bin2/linux_e/scan/DL1.do Avasys Corporation download page]
+
* [http://www.gimp.org Gimp home page]
 
+
* [http://www.slackware.com Slackware home page]
[http://www.gimp.org Gimp home page]
 
 
 
[http://www.slackware.org/ Slackware home page]
 
 
 
  
 
----
 
----
  
Languages: [http://www.giustetti.net/wiki/index.php?title=En/iscan_per_Slackware_14.0 English] - '''Italiano'''
+
{{footer_en | link_page=iscan_per_Slackware_14.0}}

Latest revision as of 12:19, 21 March 2022

Welcome to Simone Giustetti's wiki pages.


Languages: English - Italiano


Slackware 14.0 was officially released 19th September 2012. Among the many new features and updates for the major release is an update to the PNG library header file path. Sadly this particular update breaks the *.Slackbuild files i distributed with older articles: Iscan software and Iscan for 64 bit Linux, preventing the build procedure to successfully conclude. The issue arises during iscan package source code compilation resulting in the following error message:

  /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: ../lib/.libs/libimage-
  stream.a(libimage_stream_la-pngstream.o): undefined reference to symbol 'png_set_longjmp_fn@@PNG14_0'
  /usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: note: 'png_set_longjmp
  _fn@@PNG14_0' is defined in DSO /usr/lib/libpng14.so.14 so try adding it to the linker command line

The problem can be solved updating the package source code and more specifically file /lib/pngstream.hh. Line 45: #include <png.h> should be replaced with the right header path: #include <libpng12/png.h> (Thanks to Mario P. for the tip). A patch for the file can be downloaded from address: Iscan PNG patch. The patch can be applied following some easy steps:

  • Move to the directory /tmp/iscan where package build takes place.
  • Copy previously downloaded file iscan_png.patch.
  • Run command: patch -p01 -i iscan_png.patch .

Then rerun command make to start source code compiling.

A Slackbuild file updated for automatic patch apply during package build can be downloaded from link: Iscan per Slackware 14.0. The build script is based on Iscan release 2.28.1, the latest available at present. A build script for the related iscan-data package updated for the latest stable release is available from link: Iscan Data 1.13.0.

The links to the Image Scan 2.28.1 and Image Scan Data 1.13.0 slackware packages follow. The packages are distributed in the hope they could be helpful:

Were you willing to try and build your own packages, please refer to my previous articles Iscan software and Iscan for 64 bit Linux where step to step instructions are provided.


Updated Packages / Scripts

All software is subject of updates and new releases, adding functionality and supporting newer hardware devices. Packages and scripts updated to a recent Iscan release can be found in the following web page.


For any feedback, questions, errors and such, please e-mail me at studiosg [at] giustetti [dot] net


External links





Languages: English - Italiano