2012/5/8 Jerry James <loganjerry(a)gmail.com>:
On Mon, May 7, 2012 at 10:48 PM, Paulo César Pereira de Andrade
<paulo.cesar.pereira.de.andrade(a)gmail.com> wrote:
> Ok. Thanks for addressing the flint problem. I did not add RFE:
> to the symmetrica bug report, but can do that. I think it would be
> also reasonably to rename more functions, because they use names
> too much generic, e.g. add, sub, mult, div, sum, sort, etc.
I have rebuilt symmetrica. I addressed one other problem. I saw lots
of complaints in the initial build log about printf format specifiers
being the wrong width. A little investigation found multiple comments
in the sources about the INT type being 4 bytes. But it was 4 bytes
on some architectures and 8 bytes on others. I fixed the headers to
ensure that INT is always 4 bytes, which led to a different set of
printf format specifier problems. Sigh. I finally got the thing
patched so that all of the code agrees that INT is 4 bytes.
There is still a problem:
Exception occurred:
File
"/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/libs/symmetrica/all.py",
line 3, in <module>
from symmetrica import start, end
ImportError: /usr/lib64/libsymmetrica.so.0: undefined symbol: local_ende
It probably would be better to set DFLAGS in symmetrica,spec to
-DALLTRUE -DFAST like the original makefile does, otherwise, it
is required to remove -DLOCALTRUE
$ grep local_ende BUILD/symmetrica-2.0/*.c
BUILD/symmetrica-2.0/de.c: local_ende(); /* AK 280705 */
$ grep local_anfang BUILD/symmetrica-2.0/*.c
BUILD/symmetrica-2.0/de.c: local_anfang(); /* AK 280705 */
I asked and was granted commit access in the symmetrica
bugzilla, but I think it is better for you to correct it as you already
did a lot of extra work on it :-)
> Thanks! I will wait a bit more, as for now I can build from
sources
> whatever I need, but should shortly attempt to switch to rawhide,
> as I am used to run bleeding edge :-)
Good luck. :-)
Thanks :-)
Paulo