From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4FF31138E66 for ; Sun, 23 Feb 2014 16:53:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B153E0A85; Sun, 23 Feb 2014 16:53:44 +0000 (UTC) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15361E0A01 for ; Sun, 23 Feb 2014 16:53:42 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id e4so2268981wiv.16 for ; Sun, 23 Feb 2014 08:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=zqgMuEcDDWmFldhVNcUy30Bpo7vBW21URshdMoACbPc=; b=Q94Ps/uQ31OpZo3y9f+Z+20X+DmT83LvevHqEWNUcXvbsz9tZdetpI65D5vnY4ZA9X eI6uUDK0mrax+o8MdNHPo8KGNZYk7wvJg5c4mP43H678DEKF2/KuKOuGZnjwllK4YOzF YO86b4NR6oxQa3K8cm9mytHZi8XeKcgIhpXXITb2zeMwuhQ1iEXsDZBUIgP17RPpxqhB rJwZR9CWKoekLMv4jgKc6J5lUSfXZQQx7JRcE0CfcWmm7i0JdS/+N7vwPYyonEWOowqe cf9VaEC2yuwB/YtCepSmPhIbZKwjlLVT66p0Q8UxNrSJ89Qc+AJbYto/YQ5lJ7iEv7wd EaNw== X-Received: by 10.194.59.210 with SMTP id b18mr15349396wjr.60.1393174421638; Sun, 23 Feb 2014 08:53:41 -0800 (PST) Received: from [192.168.1.81] (222.185.204.77.rev.sfr.net. [77.204.185.222]) by mx.google.com with ESMTPSA id ju6sm34765699wjc.1.2014.02.23.08.53.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Feb 2014 08:53:40 -0800 (PST) Message-ID: <530A27AF.8090700@gmail.com> Date: Sun, 23 Feb 2014 17:54:07 +0100 From: Fox User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 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 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] libpng slot usage Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 0c351798-f2aa-4152-a06d-4d9cdea09d68 X-Archives-Hash: 46401458de536d85bf88d837b44f634f Hello, I am trying to compile fltk-1.1.10 both using an ebuild from [1] and with just the downloaded source. I think this version needs libpng 1.2 which is installed in one of the slots. Using the source code and cmake with FLTK_USE_SYSTEM_PNG off it complies fine. I can see that it automatically points the libs to /usr/lib64/libpng12.so.0. The ebuild does not use cmake, it uses autoconf/automake which is also suported. I tried to build the code this way with --disable/enable-localpng with no luck. The problem is the used png.h file. Which is /usr/include/png.h which points to /usr/include/libpng16/png.h but I need the one from version 1.2. I thought slots would allow to have both versions of the library and use them but only one include file is present: $ equery f libpng:1.2 * Searching for libpng:1.2 ... * Contents of media-libs/libpng-1.2.50-r1: /usr /usr/lib64 /usr/lib64/libpng12.so.0 /usr/share /usr/share/doc /usr/share/doc/libpng-1.2.50-r1 /usr/share/doc/libpng-1.2.50-r1/CHANGES.bz2 /usr/share/doc/libpng-1.2.50-r1/README.bz2 /usr/share/doc/libpng-1.2.50-r1/TODO.bz2 Any idea on how to solve this problem? Some how it should be possible maybe not using the system lib like I did with cmake but I can't figure it out how to do it with autoconf/automake. Thank you, Quim [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/fltk/fltk-1.1.10.ebuild?view=log