Difference between revisions of "Iscan and Slackware 14.0"

From Studiosg
Jump to navigationJump to search
(Added links to newer ISCAN packages and scripts)
(Some small fixes and corrections)
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}}
 
 
 
 
Languages: '''English''' - [[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 |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:
 
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:
Line 51: Line 46:
 
* [http://www.gimp.org Gimp home page]
 
* [http://www.gimp.org Gimp home page]
 
* [http://www.slackware.com Slackware home page]
 
* [http://www.slackware.com Slackware home page]
 
  
 
----
 
----
  
Languages: '''English''' - [[iscan_per_Slackware_14.0 |Italiano]]
+
{{footer_en | link_page=iscan_per_Slackware_14.0}}

Revision as of 11:55, 20 January 2016

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