From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: Linphone Date: Fri, 27 Mar 2020 20:55:09 -0400 Message-ID: <878sjlpac2.fsf@gmail.com> References: <7aa517d42c2bd7b527712c73ca5eac58@disroot.org> <87r1xgxf9h.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43273) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHzkp-00078s-Cd for guix-devel@gnu.org; Fri, 27 Mar 2020 20:55:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHzkl-0002vm-UD for guix-devel@gnu.org; Fri, 27 Mar 2020 20:55:15 -0400 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:37959) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHzkl-0002vJ-QI for guix-devel@gnu.org; Fri, 27 Mar 2020 20:55:11 -0400 Received: by mail-qk1-x735.google.com with SMTP id h14so12904147qke.5 for ; Fri, 27 Mar 2020 17:55:11 -0700 (PDT) In-Reply-To: <87r1xgxf9h.fsf@elephly.net> (Ricardo Wurmus's message of "Wed, 25 Mar 2020 23:04:42 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org, Raghav Gururajan Hi! Ricardo Wurmus writes: > Hi, > >> For past week, I have been working on packaging Linphone. I have >> successfully packaged all the required dependencies, including >> liblinphone. Here is the whole diff of my project: > > Very nice! > >> For the final package, linphone-desktop, I am having some trouble. Here = is the error I get: >> >> https://bin.disroot.org/?f9419716e5815c6c#DEtwGGt2mSM4UuYnDn7pd4BHvD5KWN= XTWMYaHUCvidvA >> >> I tried (#configure-flags (list (string-append "-DBcToolbox_DIR=3D" (ass= oc-ref %build-inputs "bctoolbox")))). But it did not work. > > The error says > > By not providing "FindBcToolbox.cmake" in CMAKE_MODULE_PATH this project > has asked CMake to find a package configuration file provided by > "BcToolbox", but CMake did not find one. > > So there is no FindBcToolbox.cmake file, which would tell CMake how to > find the package. There also is no pkg-config file (a file ending on > .pc) =E2=80=94 or perhaps there is but you are not using pkg-config. > > Please try adding pkg-config to the native-inputs. > > If this still doesn=E2=80=99t work check the output of bctoolbox: does it > install a pkg-config file? If it does: does the file mention any > libraries that must be propagated? Did Ricardo's suggestion help? I'm interested in Linphone on Guix! The more VoIP options we have on the table in the times we're in, the better :-). If you have more issues, do reach out, and I'll see if I can lend a hand. Thank you for working on it! Maxim