From owner-freebsd-ports@FreeBSD.ORG Fri May 30 15:29:22 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5AA15C29 for ; Fri, 30 May 2014 15:29:22 +0000 (UTC) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC0702157 for ; Fri, 30 May 2014 15:29:21 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id bs8so1254054wib.5 for ; Fri, 30 May 2014 08:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=H5nwI1z2bbFTQJknNGmOzKm0KpOFTWc8oWxHYhY80Cg=; b=geBRhZRu2cEOmuUh3hbXAkNWKN0uHOOanmF7Z8SEQVi1Ix2M1f+pQmijxmq7RdG7VC EVvtD9nN7tCj/J6H3aHQmZBEzxjY9Te9DEyLsajuknkQb5n5HWjuUjIgdBpT8nimHOH/ RFJrtwIXeySRFegn+9s/H/zD+4cw4t7xgH/qSoqIxDDCARBSs+ERQtDZhtCjuDoPxDQa j1+b+pDmzCOlhoR2h2YeyKdScVsEGM8qeyrcYa5duzGao+O/yFgCb9ybOyhD8+s0u28M vYoq8zXU29T8Gq3AlsbKikVLi2tRHHZbl26Pkgb6DfJf7kzJQPKA/frsKnVAWbDRG/d2 ym4Q== MIME-Version: 1.0 X-Received: by 10.194.186.210 with SMTP id fm18mr22865311wjc.67.1401463758097; Fri, 30 May 2014 08:29:18 -0700 (PDT) Received: by 10.216.91.4 with HTTP; Fri, 30 May 2014 08:29:18 -0700 (PDT) In-Reply-To: <1401441947485-5916416.post@n5.nabble.com> References: <1401441947485-5916416.post@n5.nabble.com> Date: Fri, 30 May 2014 17:29:18 +0200 Message-ID: Subject: Re: print/cups-base not possible to build without Zeroconf? From: Torfinn Ingolfsen To: FreeBSD Ports ML Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2014 15:29:22 -0000 On Fri, May 30, 2014 at 11:25 AM, Beeblebrox wrote: > My cups-base compile fails as below: > "dirsvc.o: In function `cupsdStartBrowsing': > /wrkdirs/usr/ports/print/cups-base/work/cups-1.7.2/scheduler/dirsvc.c:244: > undefined reference to `dnssdRegisterAllPrinters' > dirsvc.o: In function `cupsdStopBrowsing': > /wrkdirs/usr/ports/print/cups-base/work/cups-1.7.2/scheduler/dirsvc.c:262: > undefined reference to `dnssdDeregisterAllPrinters' > cc: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[2]: *** [cupsd] Error 1" > > This is a Zeroconf error AFIAK, since I only have LIBPAPER and no other > option enabled for the port. > (UNSET+=AVAHI \ UNSET+=MDNSRESPONDER) > > Is it a "must" to enable one of these? FWIW, it builds with MDNSRESPONDER set, it crashes (as shown above) if it is unset. I haven't tried with AVAHI. This on tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 8.4-STABLE FreeBSD 8.4-STABLE #1 r266590: Fri May 23 20:23:35 CEST 2014 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 port config: root@kg-core1# cd /usr/ports/print/cups-base && make showconfig ===> The following configuration options are available for cups-base-1.7.2_1: GNUTLS=off: SSL/TLS support via GnuTLS LIBPAPER=on: libpaper support PHP=off: PHP bindings or support PYTHON=on: Python bindings or support PAM=off: PAM support DBUS=on: D-Bus IPC system support LIBUSB=on: USB support XDG_OPEN=off: Build with XDG_OPEN as browser AVAHI=off: Zeroconf support via Avahi MDNSRESPONDER=on: Zeroconf support via mDNSResponder ICONS=on: Desktop icons ===> Use 'make config' to modify these settings HTH -- Regards, Torfinn Ingolfsen