Thank you leif. Sorry for taking so long to answer. I did not bring my 
laptop to work - so I could not get the log until now. 
A workaround would be great. Then I can get started. 
Tried to build sage devel at work and got a different error. Should I open 
a thread for that as well? (If it works on my laptop, I am happy enough)

On Thursday, September 1, 2016 at 12:28:23 PM UTC+2, leif wrote:
>
> Dima Pasechnik wrote: 
> > not sure whether it's worth the trouble fighting with outdated Singular 
> > package refusing to work with 
> > gcc 6.1.1. Perhaps it might be easier to use the bleeding edge 
> > https://trac.sagemath.org/ticket/17635 and 
> > https://trac.sagemath.org/ticket/17254 
>
> Well, he was just *starting* developing Sage. 
>
> Of course we want to get rid of Singular 3.x asap, but I'm not saying we 
> should further fix it, and he's currently stuck in an early stage. 
>
> It will IMHO be worth to at least *know* why it failed for him, since 
> I've never seen that test failing, and similar may happen elsewhere, 
> too.  There's possibly some simple fix or work-around such that at least 
> he personally can continue building his first development version... 
>
>
> FWIW, Volker on Fedora had less issues with its GCC 6.1.1 and Singular 
> than I had with vanilla GCC 6.1, but we fixed them before 7.3 was 
> released. 
>
>
> -leif 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Attachment: config.cache
Description: Binary data

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:649: checking uname for singular
configure:685: checking for gcc
configure:798: checking whether the C compiler (gcc -O2 -g  -fPIC 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib ) works
configure:814: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include  
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c  
1>&5
configure:811:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(){return(0);}
 ^~~~
configure:840: checking whether the C compiler (gcc -O2 -g  -fPIC 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib ) is a 
cross-compiler
configure:845: checking whether we are using GNU C
configure:854: gcc -E conftest.c
configure:873: checking whether gcc accepts -g
configure:905: checking how to run the C preprocessor
configure:926: gcc -E -I/home/simon/sage/local/include  conftest.c >/dev/null 
2>conftest.out
configure:1015: checking for a BSD compatible install
configure:1068: checking for AIX
configure:1096: checking for c++
configure:1128: checking whether the C++ compiler (g++ 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  -O2 -g  
-fPIC -fno-delete-null-pointer-checks -fno-strict-overflow 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib ) works
configure:1144: g++ -L/home/simon/sage/local/lib 
-Wl,-rpath,/home/simon/sage/local/lib  -o conftest -O2 -g  -fPIC 
-fno-delete-null-pointer-checks -fno-strict-overflow 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-Wl,-rpath,/home/simon/sage/local/lib  conftest.C  1>&5
configure:1170: checking whether the C++ compiler (g++ 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  -O2 -g  
-fPIC -fno-delete-null-pointer-checks -fno-strict-overflow 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib ) is a 
cross-compiler
configure:1175: checking whether we are using GNU C++
configure:1184: g++ -L/home/simon/sage/local/lib 
-Wl,-rpath,/home/simon/sage/local/lib  -E conftest.C
configure:1203: checking whether g++ -L/home/simon/sage/local/lib 
-Wl,-rpath,/home/simon/sage/local/lib  accepts -g
configure:1240: checking whether compiler accepts -pipe
configure:1254: gcc -c -O2 -g  -fPIC -pipe -I/home/simon/sage/local/include  
conftest.c 1>&5
configure:1281: checking for perl5
configure:1281: checking for perl
configure:1315: checking for uudecode
configure:1315: checking for uudeview
configure:1350: checking for gunzip
configure:1386: checking for gzip
configure:1419: checking for latex2html
configure:1446: checking whether ln -s works
configure:1516: checking whether _AIX is defined
configure:1547: checking for atof in -lm
configure:1566: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lm   1>&5
configure:1594: checking for socket in -lbsd
configure:1613: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lbsd  -lm  1>&5
/usr/bin/ld: cannot find -lbsd
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 1602 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char socket();

int main() {
socket()
; return 0; }
configure:1641: checking for listen in -lsocket
configure:1660: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lsocket  -lm  1>&5
/usr/bin/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 1649 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char listen();

int main() {
listen()
; return 0; }
configure:1688: checking for gethostbyname in -lnsl
configure:1707: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lnsl  -lm  1>&5
configure:1735: checking for main in -lgmp
configure:1750: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lgmp  -lnsl -lm  1>&5
configure:1778: checking for IMP_PutGmpInt in -lMP
configure:1797: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lMP  -lgmp -lnsl -lm  1>&5
/usr/bin/ld: cannot find -lMP
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 1786 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char IMP_PutGmpInt();

int main() {
IMP_PutGmpInt()
; return 0; }
configure:1825: checking for MPT_GetTree in -lMPT
configure:1844: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lMPT  -lgmp -lnsl -lm  1>&5
/usr/bin/ld: cannot find -lMPT
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 1833 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char MPT_GetTree();

int main() {
MPT_GetTree()
; return 0; }
configure:1872: checking for atof in -lsingcf
configure:1891: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lsingcf  -lgmp -lnsl -lm  1>&5
/usr/bin/ld: cannot find -lsingcf
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 1880 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char atof();

int main() {
atof()
; return 0; }
configure:1919: checking for atof in -lsingfac
configure:1938: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lsingfac  -lgmp -lnsl -lm  1>&5
/usr/bin/ld: cannot find -lsingfac
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 1927 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char atof();

int main() {
atof()
; return 0; }
configure:1966: checking for omTestAddr in -lomalloc
configure:1985: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lomalloc  -lgmp -lnsl -lm  1>&5
configure:2013: checking for main in -lomalloc_ndebug
configure:2028: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lomalloc_ndebug  -lomalloc -lgmp -lnsl -lm  1>&5
/usr/bin/ld: cannot find -lomalloc_ndebug
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 2021 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:2060: checking for gmp.h
configure:2070: gcc -E -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  conftest.c >/dev/null 2>conftest.out
configure:2060: checking for MP.h
configure:2070: gcc -E -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  conftest.c >/dev/null 2>conftest.out
configure:2066:16: fatal error: MP.h: No such file or directory
 #include <$ac_hdr>
                ^
compilation terminated.
configure: failed program was:
#line 2065 "configure"
#include "confdefs.h"
#include <MP.h>
configure:2060: checking for MPT.h
configure:2070: gcc -E -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  conftest.c >/dev/null 2>conftest.out
configure:2066:17: fatal error: MPT.h: No such file or directory
 #include <$ac_hdr>
                 ^
compilation terminated.
configure: failed program was:
#line 2065 "configure"
#include "confdefs.h"
#include <MPT.h>
configure:2060: checking for factory.h
configure:2070: gcc -E -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  conftest.c >/dev/null 2>conftest.out
configure:2066:21: fatal error: factory.h: No such file or directory
 #include <$ac_hdr>
                     ^
compilation terminated.
configure: failed program was:
#line 2065 "configure"
#include "confdefs.h"
#include <factory.h>
configure:2060: checking for factor.h
configure:2070: gcc -E -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  conftest.c >/dev/null 2>conftest.out
configure:2066:20: fatal error: factor.h: No such file or directory
 #include <$ac_hdr>
                    ^
compilation terminated.
configure: failed program was:
#line 2065 "configure"
#include "confdefs.h"
#include <factor.h>
configure:2060: checking for omalloc.h
configure:2070: gcc -E -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  conftest.c >/dev/null 2>conftest.out
configure:2066:21: fatal error: omalloc.h: No such file or directory
 #include <$ac_hdr>
                     ^
compilation terminated.
configure: failed program was:
#line 2065 "configure"
#include "confdefs.h"
#include <omalloc.h>
configure:2252: checking which tmp dir to use
configure:2267: checking whether to configure and build omalloc
configure:2313: checking size of long
configure:2332: gcc -o conftest -O2 -g  -fPIC -I/home/simon/sage/local/include 
-I/home/simon/sage/local/include  -L/home/simon/sage/local/lib 
-L/home/simon/sage/local/lib -Wl,-rpath,/home/simon/sage/local/lib  conftest.c 
-lomalloc -lgmp -lnsl -lm  1>&5
configure:2323:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main()
 ^~~~
configure: In function 'main':
configure:2326:11: warning: implicit declaration of function 'exit' 
[-Wimplicit-function-declaration]
   if (!f) exit(1);
           ^~~~
configure:2326:11: warning: incompatible implicit declaration of built-in 
function 'exit'
configure:2326:11: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:2328:3: warning: incompatible implicit declaration of built-in 
function 'exit'
   exit(0);
   ^~~~
configure:2328:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure: failed program was:
#line 2321 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(long));
  exit(0);
}
configure:2356: checking whether to configure and build MP lib
configure:2393: checking whether to configure and build NTL lib
configure:2511: checking whether to configure and build factory lib
configure:2538: checking whether to configure and build libfac lib
configure:2570: checking whether to configure and build gfan lib
configure:2590: checking whether to configure and build polymake interface
configure:2604: checking whether to configure and build sgroup lib
configure:2625: checking whether to configure and build Singular
configure:2656: checking whether to build IntegerProgramming
configure:2669: checking whether to build Plural
configure:2681: checking whether to configure and build Texinfo
configure:2703: checking for makeinfo
configure:2733: checking for texindex
configure:2763: checking for texi2pdf
configure:2793: checking whether to configure and build Texi2html
configure:2808: checking for texi2html
configure:2849: checking whether to build doc
configure:2863: checking whether to build emacs
configure:2875: checking which apint package to use
configure:2891: checking whether to use with MP
configure:2911: checking whether to use with factory
configure:2930: checking whether to use with libfac
configure:2951: checking whether to use with Singular
configure:3017: checking whether to use libsvd
configure:3027: checking whether make -j1 sets ${MAKE}

Reply via email to