Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-06-05 Thread Christian Stump
> Additional thoughts how to tackle these?

Okay, I got this working too now -- thanks again, it works and I can try to 
get further with the research problem we look at!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/e14d4c2a-a647-4f32-b94e-e95adf26f392%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-06-05 Thread Christian Stump
Here is the latest updates:

1. After setting

# Location of system crti.o, in case we build our own gcc
export 
SAGE_CRTI_DIR="/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64"

in src/bin/sage-env-config.in by hand, the compilation of 8.8.beta7 with 
#27907 merged now works. Many thanks to Matthias for fixing this (beside 
the very last tweak)!

The assembler errors I reported at 
https://groups.google.com/d/msg/sage-devel/ze5SzgXZAgk/_cc8UVbhAQAJ are 
still there, though. Additional thoughts how to tackle these?

Thanks
Christian

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/eb70104f-52be-4b12-809a-aaa93901c02f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-06-04 Thread Christian Stump
Following the setting of SAGE_CRTI_DIR in 
"build/pkgs/gcc/spkg-configure.m4" seems to work:

(sage-sh) stumpcl2@dlp762:sage$ echo $CC
gcc
(sage-sh) stumpcl2@dlp762:sage$ echo $CRTI

(sage-sh) stumpcl2@dlp762:sage$ CRTI=`$CC -print-file-name=crti.o 
2>/dev/null || true`
(sage-sh) stumpcl2@dlp762:sage$ echo $CRTI
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o
(sage-sh) stumpcl2@dlp762:sage$ SAGE_CRTI_DIR=$(dirname -- "$CRTI")
(sage-sh) stumpcl2@dlp762:sage$ echo $SAGE_CRTI_DIR
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/53116387-0bac-4f54-8c3e-3c41987172f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-06-04 Thread Christian Stump
No, it hasn't. I just did "make distclean" and then "./configure" which 
recreated src/bin/sage-env-config, but it says

export SAGE_CRTI_DIR="@SAGE_CRTI_DIR@"

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/6dc43174-31f2-4ffd-b73c-bb5ac9eb5e9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-06-04 Thread Matthias Koeppe
The bad symlink there was probably generated when you didn't regenerate 
"configure".
Could you check that this time  SAGE_CRTI_DIR has been correctly 
substituted in src/bin/sage-env-config (and local/bin/sage-env-config)?

On Tuesday, June 4, 2019 at 9:44:21 PM UTC-7, Matthias Koeppe wrote:
>
> Something went really wrong there with the symbolic linking script that I 
> added in 
> https://git.sagemath.org/sage.git/commit/?id=73be6cf53f30b53e5a8a3dedf8f30c2c9960475a
>
>
> On Tuesday, June 4, 2019 at 11:30:22 AM UTC-7, Christian Stump wrote:
>>
>> [stumpcl2@dlp762 ~]$ cd progs/sage/
>> [stumpcl2@dlp762 sage]$ ls -l local/lib/gcc/*/7.2.0/*crt*
>> -rw-r--r-- 1 stumpcl2 15301 2896  4. Jun 16:22 
>> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbegin.o
>> -rw-r--r-- 1 stumpcl2 15301 3224  4. Jun 16:22 
>> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o
>> -rw-r--r-- 1 stumpcl2 15301 3392  4. Jun 16:22 
>> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginT.o
>> -rw-r--r-- 1 stumpcl2 15301 1904  4. Jun 16:22 
>> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtend.o
>> -rw-r--r-- 1 stumpcl2 15301 1904  4. Jun 16:22 
>> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o
>> -rw-r--r-- 1 stumpcl2 15301 3752  4. Jun 16:22 
>> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtfastmath.o
>> lrwxrwxrwx 1 stumpcl2 15301   23  4. Jun 16:22 
>> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/*crt?.o -> @SAGE_CRTI_DIR@/*crt?.o
>> -rw-r--r-- 1 stumpcl2 15301 3368  4. Jun 16:22 
>> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtprec32.o
>> -rw-r--r-- 1 stumpcl2 15301 3376  4. Jun 16:22 
>> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtprec64.o
>> -rw-r--r-- 1 stumpcl2 15301 3368  4. Jun 16:22 
>> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtprec80.o
>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/c409773f-58f6-4281-9d40-b467b463e4b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-06-04 Thread Matthias Koeppe
Something went really wrong there with the symbolic linking script that I 
added in 
https://git.sagemath.org/sage.git/commit/?id=73be6cf53f30b53e5a8a3dedf8f30c2c9960475a


On Tuesday, June 4, 2019 at 11:30:22 AM UTC-7, Christian Stump wrote:
>
> [stumpcl2@dlp762 ~]$ cd progs/sage/
> [stumpcl2@dlp762 sage]$ ls -l local/lib/gcc/*/7.2.0/*crt*
> -rw-r--r-- 1 stumpcl2 15301 2896  4. Jun 16:22 
> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbegin.o
> -rw-r--r-- 1 stumpcl2 15301 3224  4. Jun 16:22 
> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o
> -rw-r--r-- 1 stumpcl2 15301 3392  4. Jun 16:22 
> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginT.o
> -rw-r--r-- 1 stumpcl2 15301 1904  4. Jun 16:22 
> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtend.o
> -rw-r--r-- 1 stumpcl2 15301 1904  4. Jun 16:22 
> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o
> -rw-r--r-- 1 stumpcl2 15301 3752  4. Jun 16:22 
> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtfastmath.o
> lrwxrwxrwx 1 stumpcl2 15301   23  4. Jun 16:22 
> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/*crt?.o -> @SAGE_CRTI_DIR@/*crt?.o
> -rw-r--r-- 1 stumpcl2 15301 3368  4. Jun 16:22 
> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtprec32.o
> -rw-r--r-- 1 stumpcl2 15301 3376  4. Jun 16:22 
> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtprec64.o
> -rw-r--r-- 1 stumpcl2 15301 3368  4. Jun 16:22 
> local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtprec80.o
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/0e81991f-302a-431d-bf99-fc303b6c62ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-06-04 Thread Christian Stump
[stumpcl2@dlp762 ~]$ cd progs/sage/
[stumpcl2@dlp762 sage]$ ls -l local/lib/gcc/*/7.2.0/*crt*
-rw-r--r-- 1 stumpcl2 15301 2896  4. Jun 16:22 
local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbegin.o
-rw-r--r-- 1 stumpcl2 15301 3224  4. Jun 16:22 
local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginS.o
-rw-r--r-- 1 stumpcl2 15301 3392  4. Jun 16:22 
local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginT.o
-rw-r--r-- 1 stumpcl2 15301 1904  4. Jun 16:22 
local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtend.o
-rw-r--r-- 1 stumpcl2 15301 1904  4. Jun 16:22 
local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtendS.o
-rw-r--r-- 1 stumpcl2 15301 3752  4. Jun 16:22 
local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtfastmath.o
lrwxrwxrwx 1 stumpcl2 15301   23  4. Jun 16:22 
local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/*crt?.o -> @SAGE_CRTI_DIR@/*crt?.o
-rw-r--r-- 1 stumpcl2 15301 3368  4. Jun 16:22 
local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtprec32.o
-rw-r--r-- 1 stumpcl2 15301 3376  4. Jun 16:22 
local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtprec64.o
-rw-r--r-- 1 stumpcl2 15301 3368  4. Jun 16:22 
local/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtprec80.o

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/897a4b0a-3900-4490-a555-0ce45dcdd793%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-06-04 Thread Matthias Koeppe
What does  

ls -l local/lib/gcc/*/7.2.0/*crt*

say

On Tuesday, June 4, 2019 at 11:12:01 AM UTC-7, Christian Stump wrote:
>
> here comes
>
>
> /tmp/stumpcl2/sage/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/config.log
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/892d1fbb-0823-4cbc-94e8-00c1e821cf31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-06-04 Thread Christian Stump
here comes

/tmp/stumpcl2/sage/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/config.log

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/8fa60383-0f42-4db8-af52-54d2a47135c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by MPIR configure 3.0.0, which was
generated by GNU Autoconf 2.69.5-b29e-dirty.  Invocation command line was

  $ ./configure --enable-cxx --enable-static --enable-gmpcompat --enable-shared

## - ##
## Platform. ##
## - ##

hostname = dlp762
uname -m = x86_64
uname -r = 2.6.32-754.10.1.el6.x86_64
uname -s = Linux
uname -v = #1 SMP Thu Nov 29 15:44:01 EST 2018

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = x86_64
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /tmp/stumpcl2/sage/build/bin
PATH: /tmp/stumpcl2/sage/src/bin
PATH: /tmp/stumpcl2/sage/local/bin
PATH: /tmp/stumpcl2/sage/build/bin
PATH: /tmp/stumpcl2/sage/src/bin
PATH: /tmp/stumpcl2/sage/local/bin
PATH: /usr/lib64/qt-3.3/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /net/hp874/disc2/home/stumpcl2/bin


## --- ##
## Core tests. ##
## --- ##

configure:3013: checking build system type
configure:3027: result: x86_64-unknown-linux-gnu
configure:3047: checking host system type
configure:3060: result: x86_64-unknown-linux-gnu
configure:3097: checking for a BSD-compatible install
configure:3165: result: /usr/bin/install -c
configure:3176: checking whether build environment is sane
configure:3231: result: yes
configure:3382: checking for a thread-safe mkdir -p
configure:3421: result: /bin/mkdir -p
configure:3428: checking for gawk
configure:3444: found /bin/gawk
configure:3455: result: gawk
configure:3466: checking whether make sets $(MAKE)
configure:3488: result: yes
configure:3517: checking whether make supports nested variables
configure:3534: result: yes
configure:3663: checking whether to enable maintainer-specific portions of 
Makefiles
configure:3672: result: no
User:
ABI=
CC=gcc
CFLAGS=(unset)
CPPFLAGS=(unset)
MPN_PATH=
GMP:
abilist=64 32
cclist=gcc icc cc
configure:5160: gcc 2>&1 | grep xlc >/dev/null
configure:5163: $? = 1
configure:5217: checking compiler gcc -m64 
Test compile: 
configure:5231: gcc -m64  conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: error: ld returned 1 exit status
configure:5234: $? = 1
failed program was:

int main () { return 0; }
configure:6212: result: no
configure:5160: gcc 2>&1 | grep xlc >/dev/null
configure:5163: $? = 1
configure:5217: checking compiler gcc -m32 -O2 -fomit-frame-pointer 
Test compile: 
configure:5231: gcc -m32 -O2 -fomit-frame-pointer  conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: error: ld returned 1 exit status
configure:5234: $? = 1
failed program was:

int main () { return 0; }
configure:6212: result: no
configure:5217: checking compiler gcc -O2 -fomit-frame-pointer 
Test compile: 
configure:5231: gcc -O2 -fomit-frame-pointer  conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: error: ld returned 1 exit status
configure:5234: $? = 1
failed program was:

int main () { return 0; }
configure:6212: result: no
configure:6372: error: could not find a working compiler, see config.log for 
details

##  ##
## Cache variables. ##
##  ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_ABI_set=
ac_cv_env_ABI_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_BUILD_set=
ac_cv_env_CC_FOR_BUILD_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_FOR_BUILD_set=
ac_cv_env_CPP_FOR_BUILD_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=g++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/tmp/stumpcl2/sage/local/lib 
-Wl,-rpath,/tmp/stumpcl2/sage/local/lib '
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_M4_set=
ac_cv_env_M4_value=

Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-06-04 Thread Matthias Koeppe

On Tuesday, June 4, 2019 at 7:32:01 AM UTC-7, Christian Stump wrote:
>
> I finally got
>
> [gcc-7.2.0] Successfully installed gcc-7.2.0
>
> using Matthias' solution. Unfortunately, then the next build of mpir-3.0.0 
> fails with "no compiler found" (with and without the --with-mp=mpir flag 
> set), see the two attached logs.
>

Could you post the config.log from the mpir build directory 
(/tmp/stumpcl2/sage/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/config.log)


 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/bba95c45-9a2b-4190-99e7-2a4a2a0652fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-06-03 Thread Christian Stump
It appears that it is not an issue of this particular old system as 
Matthias pointed out. I would appreciate further help at 
https://trac.sagemath.org/ticket/27907 to figure out how to provide the 
correct version of

[gcc-7.2.0] /usr/lib/../lib/crti.o: could not read symbols: File in 
wrong format

during the build of gcc-7.2.0 ?

Many thanks, Christian

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/176d7ad7-93f8-4a78-8846-8f3448720428%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-05-31 Thread Matthias Koeppe
I've encountered similar, but different, problems on a different Linux 
system. Opened https://trac.sagemath.org/ticket/27907 for this. 

On Tuesday, May 28, 2019 at 10:15:08 AM UTC-7, Dima Pasechnik wrote:
>
> On Tue, May 28, 2019 at 6:43 PM Christian Stump 
> > wrote: 
> > 
> > > well, building gcc 7 with a 7-years old complier (gcc version 4.4.7 
> > > 20120313 (Red Hat 4.4.7-23), as the log says) 
> > > probably not possible. 
> > > Do they have something newer installed? 
> > 
> > They did install for me both gcc-7.2.0 (didn't work) and gcc-7.3.0 
> (didn't work either). 
> > 
> > Let me emphasize again that their setup (with the old gcc 4.x.x) let me 
> compile a fresh sage-8.6 without any trouble, only when trying sage-8.7, 
> the error occurs. Doesn't that suggest that the issue is not the old 
> compiler? 
> > 
> the final error in your gcc build log : 
>
> /lib/crti.o: could not read symbols: File in wrong format 
>
> suggests that something is messed up w.r.t. 32- vs 64-bit support. 
> It probably should have used /lib64/crti.o 
>
> So something is dodgy with the environment on your machine (gfan error 
> you posted looks of the same sort). 
> Probably it is assumed you must have something nontrivial in LDFLAGS or 
> so. 
> (or maybe you do have something in LDFLAGS or other similar variable 
> that should not be there) 
> E.g. gfan did not link to the right libraries for no apparent reason 
> whatsoever. 
>
> Since 8.6 there were several chnages in how Sage is built, e.g. in the 
> minimum C++ standard requied (gnu++11 now), some changes in how there 
> 32- vs 64-bit issues are handled, etc., this might explian why 8.6 
> still works. 
>
>
> > -- 
> > 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-...@googlegroups.com . 
> > To post to this group, send email to sage-...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/d41ea0d0-d463-4d93-8895-7a4a17802716%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/0fdc02f3-be20-48a8-a148-b88908a935fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-05-29 Thread Dima Pasechnik
assembly errors - means either broken toolchain (old `as` picked up ?), or
a failure to detect the correct architecture...

I guess sysadmins of this system see such errors every day, given how messy
that setup is.

On Wed, 29 May 2019 08:08 Christian Stump, 
wrote:

> Okay, thank you for checking -- I think that machine needs some upgrades!
>
> In case anyone else runs into this issue, here is a partial fix: I first
> compiled 8.6 from scratch and then upgraded to 8.8.beta6 and this worked.
>
> Unfortunately, my own code on top of 8.8.beta6 again does not build with
> the attached output.
>
> (Btw: the reason for me to be depending on that machine is that it has 100
> threads and 1tb memory.)
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/5eca430f-f52c-4901-83e4-e207bf06fd3c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1QRMkZ3aj233HEQx8CJKLx61sRY9L7UA%3DOb_qATmLh3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-05-29 Thread Christian Stump
Okay, thank you for checking -- I think that machine needs some upgrades!

In case anyone else runs into this issue, here is a partial fix: I first 
compiled 8.6 from scratch and then upgraded to 8.8.beta6 and this worked.

Unfortunately, my own code on top of 8.8.beta6 again does not build with 
the attached output.

(Btw: the reason for me to be depending on that machine is that it has 100 
threads and 1tb memory.)

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/5eca430f-f52c-4901-83e4-e207bf06fd3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
make build/make/Makefile --stop
make[1]: Entering directory `/tmp/stumpcl2/sage'
make[1]: `build/make/Makefile' is up to date.
make[1]: Leaving directory `/tmp/stumpcl2/sage'
build/bin/sage-logger \
"cd build/make && ./install 'base-toolchain'" logs/install.log
make[1]: Entering directory `/tmp/stumpcl2/sage/build/make'
make[1]: Leaving directory `/tmp/stumpcl2/sage/build/make'
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
_=/bin/env
CONFIGURED_CC=gcc
CONFIGURED_CXX=g++
CONFIGURED_FC=gfortran
CONFIGURED_OBJC=gcc
CONFIGURED_OBJCXX=g++
CVS_RSH=ssh
G_BROKEN_FILENAMES=1
HISTCONTROL=ignoredups
HISTSIZE=1000
HOME=/net/hp874/disc2/home/stumpcl2
HOSTNAME=dlp762
LANG=en_US.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LESSOPEN=||/usr/bin/lesspipe.sh %s
LOGNAME=stumpcl2
LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lz=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.bz=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.rar=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:
MAIL=/var/spool/mail/stumpcl2
MAKEFLAGS= V=1
MAKELEVEL=1
MAKE=make
MATHEMATICA_HOME=/net/dlp762/share/application-software/Mathematica/10.2
MFLAGS=
PATH=/tmp/stumpcl2/sage/build/bin:/tmp/stumpcl2/sage/src/bin:/tmp/stumpcl2/sage/local/bin:/usr/local/Git/bin:/tmp/stumpcl2/sage/git-trac-command/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/net/hp874/disc2/home/stumpcl2/bin
PWD=/net/hp874/disc2/home/stumpcl2/progs/sage/build/make
PYTHONPATH=/tmp/stumpcl2/sage/local
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
QTLIB=/usr/lib64/qt-3.3/lib
SAGE_CONFIGURE_GMP=--with-gmp=/tmp/stumpcl2/sage/local
SAGE_EXTCODE=/tmp/stumpcl2/sage/local/share/sage/ext
SAGE_GMP_INCLUDE=/tmp/stumpcl2/sage/local/include
SAGE_GMP_PREFIX=/tmp/stumpcl2/sage/local
SAGE_LOCAL=/tmp/stumpcl2/sage/local
SAGE_LOGS=/tmp/stumpcl2/sage/logs/pkgs
SAGE_ORIG_PATH_SET=True
SAGE_ORIG_PATH=/usr/local/Git/bin:/tmp/stumpcl2/sage/git-trac-command/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/net/hp874/disc2/home/stumpcl2/bin
SAGE_PYTHON_VERSION=2
SAGE_ROOT=/tmp/stumpcl2/sage
SAGE_SHARE=/tmp/stumpcl2/sage/local/share
SAGE_SPKG_INST=/tmp/stumpcl2/sage/local/var/lib/sage/installed
SAGE_SRC=/tmp/stumpcl2/sage/src
SAGE_VERSION=8.8.beta6
SHELL=/bin/bash
SHLVL=4
SSH_CLIENT=10.55.104.15 57088 22
SSH_CONNECTION=10.55.104.15 57088 134.147.201.130 22
SSH_TTY=/dev/pts/6
TERM=xterm-256color
t=/tmp/stumpcl2
USER=stumpcl2

Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-05-28 Thread Dima Pasechnik
On Tue, May 28, 2019 at 6:43 PM Christian Stump
 wrote:
>
> > well, building gcc 7 with a 7-years old complier (gcc version 4.4.7
> > 20120313 (Red Hat 4.4.7-23), as the log says)
> > probably not possible.
> > Do they have something newer installed?
>
> They did install for me both gcc-7.2.0 (didn't work) and gcc-7.3.0 (didn't 
> work either).
>
> Let me emphasize again that their setup (with the old gcc 4.x.x) let me 
> compile a fresh sage-8.6 without any trouble, only when trying sage-8.7, the 
> error occurs. Doesn't that suggest that the issue is not the old compiler?
>
the final error in your gcc build log :

/lib/crti.o: could not read symbols: File in wrong format

suggests that something is messed up w.r.t. 32- vs 64-bit support.
It probably should have used /lib64/crti.o

So something is dodgy with the environment on your machine (gfan error
you posted looks of the same sort).
Probably it is assumed you must have something nontrivial in LDFLAGS or so.
(or maybe you do have something in LDFLAGS or other similar variable
that should not be there)
E.g. gfan did not link to the right libraries for no apparent reason whatsoever.

Since 8.6 there were several chnages in how Sage is built, e.g. in the
minimum C++ standard requied (gnu++11 now), some changes in how there
32- vs 64-bit issues are handled, etc., this might explian why 8.6
still works.


> --
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/d41ea0d0-d463-4d93-8895-7a4a17802716%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq0h-maS-dcJe6Fme-rGhOtAWT_FF-dDBRNMMo70hZPkzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-05-28 Thread Christian Stump
> well, building gcc 7 with a 7-years old complier (gcc version 4.4.7 
> 20120313 (Red Hat 4.4.7-23), as the log says)
> probably not possible. 
> Do they have something newer installed? 

They did install for me both gcc-7.2.0 (didn't work) and gcc-7.3.0 (didn't 
work either).

Let me emphasize again that their setup (with the old gcc 4.x.x) let me 
compile a fresh sage-8.6 without any trouble, only when trying sage-8.7, 
the error occurs. Doesn't that suggest that the issue is not the old 
compiler?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/d41ea0d0-d463-4d93-8895-7a4a17802716%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-05-28 Thread Dima Pasechnik
well, building gcc 7 with a 7-years old complier (gcc version 4.4.7
20120313 (Red Hat 4.4.7-23), as the log says)
probably not possible.
Do they have something newer installed?

On Tue, May 28, 2019 at 4:17 PM Christian Stump
 wrote:
>
> > ./configure --with-mp=mpir
> > make
>
> This did not work -- but if I do not provide any gcc, sage compiles its own 
> and this works for gcc-7.2.0 on sage-8.6 while it does not work for the same 
> gcc-7.2.0 on sage-8.7. You find the log for the failing gcc-7.2.0 attached.
>
> --
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/5f9d35b2-f5d3-4a66-ab67-bbd40f1ce30b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2jGX9YZtjuFd9%2BbOQtwJ%2ByqMcNSTuAA_KbtvcKty%3DLGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-05-28 Thread Christian Stump
> ./configure --with-mp=mpir
> make

This did not work -- but if I do not provide any gcc, sage compiles its own 
and this works for gcc-7.2.0 on sage-8.6 while it does not work for the 
same gcc-7.2.0 on sage-8.7. You find the log for the failing gcc-7.2.0 
attached.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/5f9d35b2-f5d3-4a66-ab67-bbd40f1ce30b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


gcc-7.2.0.log.gz
Description: Binary data


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-05-28 Thread Dima Pasechnik
On Tue, May 28, 2019 at 1:50 PM Christian Stump
 wrote:
>
> Thanks Dima! -- here is the requested information:
>
> It's a fresh install, config.log is attached. In just this moment, the system 
> admin told me that he was able to compile sage-8.6 using the standard gcc 
> compiler by RHEL6 (this is copy-and-paste, I don't know what that means), 
> while the error remains compiling sage-8.7.
>
> $ find /usr/ -name libgmpxx.so*
> find: `/usr/lib64/audit': Permission denied
> /usr/lib64/libgmpxx.so
> /usr/lib64/libgmpxx.so.4
> /usr/lib64/libgmpxx.so.4.1.0
>
> $  find /usr/ -name libgmp.so*
> find: `/usr/lib64/audit': Permission denied
> /usr/lib64/libgmp.so
> /usr/lib64/libgmp.so.3.5.0
> /usr/lib64/libgmp.so.3
> /usr/lib64/openssl/engines/libgmp.so
>
your gmp looks old (or perhaps unmatched versions of gmp and gmpxx).
Can you ask for a recent GMP/GMPXX version (6.1, say) to be installed?

or indeed use Sage's mpir or gmp, by running

./configure --with-mp=mpir
make

(see the output of ./configure -h for more details)

The gfan problem looks unrelated to gmp, it's more about something
weird in LD_LIBRARY_PATH or something like this.




> --
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/f3b98cae-0bf9-44ea-8a23-b8049e18986c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq0PXP1iYW_WaJBVA6FbgV-HyvWZvxXwhwQdEpODfFhuyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-05-28 Thread Christian Stump
Thanks Dima! -- here is the requested information:

It's a fresh install, config.log is attached. In just this moment, the 
system admin told me that he was able to compile sage-8.6 using the 
standard gcc compiler by RHEL6 (this is copy-and-paste, I don't know what 
that means), while the error remains compiling sage-8.7.

$ find /usr/ -name libgmpxx.so*
find: `/usr/lib64/audit': Permission denied
/usr/lib64/libgmpxx.so
/usr/lib64/libgmpxx.so.4
/usr/lib64/libgmpxx.so.4.1.0

$  find /usr/ -name libgmp.so* 
find: `/usr/lib64/audit': Permission denied
/usr/lib64/libgmp.so
/usr/lib64/libgmp.so.3.5.0
/usr/lib64/libgmp.so.3
/usr/lib64/openssl/engines/libgmp.so

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/f3b98cae-0bf9-44ea-8a23-b8049e18986c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Sage configure 8.8.beta6, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --no-create --no-recursion

## - ##
## Platform. ##
## - ##

hostname = dlp762
uname -m = x86_64
uname -r = 2.6.32-754.10.1.el6.x86_64
uname -s = Linux
uname -v = #1 SMP Thu Nov 29 15:44:01 EST 2018

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = x86_64
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/Gcc/bin
PATH: /usr/lib64/qt-3.3/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /net/hp874/disc2/home/stumpcl2/bin


## --- ##
## Core tests. ##
## --- ##

configure:2734: checking for a BSD-compatible install
configure:2802: result: /usr/bin/install -c
configure:2813: checking whether build environment is sane
configure:2868: result: yes
configure:3019: checking for a thread-safe mkdir -p
configure:3058: result: /bin/mkdir -p
configure:3065: checking for gawk
configure:3081: found /bin/gawk
configure:3092: result: gawk
configure:3103: checking whether make -j20 sets $(MAKE)
configure:3125: result: yes
configure:3154: checking whether make -j20 supports nested variables
configure:3171: result: yes
configure:3300: checking whether to enable maintainer-specific portions of 
Makefiles
configure:3309: result: yes
configure:3351: checking for root user
configure:3360: result: no
configure:3371: checking build system type
configure:3385: result: x86_64-pc-linux-gnu
configure:3405: checking host system type
configure:3418: result: x86_64-pc-linux-gnu
configure:3530: checking for a sed that does not truncate output
configure:3594: result: /bin/sed
configure:3602: checking for ar
configure:3618: found /usr/bin/ar
configure:3630: result: yes
configure:3651: checking for m4
configure:3667: found /usr/bin/m4
configure:3679: result: yes
configure:3754: checking for pkg-config
configure:3772: found /usr/bin/pkg-config
configure:3784: result: /usr/bin/pkg-config
configure:3809: checking pkg-config is at least version 0.9.0
configure:3812: result: yes
configure:3823: checking for ranlib
configure:3839: found /usr/bin/ranlib
configure:3851: result: yes
configure:3872: checking for strip
configure:3888: found /usr/bin/strip
configure:3900: result: yes
configure:3920: checking for GNU or BSD tar
configure:3968: result: /bin/tar
configure:4035: checking for latex
configure:4063: result: no
configure:4073: You do not have 'latex', which is recommended, but not
configure:4075: required. Latex is only really used for building pdf
configure:4077: documents and for %latex mode in the Sage notebook.
configure:4087: checking for perl
configure:4105: found /usr/bin/perl
configure:4117: result: /usr/bin/perl
configure:4125: checking for Perl version 5.8.0 or later
configure:4136: result: yes
configure:4198: checking for gcc
configure:4214: found /usr/local/Gcc/bin/gcc
configure:4225: result: gcc
configure:4454: checking for C compiler version
configure:4463: gcc --version >&5
gcc (GCC) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4474: $? = 0
configure:4463: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/net/dlp762/share/application-software/Gcc/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.0/lto-wrapper

Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-05-28 Thread Dima Pasechnik
I suspect you don't have libgmpxx installed. What is the output of

$ find /usr/ -name libgmpxx.so*

and of

$ find /usr/ -name libgmp.so*

On Tue, May 28, 2019 at 9:54 AM Dima Pasechnik  wrote:
>
> could you attach Sage's config.log ?
> I suspect that the system installation of GMP is a bit broken or incomplete, 
> or perhaps there are more than one, and they clash. (and our recent GMP 
> checking code fails to pick it up)
>
> is it a fresh install, or an update?
>
> --
> anyhow, you can force the use of Sage's mpir by supplying an appropriate 
> option to ./configure.
>
>
>
>
>
> On Tue, 28 May 2019 06:53 Christian Stump,  wrote:
>>
>> (only realizing now that the "attaching the logs" failed yesterday...)
>>
>> --
>> 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.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/bdc55a6a-7077-481e-add5-e0fb53195b8f%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1UT7ruydL4qG5w73hvoDX%3D8tsHE0gX73J40rp%2BATxJLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: compiling error for 8.8.beta6 on Red Hat 6.10

2019-05-28 Thread Dima Pasechnik
could you attach Sage's config.log ?
I suspect that the system installation of GMP is a bit broken or
incomplete, or perhaps there are more than one, and they clash. (and our
recent GMP checking code fails to pick it up)

is it a fresh install, or an update?

--
anyhow, you can force the use of Sage's mpir by supplying an appropriate
option to ./configure.





On Tue, 28 May 2019 06:53 Christian Stump, 
wrote:

> (only realizing now that the "attaching the logs" failed yesterday...)
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/bdc55a6a-7077-481e-add5-e0fb53195b8f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq3LEKHTD8o5vJPPwBc9ahF1LUuhw2EqthH78qaDzGnfhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.