#15973: Allow GAP to compile on OS X 10.4
--------------------------------------+------------------------
Reporter: kcrisman | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.2
Component: packages: standard | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------------+------------------------
Description changed by kcrisman:
Old description:
> I don't know whether this affects any other platform...
>
> {{{
> gcc -I. -I../.. -DCONFIG_H
> -I/Users/student/Desktop/sage-6.2.beta4/local/include -Wall -g -O2 -O2
> -g -o sysfiles.o -c ../../src/sysfiles.c
> ../../src/sysfiles.c:3075:15: error: conflicting types for 'sys_errlist'
> In file included from ../../src/sysfiles.h:20:0,
> from ../../src/sysfiles.c:21:
> /usr/include/stdio.h:274:30: note: previous declaration of 'sys_errlist'
> was here
> make[4]: *** [sysfiles.o] Error 1
> make[3]: *** [compile] Error 2
> Error building GAP.
>
> real 11m47.329s
> user 7m23.375s
> sys 2m4.167s
> ************************************************************************
> Error installing package gap-4.7.4
> ************************************************************************
> }}}
> Dima on [https://groups.google.com/forum/#!msg/sage-
> release/6Vh55hF7UXk/cITCg5T83EkJ this sage-release thread] gives the
> correct solution - to add -DHAVE_SYS_ERRLIST to the CFLAGS.
>
> There is another problem with an unknown `-no_pie` flag as well.
New description:
I don't know whether this affects any other platform...
{{{
gcc -I. -I../.. -DCONFIG_H
-I/Users/student/Desktop/sage-6.2.beta4/local/include -Wall -g -O2 -O2 -g
-o sysfiles.o -c ../../src/sysfiles.c
../../src/sysfiles.c:3075:15: error: conflicting types for 'sys_errlist'
In file included from ../../src/sysfiles.h:20:0,
from ../../src/sysfiles.c:21:
/usr/include/stdio.h:274:30: note: previous declaration of 'sys_errlist'
was here
make[4]: *** [sysfiles.o] Error 1
make[3]: *** [compile] Error 2
Error building GAP.
real 11m47.329s
user 7m23.375s
sys 2m4.167s
************************************************************************
Error installing package gap-4.7.4
************************************************************************
}}}
Dima on [https://groups.google.com/forum/#!msg/sage-
release/6Vh55hF7UXk/cITCg5T83EkJ this sage-release thread] gives the
correct solution - to add -DHAVE_SYS_ERRLIST to the CFLAGS.
There is another problem with an unknown `-no_pie` flag as well which is
passed to the linker, which on 10.4 and 10.5 is not supported - see
[http://trac.macports.org/ticket/34064 this Macports bug report].
--
--
Ticket URL: <http://trac.sagemath.org/ticket/15973#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.