Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-science
Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-science@g.o
From: Kacper Kowalik <xarthisius.kk@...>
Subject: Re: sci-mathematics/reduce on amd64 (fwd)
Date: Wed, 21 Dec 2011 16:30:20 +0100
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


Replies:
Re: sci-mathematics/reduce on amd64
-- Andrey G. Grozin
References:
Re: sci-mathematics/reduce on amd64 (fwd)
-- Andrey G. Grozin
Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: sci-mathematics/reduce on amd64 (fwd)
Next by thread:
Re: sci-mathematics/reduce on amd64
Previous by date:
Re: sci-mathematics/reduce on amd64
Next by date:
Re: sci-mathematics/reduce on amd64


Updated Jul 05, 2012

Summary: Archive of the gentoo-science mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.