From: "Andrey G. Grozin" <A.G.Grozin@inp.nsk.su>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] sci-mathematics/reduce on amd64 (fwd)
Date: Wed, 21 Dec 2011 21:03:31 +0700 (NOVT) [thread overview]
Message-ID: <alpine.LRH.1.10.1112212102070.29594@star.inp.nsk.su> (raw)
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
next reply other threads:[~2011-12-21 14:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-21 14:03 Andrey G. Grozin [this message]
2011-12-21 15:30 ` [gentoo-science] sci-mathematics/reduce on amd64 (fwd) Kacper Kowalik
2011-12-22 12:26 ` [gentoo-science] sci-mathematics/reduce on amd64 Andrey G. Grozin
2011-12-22 15:36 ` Honza Macháček
2011-12-22 16:31 ` Miguel de Val-Borro
2011-12-23 16:24 ` Andrey G. Grozin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LRH.1.10.1112212102070.29594@star.inp.nsk.su \
--to=a.g.grozin@inp.nsk.su \
--cc=gentoo-science@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox