From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Linphone Date: Wed, 25 Mar 2020 23:04:42 +0100 Message-ID: <87r1xgxf9h.fsf@elephly.net> References: <7aa517d42c2bd7b527712c73ca5eac58@disroot.org> 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]:53412) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHE8t-00026V-7X for guix-devel@gnu.org; Wed, 25 Mar 2020 18:04:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHE8r-0003D8-ED for guix-devel@gnu.org; Wed, 25 Mar 2020 18:04:55 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21160) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jHE8q-00037N-M5 for guix-devel@gnu.org; Wed, 25 Mar 2020 18:04:53 -0400 In-reply-to: <7aa517d42c2bd7b527712c73ca5eac58@disroot.org> 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: Raghav Gururajan Cc: guix-devel@gnu.org 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 i= s the error I get: > > https://bin.disroot.org/?f9419716e5815c6c#DEtwGGt2mSM4UuYnDn7pd4BHvD5KWNX= TWMYaHUCvidvA > > I tried (#configure-flags (list (string-append "-DBcToolbox_DIR=3D" (asso= c-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? -- Ricardo