From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RdMlp-0007PJ-PL for garchives@archives.gentoo.org; Wed, 21 Dec 2011 14:03:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FFA021C099; Wed, 21 Dec 2011 14:03:41 +0000 (UTC) Received: from inpbox.inp.nsk.su (inp.nsk.su [193.124.167.24]) by pigeon.gentoo.org (Postfix) with ESMTP id B5A5E21C090 for ; Wed, 21 Dec 2011 14:03:32 +0000 (UTC) Received: from star.inp.nsk.su ([193.124.167.6]) by inpbox.inp.nsk.su with esmtp (Exim 4.50) id 1RdMlX-0003Lq-Ot for gentoo-science@lists.gentoo.org; Wed, 21 Dec 2011 21:03:31 +0700 Received: from star.inp.nsk.su (localhost.localdomain [127.0.0.1]) by star.inp.nsk.su (8.13.8/8.13.8) with ESMTP id pBLE3VBr030167 for ; Wed, 21 Dec 2011 21:03:31 +0700 Received: from localhost (grozin@localhost) by star.inp.nsk.su (8.13.8/8.13.8/Submit) with ESMTP id pBLE3Vml030164 for ; Wed, 21 Dec 2011 21:03:31 +0700 Date: Wed, 21 Dec 2011 21:03:31 +0700 (NOVT) From: "Andrey G. Grozin" To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] sci-mathematics/reduce on amd64 (fwd) Message-ID: User-Agent: Alpine 1.10 (LRH 962 2008-03-14) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Archives-Salt: a2634a12-cba2-4ba7-af53-1d51304fb2e4 X-Archives-Hash: 7588b2b1b8306e875a060e3b50648f13 On Wed, 21 Dec 2011, Kacper Kowalik wrote: >> Could somebody with amd64 check if sci-mathematics/reduce-20110414 >> compiles on this arch? You'll have to keyword it. Upstream says it >> should compile. > > It does and passes test suite. Though it doesn't respect libdir: > > /dev/shm/portage/sci-mathematics/reduce-20110414/image/usr/lib/reduce/reduce.fonts/README > > Judging by the content it shouldn't be libdir in the first place, rather > /usr/share... Many thanks for checking. csl-based reduce, and csl, are really strange. reduce is a compiled binary, and it needs to have reduce.img *in the same directory* (same for csl). Both of them also want to see reduce.doc and reduce.fonts also in the same directory, if they are started in the gui mode (in the command-line mode reduce.fonts and reduce.doc are not needed). So, all these files and directories should be together somewhere. And not in /usr/share, because reduce is a binary, and reduce.img is also processor-dependent, as far as I know. So, I choose /usr/lib/reduce; do you have better suggestions? Should it be /usr/lib64/reduce on amd64? Moreover, symlinking /usr/lib/reduce -> /usr/bin/redcsl does not work: the program tries to find reduce.img in /usr/bin, and fails. The only way I've found is a 2-line script in /usr/bin which execs /usr/lib/reduce/reduce. Thanks again, Andrey