NetBSD Problem Report #36619

From martin@duskware.de  Mon Jul  9 10:24:00 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 798C463B874
	for <gnats-bugs@gnats.netbsd.org>; Mon,  9 Jul 2007 10:24:00 +0000 (UTC)
Message-Id: <20070709102119.D060063B874@narn.NetBSD.org>
Date: Mon,  9 Jul 2007 10:21:19 +0000 (UTC)
From: raymond.meyer@rambler.ru
Reply-To: raymond.meyer@rambler.ru
To: netbsd-bugs-owner@NetBSD.org
Subject: devel/libgphoto2 fails to build on Solaris 10
X-Send-Pr-Version: www-1.0

>Number:         36619
>Category:       pkg
>Synopsis:       devel/libgphoto2 fails to build on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 09 10:25:00 +0000 2007
>Last-Modified:  Tue Jul 10 00:23:11 +0000 2007
>Originator:     raymond
>Release:        
>Organization:
>Environment:
SunOS e450 5.10 Generic_118833-33 sun4u sparc SUNW,Ultra-4
>Description:
During configure stage I get the following error:

checking for libusb-config... no
configure: error:
PKG_CONFIG_PATH=
LIBUSB_LIBS=
LIBUSB_CFLAGS=

* Fatal: libgphoto2 port access library by default requires libusb >= 0.1.5 to build.
*        You must explicitly disable libusb to build libgphoto2_port without it.
*
* Possible solutions:
*   - call configure with --with-libusb=no or --without-libusb
*   - set PKG_CONFIG_PATH to adequate value
*   - call configure with LIBUSB_LIBS=.. and LIBUSB_CFLAGS=..
*   - call configure with one of the --with-libusb parameters
*   - get libusb and install it

configure: error: ./configure failed for libgphoto2_port
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/devel/libgphoto2

>How-To-Repeat:

>Fix:
Modify Makefile to pass --without-libusb to configure script

[root@e450] diff -u Makefile.orig Makefile
--- Makefile.orig       Mon Jul  9 11:10:11 2007
+++ Makefile    Mon Jul  9 11:10:34 2007
@@ -23,6 +23,7 @@
 # Keep this in sync with buildlink3.mk!
 .if ${OPSYS} == "SunOS"
 PLIST_SUBST+=          HAVE_LIBUSB="@comment "
+CONFIGURE_ARGS+=        --without-libusb
 .else
 .include "../../devel/libusb/buildlink3.mk"
 PLIST_SUBST+=          HAVE_LIBUSB=""

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Tue, 10 Jul 2007 00:23:11 +0000
Responsible-Changed-Why:
Solaris-specific problem.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.