On Monday, March 17, 2014 3:35:17 PM UTC+1, kcrisman wrote:
>
> On OS X 10.4 PPC, I get the following error.  Incidentally, I'm used to 
> GAP compiling toward the very end of the process on this machine, so I was 
> surprised it showed up relatively early.  I'd be grateful for any hints; 
> looks like includes in the wrong order or something, but I may be 
> interpreting it wrong.
>
> Also, a few questions.
>
> 1) We used to be able to just "fake" an installation by touching a certain 
> file.  I assume that touching the log file in logs/pkgs would not suffice 
> here, though?
> 2) That list of files used to be a handy way to check which spkgs had 
> already built.  Is logs/pkgs the canonical place to do so now?
>
Look in $SAGE_SPKG_INST which usually points to local/var/lib/sage/installed
 

> 3) If we want to "skip ahead" to a certain package (in my case, Singular), 
> is there a way to say something like sage -b package but where it will make 
> all the prereqs for it first?  I don't recall in the past, but maybe with 
> the new build system that is possible.
>
You should be able do something with make and the makefile produced in 
build/.

>
> Thanks!
>
> 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
> ************************************************************************
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the relevant part of the log file
>   /Users/student/Desktop/sage-6.2.beta4/logs/pkgs/gap-4.7.4.log
> Describe your computer, operating system, etc.
> If you want to try to fix the problem yourself, *don't* just cd to
> /Users/student/Desktop/sage-6.2.beta4/local/var/tmp/sage/build/gap-4.7.4 
> and type 'make' or whatever is appropriate.
> Instead, the following commands setup all environment variables
> correctly and load a subshell for you to debug the error:
>   (cd 
> '/Users/student/Desktop/sage-6.2.beta4/local/var/tmp/sage/build/gap-4.7.4' 
> && '/Users/student/Desktop/sage-6.2.beta4/sage' --sh)
> When you are done debugging, you can type "exit" to leave the subshell.
> ************************************************************************
> make[2]: *** 
> [/Users/student/Desktop/sage-6.2.beta4/local/var/lib/sage/installed/gap-4.7.4]
>  
> Error 1
> make[1]: *** [all] Error 2
>
> real    12m14.890s
> user    7m38.978s
> sys     2m10.171s
> ***************************************************************
> Error building Sage.
>
> The following package(s) may have failed to build:
>
> package: gap-4.7.4
> log file: /Users/student/Desktop/sage-6.2.beta4/logs/pkgs/gap-4.7.4.log
> build directory: 
> /Users/student/Desktop/sage-6.2.beta4/local/var/tmp/sage/build/gap-4.7.4
>
> The build directory may contain configuration files and other potentially
> helpful information. WARNING: if you now run 'make' again, the build
> directory will, by default, be deleted. Set the environment variable
> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" 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-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to