From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 83473139083 for ; Thu, 23 Nov 2017 17:07:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B548DE0C5C; Thu, 23 Nov 2017 17:07:41 +0000 (UTC) Received: from mail-ot0-x22a.google.com (mail-ot0-x22a.google.com [IPv6:2607:f8b0:4003:c0f::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B693E0C01 for ; Thu, 23 Nov 2017 17:07:41 +0000 (UTC) Received: by mail-ot0-x22a.google.com with SMTP id b54so16789561otd.8 for ; Thu, 23 Nov 2017 09:07:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to; bh=aDL49PMCl2IzrDvphcp/VIF1DCZ6S++UqGL9Vc9mnRw=; b=DeqaxpooPcqkQ9ICDCPNxPTX4/6w1GM2xE/9bl6YSFeKbyg2B0MSIyBz99oAZ2GYYY 6bjQQyu/ewYCy5f6pptm2mZpamVu0USZSTxvi9UzKZbxBSWAVJW144Pfoz90d8Sr+XzS vdCG9aEUWC21xRyHS/RRw7sYKp0ySOYRkEKsMG7HCVqVlo5RQHc2MultEcl/1LBzb/La fJA3Z+zGofHEmZdyB6glRcR6DqIcLJ6RQjyn1xrBlUkWLVbjkqUbJyx6JPROYV9x08Ia oPBYusFfuyOnYhByICLDysjeeKfRZH451mEkMQjjU1QB8ywT34S1WmkilbHMRuE8znud hDhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to; bh=aDL49PMCl2IzrDvphcp/VIF1DCZ6S++UqGL9Vc9mnRw=; b=KEuLBJmHq+BlrZwKYZOvETR8VfbI6EETppsAZX8FHTpECUonOS40WEIW0oo9iJMngO oD6J9EOkxouWkLSzCsogLjfwBGZ6S9uqIFZ9c6m2zv+xZkF8o6i7rJGp+/T2572SW5s3 RW8PiL69J422lMleCU8zTUFotJb2riVCtZoM85y7O3VwZmJvTxLDk4qJHVo4Rmx2WDhC yHFg6jq74l2sRMAFOJAsAJgAhkeCPAZzS8vnjuwbECLyESy+LiZjoV7KuPrrHPswhn7A MDLAjfngGPN08lxCUXHxs363Qywg9t8cHxpxfs85sI+ZwLDuW5t+1XbobsI+ZahxJvfz i5Jw== X-Gm-Message-State: AJaThX7X/XRioEwup3IAK5FxdES94wgEnw+GwlB/eZ5lAnAg3WLg98PD OA4u8l6qV/04ZT9fGPg6yX9UpBg6q6yceEhlNTw= X-Google-Smtp-Source: AGs4zMbOWDkcMIT2qaSqjB5nxfqyt4CR/laW1yrPexWclc04xjK2iPwK8zExcJ4NWHx00jizeX1r+4eY9dxlcEdxRHU= X-Received: by 10.157.68.9 with SMTP id u9mr17258069ote.369.1511456860091; Thu, 23 Nov 2017 09:07:40 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.168.180.195 with HTTP; Thu, 23 Nov 2017 09:07:39 -0800 (PST) In-Reply-To: References: From: Hung Dang Date: Thu, 23 Nov 2017 12:07:39 -0500 Message-ID: Subject: Re: [gentoo-user] Cmake problem - please help To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="001a11482bce3d399a055ea97965" X-Archives-Salt: 54cb2de1-0e4b-42f1-8ff0-30a27655ada5 X-Archives-Hash: 653fbc045a2e3c272aca72938d0ceefc --001a11482bce3d399a055ea97965 Content-Type: text/plain; charset="UTF-8" Is this possible to install your packages locally in your home folder? This approach works better if you have to work on different machines. HTH Hung On Thu, Nov 23, 2017 at 12:01 PM, Helmut Jarausch wrote: > Hi, > > cmake is still a mystery to me. > > I like to add a (non-Gentoo) package to my local overlay. > This package is configured and built by 'cmake' > > It needs and finds a package 'mumps' (from the Science Overlay) > but linkage fails since the 'mumps' library needs another library > (scalapack) > > So, how can I "tell" 'cmake' to link to libscalapack (there is a > /usr/lib64/pkgconfig/refscalapack.pc file on my machine) > > But 'sci-libs/mumps' doesn't install a pkg-config file. > > I have done 'grep' through all CMakeLists.txt files, > but I have no idea where the 'mumps' library is included. > > I'd be grateful to any hints and links (for 'cmake' dummies) > > Helmut > > --001a11482bce3d399a055ea97965 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Is this possible to install your packages locally in your = home folder? This approach works better if you have to work on different ma= chines.

HTH
Hung

On Thu, Nov 23, 2017 at 12:01 PM, H= elmut Jarausch <jarausch@skynet.be> wrote:
Hi,

cmake is still a mystery to me.

I like to add a=C2=A0 (non-Gentoo) package to my local overlay.
This package is configured and built by 'cmake'

It needs and finds a package 'mumps' (from the Science Overlay)
but linkage fails since the 'mumps' library needs another library (= scalapack)

So, how can I "tell" 'cmake' to link to libscalapack (the= re is a
/usr/lib64/pkgconfig/refscalapack.pc file on my machine)

But 'sci-libs/mumps' doesn't install a pkg-config file.

I have done 'grep' through all CMakeLists.txt files,
but I have no idea where the 'mumps' library is included.

I'd be grateful to any hints and links (for 'cmake' dummies)

Helmut


--001a11482bce3d399a055ea97965--