Re: [Upgrade to FreeBSD10] hplip issue

2014-02-03 Thread David Marec

On 03.02.2014 01:18, Scot Hetzel wrote:

On Sat, Feb 1, 2014 at 4:14 AM, David Marec david.ma...@davenulle.org wrote:

I don't know why this file was not updated during the hplip installation.


[...]
  if there were any changes to hplip.conf file, it doesn't get removed
when the port is uninstalled.  And if the file exists, it won't
overwrite your changes.

Did you customize this file before you re-installed?


No. But I guess this file wasn't removed when I requested the deletion 
of all the ports using 'pkg delete', once FreeBSD was upgraded.

But, at that time, the scanning switch was enabled in the file.



Does the hplip.conf.sample file have scanner-build=yes?



The only difference is the line I set up to fix the issue, after the 
(re)installation:

david:/1local/etc/hpdiff hplip.conf hplip.conf.sample
25c25
 scanner-build=yes
---
 scanner-build=no

--
David Marec
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [Upgrade to FreeBSD10] hplip issue

2014-02-03 Thread Scot Hetzel
 On Mon, Feb 3, 2014 at 12:54 AM, David Marec david.ma...@davenulle.org wrote:
 On 03.02.2014 01:18, Scot Hetzel wrote:

 On Sat, Feb 1, 2014 at 4:14 AM, David Marec david.ma...@davenulle.org
 wrote:

 I don't know why this file was not updated during the hplip installation.

 [...]

   if there were any changes to hplip.conf file, it doesn't get removed
 when the port is uninstalled.  And if the file exists, it won't
 overwrite your changes.

 Did you customize this file before you re-installed?


 No. But I guess this file wasn't removed when I requested the deletion of
 all the ports using 'pkg delete', once FreeBSD was upgraded.
 But, at that time, the scanning switch was enabled in the file.



 Does the hplip.conf.sample file have scanner-build=yes?


 The only difference is the line I set up to fix the issue, after the
 (re)installation:
 david:/1local/etc/hpdiff hplip.conf hplip.conf.sample
 25c25
  scanner-build=yes
 ---
 scanner-build=no


I checked the work/hplip-3.14.1/hplip.conf file that was generated
during the 'make configure' phase and it shows that scanner-build is
set to yes when the SCAN option is selected.

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [Upgrade to FreeBSD10] hplip issue

2014-02-02 Thread Scot Hetzel
On Sat, Feb 1, 2014 at 4:14 AM, David Marec david.ma...@davenulle.org wrote:
 On 01.02.2014 10:39, David Marec wrote:

 First, I had to rebuild the port to switch on the 'scanning feature',
 which is not available by the binary package, but scanning still fails.


 Finally, while checking in the hplip configuration files, I found that the
 scanning feature was still disabled in the file
 /usr/local/etc/hp/hplip.conf
 So, I changed the entry line :
 scanner-build=yes

 and now, the scanner can be used.

 I don't know why this file was not updated during the hplip installation.


According to the pkg-plist:

@unexec if cmp -s %D/etc/hp/hplip.conf.sample %D/etc/hp/hplip.conf;
then rm -f %D/etc/hp/hplip.conf; fi
etc/hp/hplip.conf.sample
@exec if [ ! -f %B/hplip.conf ]; then cp -p %D/%F %B/hplip.conf; fi

 if there were any changes to hplip.conf file, it doesn't get removed
when the port is uninstalled.  And if the file exists, it won't
overwrite your changes.

Did you customize this file before you re-installed?

Does the hplip.conf.sample file have scanner-build=yes?

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


[Upgrade to FreeBSD10] hplip issue

2014-02-01 Thread David Marec

greetings,

Since I upgraded my BSD-box to the recent 10.0 release, I m not able to 
scan any document using the port 'hplip', as i used to when running the 
9.2 release.


hp-scan failed on the following error:

---
hp-scan -otest.png
Using device: hpaio:/usb/Officejet_4500_G510a-f?serial=CN04EF11S905H2

error: Scanning disabled in build. Exiting
---

First, I had to rebuild the port to switch on the 'scanning feature', 
which is not available by the binary package, but scanning still fails.


root@dmarec:/usr/ports/print/hplip # make showconfig
=== The following configuration options are available for hplip-3.14.1:
 DOCS=off: Build and/or install documentation
 FAX=off: PC Send Fax support
 QT=off: Graphical User Interface (Qt 4)
 SCAN=on: Scanning support
 SNMP=off: Network/JetDirect support
 XSANE=off: Install XSane for scanning (requires SCAN)
=== Use 'make config' to modify these settings


I also tried to activate XSane,
- with the help of the new binary package installation-
but the error still occurs.

Any clue ?

--
David Marec.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [Upgrade to FreeBSD10] hplip issue

2014-02-01 Thread David Marec

On 01.02.2014 10:39, David Marec wrote:
First, I had to rebuild the port to switch on the 'scanning feature', 
which is not available by the binary package, but scanning still fails.


Finally, while checking in the hplip configuration files, I found that 
the scanning feature was still disabled in the file

/usr/local/etc/hp/hplip.conf
So, I changed the entry line :
scanner-build=yes

and now, the scanner can be used.

I don't know why this file was not updated during the hplip installation.

--
David Marec
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org