2012/5/4 Paulo César Pereira de Andrade <paulo.cesar.pereira.de.andrade@xxxxxxxxx>: [...] >>> Well, for singular, at least for now I think it is better to use exactly the >>> version used by sagemath, as polybori 0.7.1 (sagemath) to 0.8.1 (fedora) >>> appears to be going to require quite some work ... >> >> Okay, we can pursue that path. [...] >> Incidentally, looking at the latest Singular release, I see that it >> can use flint if it is available. We have flint 1.6, which I kept >> deliberately because Sage's flint package is at 1.5.0. However, >> Singular wants flint 2.3! What should we do there? Is there a part >> of sage that really needs the older flint version, or should I upgrade >> it for Singular? > > I really hope flint 2.3 is api compatible with flint 1.5.0, but did not > look at details so far. I made a review request for a Singular package at https://bugzilla.redhat.com/show_bug.cgi?id=819264 With the generated Singular and Singular-devel the sagemath 5.0.rc0 build fails at: gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/malloc/ -I/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.x86_64/usr/share/sagemath/local/include -Ic_lib/include -I/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.x86_64/usr/share/sagemath/devel/sage/sage/ext -I/usr/include/python2.7 -c sage/libs/symmetrica/symmetrica.c -o build/temp.linux-x86_64-2.7/sage/libs/symmetrica/symmetrica.o -w In file included from sage/libs/symmetrica/symmetrica.c:237:0: /usr/include/symmetrica/macro.h:174:1: error: unknown type name 'INT' In file included from sage/libs/symmetrica/symmetrica.c:237:0: /usr/include/symmetrica/macro.h:269:1: error: unknown type name 'INT' In file included from sage/libs/symmetrica/symmetrica.c:237:0: /usr/include/symmetrica/macro.h:557:1: error: unknown type name 'INT' /usr/include/symmetrica/macro.h:560:1: error: unknown type name 'INT' error: command 'gcc' failed with exit status 1 symmetrica as packaged in Fedora should have the sagemath patches added to it. First the above case due to symmetrica/macros.h needing a typedef in symmetrica/def.h. The other patches are to not have the symbols "sort" and "sum" in global namespace, and the other patch is to avoid it printing a banner. The patches can be fetched from the sagemath package, or also from http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/symmetrica/current/SOURCES/ Jerry, a possible issue with the Singular package is that the generated Singular-devel package conflicts with libfac-devel, but only headers, because all code is in libsingular.so, so, I believe it could be changed to install headers in /usr/include/singular, as code compiling with it should be using #include <factory/...> and having -I/usr/include/singular in CPPPATH. Paulo _______________________________________________ scitech mailing list scitech@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/scitech