I'm upgrading sagenb.org to sage 4.8 and I get some errors when trying to install the p_group_cohomology package. If you want this package installed on sagenb.org, please help fix this problem. The error message is below.

Thanks,

Jason


In file included from /sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/include/csage/stdsage.h:36,
                 from pGroupCohomology/modular_cohomology.c:238:
/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/include/csage/memory.h:57: warning: function declaration isn’t a prototype pGroupCohomology/modular_cohomology.c: In function ‘__pyx_pf_16pGroupCohomology_18modular_cohomology_2MODCOHO_unpickle’: pGroupCohomology/modular_cohomology.c:48161: warning: ‘__pyx_v_firstOdd’ may be used uninitialized in this function gcc -pthread -shared build/temp.linux-x86_64-2.6/pGroupCohomology/modular_cohomology.o build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/aufloesung.o build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/aufnahme.o build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/djgerr.o build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/fileplus.o build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/nBuchberger.o build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/pgroup.o build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/pincl.o build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/slice.o build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/urbild.o build/temp.linux-x86_64-2.6/pGroupCohomology/c_sources/uvr.o -L/mnt/usb1/scratch/jdemeyer/merger/sage-4.8/local/lib -lmtx -lpython2.6 -o build/lib.linux-x86_64-2.6/pGroupCohomology/modular_cohomology.so
cythoning pGroupCohomology/cochain.pyx to pGroupCohomology/cochain.c

Error compiling Cython file:
------------------------------------------------------------
...
            elif isinstance(C,MODCOCH):
                P = self.parent()
                if P is not C.parent():
                    return True
                try:
                    br = singular('basering')
                                ^
------------------------------------------------------------

pGroupCohomology/cochain.pyx:1037:33: local variable 'singular' referenced before assignment
building 'pGroupCohomology.cochain' extension
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/include/csage/ -I/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/devel/sage/ -I/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/devel/sage/c_lib -I/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/devel/sage/sage/ext -Imtx2.2.4/src/ -IpGroupCohomology/c_sources -IpGroupCohomology -I/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/include/python2.6 -c pGroupCohomology/cochain.c -o build/temp.linux-x86_64-2.6/pGroupCohomology/cochain.o pGroupCohomology/cochain.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
error: command 'gcc' failed with exit status 1

real    4m15.074s
user    4m7.460s
sys     0m7.450s
************************************************************************
Error installing package p_group_cohomology-2.0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to