#7439: optional spkg nauty-24b7.p1 fails to build with sage-4.2.1 and ubuntu
9.10
(gcc-4.4.1)
---------------------------------+------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.4
Component: optional packages | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------------+------------------------------------------
Comment(by wjlaffin):
http://dcsmail.anu.edu.au/pipermail/nauty-list/2009-November/000546.html
shows Brendan's reply to Jason as well as possible work-arounds.
Using -ansi did not work reporting same problem if put in CFLAGS and gave
other errors (below) if put in CC definition:
{{{
...
gcc -ansi -o genrang -O4 genrang.c nausparse.o \
gtools.o nautil.o naututil.o naugraph.o rng.o
genrang.c: In function ‘main’:
genrang.c:405: error: storage size of ‘nauty_tz’ isn’t known
make: *** [genrang] Error 1
}}}
however, his other suggestion, did make a compile work:
{{{
sed -i 's/getline/readline/g' gtools-h.in
sed -i 's/getline/readline/g' shortg.c
sed -i 's/getline/readline/g' gtools.c
./configure
make
}}}
I'm not sure how to test that this doesn't brake anything within sage
though.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7439#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.