Ticket #6579 (closed defect: fixed)
[with spkg; positive review] Error building 'modified sage library code' when including paripriv.h
|Reported by:||drkirkby||Owned by:||drkirkby|
|Report Upstream:||Reviewers:||Mike Hansen|
|Authors:||David Kirkby||Merged in:||sage-4.2.alpha1|
Although the build of pari goes ok on Solaris, there is an error when building the modified sage library code. It complains about syntax errors - see below.
Time to execute 1 commands: 2.75036501884 seconds Finished compiling Cython code (time = 4.44064807892 seconds) running install running build running build_py copying sage/symbolic/constants.py -> build/lib.solaris-2.10-sun4u-2.6/sage/symbolic running build_ext building 'sage.ext.fast_callable' extension creating build/temp.solaris-2.10-sun4u-2.6/sage/ext gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/export/home/drkirkby/sage/sage-4.1.rc0/local//include -I/export/home/drkirkby/sage/sage-4.1.rc0/local//include/csage -I/export/home/drkirkby/sage/sage-4.1.rc0/devel//sage/sage/ext -I/export/home/drkirkby/sage/sage-4.1.rc0/local/include/python2.6 -c sage/ext/fast_callable.c -o build/temp.solaris-2.10-sun4u-2.6/sage/ext/fast_callable.o -w In file included from sage/ext/fast_callable.c:141: /export/home/drkirkby/sage/sage-4.1.rc0/local//include/pari/paripriv.h:258: error: expected ';', ',' or ')' before numeric constant /export/home/drkirkby/sage/sage-4.1.rc0/local//include/pari/paripriv.h:259: error: expected ';', ',' or ')' before numeric constant In file included from sage/ext/fast_callable.c:141: /export/home/drkirkby/sage/sage-4.1.rc0/local//include/pari/paripriv.h:428: error: expected identifier before numeric constant error: command 'gcc' failed with exit status 1 sage: There was an error installing modified sage library code.
I have developed a patch, and will apply it later, including this tick number.
- Keywords hack removed
- Priority changed from major to blocker
- Status changed from new to needs_review
- Summary changed from Error building 'modified sage library code' when including paripriv.h to [with spkg; needs review] Error building 'modified sage library code' when including paripriv.h
- Status changed from needs_review to positive_review
- Reviewers set to Mike Hansen
- Summary changed from [with spkg; needs review] Error building 'modified sage library code' when including paripriv.h to [with spkg; positive review] Error building 'modified sage library code' when including paripriv.h
- Authors set to David Kirkby