Re: sane-backends

2009-05-26 Thread Roland Smith
On Tue, May 26, 2009 at 09:15:32AM +0200, Pieter Donche wrote:
> When doing a portupgrade -a
> the port sane-backends-1.0.20_1 gives compilation errors...
> What to do with that? 

Don't upgrade it, but remove the port with pkg_delete and then compile
and install the newer version. 

Upgrading doesn't work in this case because the compilation finds and
uses the installed header files of the old version, which obviously
don't match the new code. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpOc0PZTVKTw.pgp
Description: PGP signature


Re: sane-backends

2009-05-26 Thread Kent Stewart
On Tuesday 26 May 2009 12:15:32 am Pieter Donche wrote:
> When doing a portupgrade -a
> the port sane-backends-1.0.20_1 gives compilation errors...
> What to do with that?
> Just wait for 1.0.20_2 to come up?
> Where to find information?
>

The fix has been posted several times in freebsd-po...@freebsd.org. You can 
cd /usr/ports/graphics/sane-backends
make deinstall
make reinstall

An alternative is to pkg_delete it and then reinstall it with portupgrade. The 
deinstall and reinstall commands are in my history but I wanted to see if 
portupgrade would install it and the N option was successful.

Kent
> ...
> canon_dr.c:1333: error: 'SANE_NAME_STANDARD' undeclared (first use in this
> funct ion)^M
> canon_dr.c:1333: error: (Each undeclared identifier is reported only once^M
> ...
> gmake[2]: *** [libcanon_dr_la-canon_dr.lo] Error 1^M
> gmake[2]: Leaving directory
> `/usr/ports/graphics/sane-backends/work/sane-backend s-1.0.20/backend'^M
> gmake[1]: *** [all] Error 2^M
> gmake[1]: Leaving directory
> `/usr/ports/graphics/sane-backends/work/sane-backend s-1.0.20/backend'^M
> gmake: *** [all-recursive] Error 1^M
> *** Error code 1^M
> ^M
> Stop in /usr/ports/graphics/sane-backends.^M
> *** Error code 1^M
> Stop in /usr/ports/graphics/sane-backends.^M
> --->  Build of graphics/sane-backends ended at: Tue, 26 May 2009 08:55:02
> +0200 (consumed 00:00:42)
> --->  Upgrade of graphics/sane-backends ended at: Tue, 26 May 2009 08:55:02
> +020 0 (consumed 00:00:42)
> --->  ** Upgrade tasks 2: 0 done, 0 ignored, 0 skipped and 1 failed
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"



-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


sane-backends

2009-05-26 Thread Pieter Donche

When doing a portupgrade -a
the port sane-backends-1.0.20_1 gives compilation errors...
What to do with that? 
Just wait for 1.0.20_2 to come up?

Where to find information?

...
canon_dr.c:1333: error: 'SANE_NAME_STANDARD' undeclared (first use in this funct
ion)^M
canon_dr.c:1333: error: (Each undeclared identifier is reported only once^M
...
gmake[2]: *** [libcanon_dr_la-canon_dr.lo] Error 1^M
gmake[2]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backend
s-1.0.20/backend'^M
gmake[1]: *** [all] Error 2^M
gmake[1]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backend
s-1.0.20/backend'^M
gmake: *** [all-recursive] Error 1^M
*** Error code 1^M
^M
Stop in /usr/ports/graphics/sane-backends.^M
*** Error code 1^M
Stop in /usr/ports/graphics/sane-backends.^M
--->  Build of graphics/sane-backends ended at: Tue, 26 May 2009 08:55:02 +0200
(consumed 00:00:42)
--->  Upgrade of graphics/sane-backends ended at: Tue, 26 May 2009 08:55:02 +020
0 (consumed 00:00:42)
--->  ** Upgrade tasks 2: 0 done, 0 ignored, 0 skipped and 1 failed


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


SOLVED: Error trying to portdowngrade sane-backends

2006-06-25 Thread Erik Nørgaard
Downgrading to 1.0.16_1 worked.

Erik

-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature


Error trying to portdowngrade sane-backends

2006-06-23 Thread Erik Nørgaard
Hi:

I had my scanner working with a previous version of sane-backends
(1.16), then I upgraded, system to 6.1 and sane-backends to 1.17 and it
has not been working since: I get I/O errors or connection stalls, it
seems to be a usb problem.

To rule out that this is not just my laptop getting old I have tried
downgrading with portdowngrade, but I got this error:

===>  Found saved configuration for sane-backends-1.0.16
===>  Extracting for sane-backends-1.0.16
=> MD5 Checksum OK for sane-backends-1.0.16.tar.gz.
=> No SHA256 checksum recorded for sane-backends-1.0.16.tar.gz.
===>  Patching for sane-backends-1.0.16
===>  Applying FreeBSD patches for sane-backends-1.0.16
===>   sane-backends-1.0.16 depends on executable: gmake - found
===>   sane-backends-1.0.16 depends on shared library: jpeg.9 - found
===>   sane-backends-1.0.16 depends on shared library: usb-0.1.8 - found
===>   sane-backends-1.0.16 depends on shared library: intl - found
===>  Configuring for sane-backends-1.0.16
===>  Building for sane-backends-1.0.16
gmake: Makefile: No such file or directory
gmake: *** No rule to make target `Makefile'.  Stop.
*** Error code 2

Stop in /usr/ports/graphics/sane-backends.
*** Error code 1

Any hints on what is wrong?

Thanks, Erik


-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature


Scanning: Sane-Backends: from 1.0.16 to 1.0.17 or Xsane: 0.97 to 0.98

2006-01-02 Thread Joe Altman
One of the two recent portupgrades seems to have broken scanning for
an HP 2200C using the Plustek backend.

One of the issues I face is that I don't recall if the upgrade for
Xsane occurred before or after I last used the scanner
successfully. 0.98a was released twice, in late November; followed
closely by 0.98b in early December.

However: prior to the port upgrade for the Plustek backend (this was
released/ported on or about 2005-12-26th) XSane and the appropriate
Sane backend worked fine. After the backend upgrade, the best behavior
I can obtain from Xsane is a core dump.

Before I submit a bug report to the Sane maintainer or the Xsane
maintainer, I thought I'd ask if anyone else is seeing this or similar
behavior:

Xsane will just appear to hang, as will xscanimage. The light for the
scanner comes on, and sometimes the scan will begin; if it does, the
light stays on after the core dump and does not return to its
bay. Both sane-find-scanner and scanimage -L work, but Xsane sometimes
eventually dumps core and xscanimage doesn't do much of anything.

Thanks in advance, and best regards...

Joe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with sane-backends

2003-08-14 Thread Jakob Breivik Grimstveit
Had some problems with an old libexif-dependency (8->9) and thus decided
to deinstall reinstall sane-backends port. This fails, how do I fix
this?

Installation directories:
Configuration: /usr/local/etc
Libraries: /usr/local/lib
Binaries:  /usr/local/bin and /usr/local/sbin
Manpages:  /usr/local/man
Network parameters:
IPv6 support:  no

* Please be sure to read file PROBLEMS in this directory   *
* BEFORE running any of the SANE applications.  Some devices   *
* may be damaged by inproper operation, so please do heed this *
* advice.  *

===>  Building for sane-backends-1.0.12_2
making all in include
gmake[1]: Entering directory
`/usr/ports/graphics/sane-backends/work/sane-backends-1.0.12/include'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/ports/graphics/sane-backends/work/sane-backends-1.0.12/include'
making all in lib
gmake[1]: Entering directory
`/usr/ports/graphics/sane-backends/work/sane-backends-1.0.12/lib'
cc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include
-I/usr/local/include -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d   
-DPATH_SANE_DATA_DIR=/usr/local/share   -DV_MAJOR=1 -DV_MINOR=0
-I/usr/local/include/gphoto2 -I/usr/local/include -O2 -pipe -march=k6 -W
-Wall getenv.c
getenv.c:13: #error "Missing getenv() on this platform.  Please
implement."
getenv.c: In function `getenv':
getenv.c:6: warning: unused parameter `name'
gmake[1]: *** [getenv.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/graphics/sane-backends/work/sane-backends-1.0.12/lib'
gmake: *** [all-recursive] Error 1
*** Error code 2
 
Stop in /usr/ports/graphics/sane-backends.
*** Error code 1
 
Stop in /usr/ports/graphics/sane-backends.
[EMAIL PROTECTED] sane-backends]$

Any help appreciated!

-- 
Jakob Breivik Grimstveit, http://www.grimstveit.no/jakob/, +47 48298152 


signature.asc
Description: This is a digitally signed message part