Subject: pkg/25513: sane-backends want libgphoto2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mlelstv@serpens.de>
List: pkgsrc-bugs
Date: 05/09/2004 18:29:29
>Number: 25513
>Category: pkg
>Synopsis: sane-backends want libgphoto2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 09 16:30:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Michael van Elst
>Release: NetBSD 1.6.2_STABLE
>Organization:
--
Michael van Elst
Internet: mlelstv@serpens.de
"A potential Snark may lurk in every tree."
>Environment:
System: NetBSD pepew 1.6.2_STABLE NetBSD 1.6.2_STABLE (PEPEW) #5: Thu Apr 22 23:06:37 MEST 2004 src@pepew:/amd/fud/d/0/src/sys/arch/i386/compile/PEPEW i386
Architecture: i386
Machine: i386
>Description:
Trying to build sane-backends-1.0.14 fails with:
getenv.c:13: #error "Missing getenv() on this platform. Please implement."
gmake[1]: *** [getenv.o] Error 1
The config.log reveals:
configure:9108: checking for getenv
configure:9165: gcc -o conftest -O2 -I/usr/pkg/include -W -Wall -I/usr/pkg/inclu
de -DPATH_SANE_CONFIG_DIR=$(configdir) -DPATH_SANE_DATA_DIR=$(datadir)
-DV_MAJOR=1 -DV_MINOR=0 -I/usr/pkg/include/gphoto2 -I/usr/pkg/include -L/usr/p
kg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c -lm -ljpeg -lgphoto2 -lm >
&5
/usr/bin/ld: cannot find -lgphoto2
collect2: ld returned 1 exit status
This is because gphoto2-config is installed by the libgphoto2 package
but libgphoto2 is not buildlinked.
>How-To-Repeat:
Build sane-backeneds-1.0.14
>Fix:
add libgphoto2 support to sane-backends
>Release-Note:
>Audit-Trail:
>Unformatted: