From: Kacper Kowalik <xarthisius.kk@gmail.com>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] sci-mathematics/reduce on amd64 (fwd)
Date: Wed, 21 Dec 2011 16:30:20 +0100 [thread overview]
Message-ID: <4EF1FB8C.5000503@gmail.com> (raw)
In-Reply-To: <alpine.LRH.1.10.1112212102070.29594@star.inp.nsk.su>
On 21.12.2011 15:03, Andrey G. Grozin wrote:
> 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,
That's a snippet from a build log:
gcc -DHAVE_CONFIG_H -I.
-I/var/tmp/portage/sci-mathematics/reduce-20110414/work/reduce-20110414/csl/cslbase
-Dfontsdir=reduce.fonts -I/usr/include/freetype2
-DBINDIR=/usr/local/bin -DPKGDATADIR=/usr/local/share/reduce
-march=core2 -mtune=generic -O2 -pipe -I/usr/include/freetype2
-fno-strict-aliasing -O2 -Wall -MT arith01.o -MD -MP -MF
.deps/arith01.Tpo -c -o arith01.o
/var/tmp/portage/sci-mathematics/reduce-20110414/work/reduce-20110414/csl/cslbase/arith01.c
I haven't looked at the code but I have strong feeling that precompiler
directives:
fontsdir
BINDIR
PKGDATADIR
may help you ;) It looks that removing 'local' is all you need. Then
place everything which is not a binary and not a lib in usr/share/reduce
> Should it be /usr/lib64/reduce on amd64?
In principle you should always use /usr/$(get_libdir) from mutlilib.eclass.
Cheers,
Kacper
next prev parent reply other threads:[~2011-12-21 15:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-21 14:03 [gentoo-science] sci-mathematics/reduce on amd64 (fwd) Andrey G. Grozin
2011-12-21 15:30 ` Kacper Kowalik [this message]
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=4EF1FB8C.5000503@gmail.com \
--to=xarthisius.kk@gmail.com \
--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