Bug#1055567: Error: gscan2pdf fails to compile

2023-11-21 Thread Soumyanath Chatterjee
Thank you Jeff for your persistent effort in tracking down the bug. It has given me a workaround to run gscan2pdf. As advised, I will raise a separate request for libsane. On 21/11/23 02:47, Jeff wrote: On 20/11/2023 17:51, Soumyanath Chatterjee wrote: soumyanath@ganak-desktop:~$

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-20 Thread Jeff
On 20/11/2023 17:51, Soumyanath Chatterjee wrote: soumyanath@ganak-desktop:~$ LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/ gscan2pdf This one works. Please suggest what changes I need to make to run it normally For me, this isn't a problem with gscan2pdf, but with the way that libsane was

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-20 Thread Soumyanath Chatterjee
On 20/11/23 17:03, Jeff wrote: What about: sudo ldconfig cat /etc/ld.so.conf.d/x86_64-linux-gnu.conf If you start gscan2pdf as follows: LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/ gscan2pdf ? Can you start xsane, simple-scan or scanimage ? soumyanath@ganak-desktop:~$ sudo ldconfig [sudo]

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-20 Thread Jeff
What about: sudo ldconfig cat /etc/ld.so.conf.d/x86_64-linux-gnu.conf If you start gscan2pdf as follows: LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/ gscan2pdf ? Can you start xsane, simple-scan or scanimage ? OpenPGP_signature.asc Description: OpenPGP digital signature

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-19 Thread Soumyanath Chatterjee
On 19/11/23 21:35, Jeff wrote: It looks like the version of libusb libsane was built against is not the same as the one you are running with. There are some similarities here: https://askubuntu.com/questions/1264001/error-installing-xsane-sane-hplip-etc-with-undefined-symbol-libusb-set-optio

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-19 Thread Jeff
It looks like the version of libusb libsane was built against is not the same as the one you are running with. There are some similarities here: https://askubuntu.com/questions/1264001/error-installing-xsane-sane-hplip-etc-with-undefined-symbol-libusb-set-optio What does the following

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-19 Thread Soumyanath Chatterjee
On 19/11/23 16:15, Jeff wrote: Please reinstall the packages: sudo apt reinstall libsane1 libimage-sane-perl and try to start gscan2pdf again. This is what I get soumyanath@ganak-desktop:~$ gscan2pdf Can't load '/usr/lib/x86_64-linux-gnu/perl5/5.30/auto/Image/Sane/Sane.so' for module

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-19 Thread Jeff
Please reinstall the packages: sudo apt reinstall libsane1 libimage-sane-perl and try to start gscan2pdf again. OpenPGP_signature.asc Description: OpenPGP digital signature

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-16 Thread Soumyanath Chatterjee
Please find the responses in red. On 16/11/23 02:22, jeff wrote: On 15/11/2023 12:19, Soumyanath Chatterjee wrote: I find line 8 is commented out I take it, therefore, that you didn't comment out the line yourself sometime in the past? How did you install gscan2pdf? I am not very

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-15 Thread jeff
On 15/11/2023 12:19, Soumyanath Chatterjee wrote: I find line 8 is commented out I take it, therefore, that you didn't comment out the line yourself sometime in the past? How did you install gscan2pdf? ls -l /usr/lib/x86_64-linux-gnu/libsane.so.1 lrwxrwxrwx 1 root root 17 Sep 17  2020

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-15 Thread Soumyanath Chatterjee
Please find response to your questions below (in blue ) Regards Soumyanath Chatterjee /  FIE, FIIE/ / / On 13/11/23 22:46, Jeff wrote: On 13/11/2023 16:24, Soumyanath Chatterjee wrote:   DB<1> use Image::Sane ':all'; Can't load

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-13 Thread Jeff
On 13/11/2023 16:24, Soumyanath Chatterjee wrote:  DB<1> use Image::Sane ':all'; Can't load '/usr/lib/x86_64-linux-gnu/perl5/5.30/auto/Image/Sane/Sane.so' for module Image::Sane: /usr/lib/x86_64-linux-gnu/libsane.so.1: undefined symbol: l ibusb_set_option at /usr/share/perl/5.30/XSLoader.pm

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-13 Thread Soumyanath Chatterjee
Please find the output: Editor support available. Enter h or 'h h' for help, or 'man perldebug' for more help. main::(-e:1):   l  DB<1> use Image::Sane ':all'; Can't load '/usr/lib/x86_64-linux-gnu/perl5/5.30/auto/Image/Sane/Sane.so' for module Image::Sane:

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-12 Thread Jeff
Please start an interactive Perl session with: perl -d -e 1 Then execute the following: use Image::Sane ':all'; print SANE_NAME_PAGE_HEIGHT, "\n"; and report the response. Afterwards, you can quit with q OpenPGP_signature.asc Description: OpenPGP digital signature

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-12 Thread Soumyanath Chatterjee
Tried running it  but no log file is generated. Here is the console output: soumyanath@ganak-desktop:~$ gscan2pdf --log=log Bareword "SANE_NAME_SCAN_TL_X" not allowed while "strict subs" in use at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 128. Bareword "SANE_NAME_SCAN_TL_Y" not allowed

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-12 Thread Jeff
Please start gscan2pdf from the command line with the --log option: gscan2pdf --log=log then quit, and post the log file, which gscan2pdf should have compressed with xz. OpenPGP_signature.asc Description: OpenPGP digital signature

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-10 Thread Soumyanath Chatterjee
Thank you for your prompt reply. I run gscan2pdf from command prompt to get the error list. Here is the output you wanted: $apt list libimage-sane-perl Listing... Done libimage-sane-perl/focal,now 5-1 amd64 [installed,automatic] Please note: I do not have any scanner connected with my

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-08 Thread Jeff
How are you starting gscan2pdf? What does the following return? apt list libimage-sane-perl Regards Jeff OpenPGP_signature.asc Description: OpenPGP digital signature

Bug#1055567: Error: gscan2pdf fails to compile

2023-11-08 Thread Soumyanath Chatterjee
Package: gscan2pdf Version: 2.13.2-0~ppa1focal OS: Kubuntu 20.04 Other details: No scanner is attached with the computer. I use gscan2pdf for stitching images scanned by a handheld scanner. The program worked perfectly till last Aug'23. Problem: gscan2pdf fails at command with the