[sage-devel] error installing package ppl-1.1
Hi ! I have the following error during the compilation of sage : gcc -DHAVE_CONFIG_H -I. -I../.. -I../../interfaces/C -I/home/paul.mercat/sage/local/include -g -O2 -frounding-math -W -Wall -MT glpk_set_d_eps.o -MD -MP -MF .deps/glpk_set_d_eps.Tpo -c -o glpk_set_d_eps.o glpk_set_d_eps.c mv -f .deps/glpk_set_d_eps.Tpo .deps/glpk_set_d_eps.Po rm -f libglpk_set_d_eps.a ar cru libglpk_set_d_eps.a glpk_set_d_eps.o ranlib libglpk_set_d_eps.a gcc -DHAVE_CONFIG_H -I. -I../.. -I../../interfaces/C -I/home/paul.mercat/sage/local/include -pedantic -std=gnu89 -g -O2 -frounding-math -W -Wall -MT ppl_lpsol-ppl_lpsol.o -MD -MP -MF .deps/ppl_lpsol-ppl_lpsol.Tpo -c -o ppl_lpsol-ppl_lpsol.o `test -f 'ppl_lpsol.c' || echo './'`ppl_lpsol.c ppl_lpsol.c: In function 'maybe_check_results': ppl_lpsol.c:595:5: warning: implicit declaration of function 'glp_exact' [-Wimplicit-function-declaration] ppl_lpsol.c: In function 'solve': ppl_lpsol.c:1038:3: error: unknown type name 'glp_mpscp' ppl_lpsol.c:1041:3: warning: implicit declaration of function 'glp_init_mpscp' [-Wimplicit-function-declaration] ppl_lpsol.c:1054:3: warning: implicit declaration of function 'glp_read_mps' [-Wimplicit-function-declaration] ppl_lpsol.c:1054:29: error: 'GLP_MPS_FILE' undeclared (first use in this function) ppl_lpsol.c:1054:29: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [ppl_lpsol-ppl_lpsol.o] Error 1 make[8]: Leaving directory `/home/paul.mercat/sage/local/var/tmp/sage/build/ppl-1.1/src/demos/ppl_lpsol' make[7]: *** [all-recursive] Error 1 make[7]: Leaving directory `/home/paul.mercat/sage/local/var/tmp/sage/build/ppl-1.1/src/demos/ppl_lpsol' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/home/paul.mercat/sage/local/var/tmp/sage/build/ppl-1.1/src/demos' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/paul.mercat/sage/local/var/tmp/sage/build/ppl-1.1/src' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/paul.mercat/sage/local/var/tmp/sage/build/ppl-1.1/src' Error building the Parma Polyhedra Library. real 8m29.527s user 7m28.497s sys 0m26.911s Error installing package ppl-1.1 Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/paul.mercat/sage/logs/pkgs/ppl-1.1.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/paul.mercat/sage/local/var/tmp/sage/build/ppl-1.1 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 '/home/paul.mercat/sage/local/var/tmp/sage/build/ppl-1.1' '/home/paul.mercat/sage/sage' --sh) When you are done debugging, you can type exit to leave the subshell. make[3]: *** [/home/paul.mercat/sage/local/var/lib/sage/installed/ppl-1.1] Error 1 make[3]: Leaving directory `/home/paul.mercat/sage/build' make[2]: *** [toolchain-deps] Error 2 make[2]: Leaving directory `/home/paul.mercat/sage/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/paul.mercat/sage/build' real 85m52.764s user 68m37.669s sys 8m0.649s *** Error building Sage. The following package(s) may have failed to build: package: ppl-1.1 log file: /home/paul.mercat/sage/logs/pkgs/ppl-1.1.log build directory: /home/paul.mercat/sage/local/var/tmp/sage/build/ppl-1.1 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. make: *** [build] Error 1 - et voici ce que donne la commande : *[paul.mercat@octopus ~/sage]$ cat /proc/cpuinfo* *processor : 0* *vendor_id : GenuineIntel* *cpu family : 6* *model : 26* *model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz* *stepping : 5* *cpu MHz : 1600.000* *cache size : 8192 KB* *physical id : 0* *siblings : 4* *core id : 0* *cpu cores : 4* *apicid : 0* *fpu : yes* *fpu_exception : yes* *cpuid level : 11* *wp : yes* *flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm* *bogomips : 5867.08* *clflush size : 64* *cache_alignment : 64* *address sizes : 40 bits physical, 48 bits virtual* *power management: [8]* *processor : 1* *vendor_id : GenuineIntel* *cpu family : 6* *model : 26* *model name
Re: [sage-devel] error installing package ppl-1.1
I see your message only know. Do you know how to be alerted when somebody answer a question of mine ? Yes, I have libglpk.so , libglpk.so.0 and libglpk.so.0.5.0 in /usr/lib/ There is no file config.log in /home/paul.mercat/sage/local/var/tmp/sage/build/ppl-1.1/ Paul Le mercredi 3 septembre 2014 00:18:04 UTC+2, François a écrit : On Tue, 02 Sep 2014 05:55:51 'Paul Mercat' via sage-devel wrote: I've done what you proposed, but I get the same error. Here is the new log file. Le mardi 2 septembre 2014 14:42:01 UTC+2, Paul Mercat a écrit : Le mardi 2 septembre 2014 14:34:16 UTC+2, Jeroen Demeyer a écrit : Please send the *whole* log file /home/paul.mercat/sage/logs/pkgs/ppl-1.1.log I think the obvious problem is that we are picking the wrong version of glpk. Do you have glpk installed on the system in either /usr (from a rpm) or /usr/local? We may also want to look at /home/paul.mercat/sage/local/var/tmp/sage/build/ppl-1.1/config.log Francois -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] error installing package ppl-1.1
[paul.mercat@octopus ~]$ rpm -ql glpk-dev package glpk-dev is not installed Le mardi 9 septembre 2014 11:03:50 UTC+2, François a écrit : No obvious things in this log. But a careful reading shows that both glpk.h and glpk/glpk.h where found. glpk in sage only ships glpk.h so the other one must come from the system. The output of “rpm -ql glpk-dev” or would it be glpk-devel would show us what has been detected from the system. But like I said earlier in answering David, fixing it not as obvious as it seems. François On 9/09/2014, at 20:51, 'Paul Mercat' via sage-devel sage-...@googlegroups.com javascript: wrote: Here is the file /home/paul.mercat/sage/local/var/tmp/sage/build/ppl-1.1/src/config.log Paul Le mardi 9 septembre 2014 07:02:11 UTC+2, François a écrit : On 9/09/2014, at 16:32, Dr. David Kirkby (Kirkby Microwave Ltd) drki...@kirkbymicrowave.co.uk wrote: On 9 Sep 2014 00:25, François Bissey francoi...@canterbury.ac.nz wrote: But it is almost certain the system glpk is the problem. If so, given Sage ships glpk, and quite a number of other packages to ensure that we control exactly the versions being linked, then I suspect the ppl package needs modifying to ensure it links against the version of glpk shipped in Sage and not some other version which may be on the system. Although I have not looked at the code; that should be a fairly easy fix. I have looked at the code and unfortunately there is nothing to give a location for glpk in ppl’s configure script. We have to make sure CPPFLAGS and LDFLAGS point to the good spot. Francois This email may be confidential and subject to legal privilege, it may not reflect the views of the University of Canterbury, and it is not guaranteed to be virus free. If you are not an intended recipient, please notify the sender immediately and erase all copies of the message and any attachments. Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more information. -- 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+...@googlegroups.com javascript:. To post to this group, send email to sage-...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout. config.log This email may be confidential and subject to legal privilege, it may not reflect the views of the University of Canterbury, and it is not guaranteed to be virus free. If you are not an intended recipient, please notify the sender immediately and erase all copies of the message and any attachments. Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more information. -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Can't compile sage on OS X 10.10
Hello ! I tried to compile the lastest development version of sage on my computer with OS X 10.10, and I get the following very strange error : see config.log I precise that the C-compiler works on my computer : I have try to compile a small example to test it and it works. I hope somebody will be able to help me. Paul -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout. config.log Description: Binary data
[sage-devel] Re: Erreur with git while compiling sage on linux
Thank you, now it works ! Le vendredi 19 juin 2015 20:54:39 UTC+2, Volker Braun a écrit : You are missing part of Perl. Perl is a requirement for Sage. Ask your administrator. -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Erreur with git while compiling sage on linux
Here is the file config.log Is there an other file that you want to see ? Best, Paul -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout. config.log Description: Binary data
[sage-devel] Re: Erreur with git while compiling sage on linux
I don't have yum installed, and I don't have the roots privileges on this computer. -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Erreur with git while compiling sage on linux
Hi ! I try to compile sage on linux, and I get the following error. Do you know what is the problem and how correct it ? . . . GEN perl/PM.stamp make[4]: Entering directory `/home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0/src/perl' /usr/bin/perl Makefile.PL PREFIX='/home/paul.mercat/sage/local' INSTALL_BASE='' --localedir='/home/paul.mercat/sage/local/share/locale' Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 3. BEGIN failed--compilation aborted at Makefile.PL line 3. make[4]: *** [perl.mak] Error 2 make[4]: Leaving directory `/home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0/src/perl' make[3]: *** [perl/perl.mak] Error 2 make[3]: Leaving directory `/home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0/src' Error building git. real0m51.380s user0m38.300s sys 0m9.057s Error installing package git-2.3.0 Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/paul.mercat/sage/logs/pkgs/git-2.3.0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0 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 '/home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0' '/home/paul.mercat/sage/sage' --sh) When you are done debugging, you can type exit to leave the subshell. make[2]: *** [/home/paul.mercat/sage/local/var/lib/sage/installed/git-2.3.0] Error 1 make[2]: Leaving directory `/home/paul.mercat/sage/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/paul.mercat/sage/build' real389m1.753s user335m46.587s sys 34m2.341s *** Error building Sage. The following package(s) may have failed to build: package: git-2.3.0 log file: /home/paul.mercat/sage/logs/pkgs/git-2.3.0.log build directory: /home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0 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-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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] sage -b fail
Yes, I successfully ran 'make'. But I need to run 'sage -b' because I want to modify some things in the source code. But this command doesn't work even if I don't make any change in the source code. Ciao Paul Le lundi 18 juillet 2016 13:24:41 UTC+2, Thierry (sage-googlesucks@xxx) a écrit : > > Hi, > > On Mon, Jul 18, 2016 at 03:48:47AM -0700, 'Paul Mercat' via sage-devel > wrote: > > Hi ! > > > > I just installed the last developpement version of sage with > > git clone git://github.com/sagemath/sage.git > > and it compiles correctly on my Ubuntu 16.04 computer. > > Do you mean that at this point you sucessfully ran 'make' ? If so, there > is no > need to run 'sage -b' (or you need to provide more details about your > workflow). > > Ciao, > Thierry > > > > ... qflllTraceback (most recent call last): > > File "", line 1, in > > File "sage_setup/autogen/pari/__init__.py", line 5, in rebuild > > G() > > File "sage_setup/autogen/pari/generator.py", line 249, in __call__ > > self.handle_pari_function(**v) > > File "sage_setup/autogen/pari/generator.py", line 190, in > > handle_pari_function > > get_rest_doc(function)) > > File "sage_setup/autogen/pari/doc.py", line 365, in get_rest_doc > > return raw_to_rest(raw) > > File "sage_setup/autogen/pari/doc.py", line 224, in raw_to_rest > > raise SyntaxError("@ found: " + doc[ilow:ihigh]) > > SyntaxError: @ found: i,j} <= \|0.51\|`, and the > > Lov@[aacute]sz's constant is :mat > > Makefile:19 : la recette pour la cible « sage/libs/pari/auto_gen.pxi » a > > échouée > > make: *** [sage/libs/pari/auto_gen.pxi] Erreur 1 > > > > How can I get ride of this error ? > > I really need to make this works in order to use tools that I have > > developped for sage. > > > > Thanks ! > > Paul > > > > -- > > 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+...@googlegroups.com . > > To post to this group, send email to sage-...@googlegroups.com > . > > Visit this group at https://groups.google.com/group/sage-devel. > > 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. For more options, visit https://groups.google.com/d/optout.
[sage-devel] sage -b fail
Hi ! I just installed the last developpement version of sage with git clone git://github.com/sagemath/sage.git and it compiles correctly on my Ubuntu 16.04 computer. But after that the command "./sage -b" fail with the following error : ... qflllTraceback (most recent call last): File "", line 1, in File "sage_setup/autogen/pari/__init__.py", line 5, in rebuild G() File "sage_setup/autogen/pari/generator.py", line 249, in __call__ self.handle_pari_function(**v) File "sage_setup/autogen/pari/generator.py", line 190, in handle_pari_function get_rest_doc(function)) File "sage_setup/autogen/pari/doc.py", line 365, in get_rest_doc return raw_to_rest(raw) File "sage_setup/autogen/pari/doc.py", line 224, in raw_to_rest raise SyntaxError("@ found: " + doc[ilow:ihigh]) SyntaxError: @ found: i,j} <= \|0.51\|`, and the Lov@[aacute]sz's constant is :mat Makefile:19 : la recette pour la cible « sage/libs/pari/auto_gen.pxi » a échouée make: *** [sage/libs/pari/auto_gen.pxi] Erreur 1 How can I get ride of this error ? I really need to make this works in order to use tools that I have developped for sage. Thanks ! Paul -- 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.
[sage-devel] Impossible to push to trac server !
Hello, When I try to push my work on the trac server using the command $git trac push I get the following error : git_trac.git_error.GitError: git returned with non-zero exit code (128) when executing "git push trac HEAD:refs/heads/u/mercatp/b-adic" STDERR: @@@ STDERR: @WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ STDERR: @@@ STDERR: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! STDERR: Someone could be eavesdropping on you right now (man-in-the-middle attack)! STDERR: It is also possible that a host key has just been changed. STDERR: The fingerprint for the ECDSA key sent by the remote host is STDERR: SHA256:4Op/q3b5792x+F1lHSKRi5UIORAPDlIFVA5cUq9YVXI. STDERR: Please contact your system administrator. STDERR: Add correct host key in /Users/mercatp/.ssh/known_hosts to get rid of this message. STDERR: Offending ECDSA key in /Users/mercatp/.ssh/known_hosts:1 STDERR: ECDSA host key for trac.sagemath.org has changed and you have requested strict checking. STDERR: Host key verification failed. STDERR: fatal: Could not read from remote repository. STDERR: STDERR: Please make sure you have the correct access rights STDERR: and the repository exists. I don't understand where is the problem. My public ssh is on the trac server, the server is in the list of know hosts in my computer. When I try the command $sudo git trac push I get another error : git_trac.git_error.GitError: git returned with non-zero exit code (128) when executing "git push trac HEAD:refs/heads/u/mercatp/b-adic" STDERR: Permission denied (publickey). STDERR: fatal: Could not read from remote repository. STDERR: STDERR: Please make sure you have the correct access rights STDERR: and the repository exists. I previously pushed some commits before with this computer. I don't understand why it doesn't work anymore. -- 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.
[sage-devel] Error building the doc sage-8.1
Hi, I get the following error when I try to build the documentation in sage-8.1 : MacBook-Pro-de-Paul:sage-8.1 mercatp$ ./sage --docbuild reference html [manifolds] *loading pickled environment... *not yet created [manifolds] *building [mo]: *targets for 0 po files that are out of date [manifolds] *building [html]*: targets for 52 source files that are out of date [manifolds] *updating environment: *52 added, 0 changed, 0 removed [manifolds] *reading sources... *[ 1%] chart *reading sources... *[ 3%] continuous_map *reading sources... *[ 5%] diff_form *reading sources... *[ 7%] diff_manifold *reading sources... *[ 9%] diff_map *reading sources... *[ 11%] diff_scalarfield *reading sources... *[ 13%] index *reading sources... *[ 15%] manifold *reading sources... *[ 17%] multivector *reading sources... *[ 19%] riem_manifold *reading sources... *[ 21%] sage/manifolds/chart *reading sources... *[ 23%] sage/manifolds/continuous_map *reading sources... *[ 25%] sage/manifolds/coord_func *reading sources... *[ 26%] sage/manifolds/coord_func_symb *reading sources... *[ 28%] sage/manifolds/differentiable/affine_connection *reading sources... *[ 30%] sage/manifolds/differentiable/automorphismfield *reading sources... *[ 32%] sage/manifolds/differentiable/automorphismfield_group *reading sources... *[ 34%] sage/manifolds/differentiable/chart *reading sources... *[ 36%] sage/manifolds/differentiable/curve *reading sources... *[ 38%] sage/manifolds/differentiable/diff_form *reading sources... *[ 40%] sage/manifolds/differentiable/diff_form_module *reading sources... *[ 42%] sage/manifolds/differentiable/diff_map *reading sources... *[ 44%] sage/manifolds/differentiable/integrated_curve *reading sources... *[ 46%] sage/manifolds/differentiable/levi_civita_connection *reading sources... *[ 48%] sage/manifolds/differentiable/manifold *reading sources... *[ 50%] sage/manifolds/differentiable/manifold_homset *reading sources... *[ 51%] sage/manifolds/differentiable/metric
[sage-devel] Re: Error building the doc sage-8.1
sage: *import* *sage.combinat.cluster_complex* --- ImportError Traceback (most recent call last) in () > 1 import sage.combinat.cluster_complex ImportError: No module named cluster_complex sage: Le lundi 21 mai 2018 17:53:02 UTC+2, Volker Braun a écrit : > > So what do you get if you start Sage and run > > sage: import sage.combinat.cluster_complex > > > > On Monday, May 21, 2018 at 3:50:50 PM UTC+2, Paul Mercat wrote: >> >> [dochtml] [combinat ] WARNING: >> /Users/mercatp/sage-8.1/src/doc/en/reference/combinat/sage/combinat/cluster_complex.rst:11: >> >> (WARNING/2) autodoc: failed to import module >> u'sage.combinat.cluster_complex'; the following exception was raised: >> > -- 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.
[sage-devel] Re: Compilation error sage-8.1
Thank you ! I made a patch that change the version_string to "7.2.0" (I had to modify the patch generated by "diff" by hand to make it work). And now it compiles. Sage-8.1 is compiled without any other problem. Paul Le mercredi 4 avril 2018 13:16:33 UTC+2, Dima Pasechnik a écrit : > > the usual way to add patches would be to put them into > build/pkgs/numpy/patches/ > > at the end of the installation log you see instructions on setting the > environment to try running numpy installation. > -- 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.
[sage-devel] Re: Compilation error sage-8.1
Le mercredi 4 avril 2018 18:13:50 UTC+2, Dima Pasechnik a écrit : > > Could you post your patch here? > It might be useful... -- 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. --- a/numpy/distutils/fcompiler/gnu.py 2018-04-04 16:10:47.278903223 +0200 +++ b/numpy/distutils/fcompiler/gnu.py 2018-04-04 16:11:33.839744609 +0200 @@ -35,8 +35,9 @@ def gnu_version_match(self, version_string): """Handle the different versions of GNU fortran compilers""" # Strip warning(s) that may be emitted by gfortran -while version_string.startswith('gfortran: warning'): -version_string = version_string[version_string.find('\n')+1:] +#while version_string.startswith('gfortran: warning'): +#version_string = version_string[version_string.find('\n')+1:] + version_string = "7.2.0" # Gfortran versions from after 2010 will output a simple string # (usually "x.y", "x.y.z" or "x.y.z-q") for ``-dumpversion``; older
[sage-devel] Re: Compilation error sage-8.1
https://drive.google.com/open?id=1hHDMc9uEL9_SYrmq8Z6JPPFphL8uBzZ3 Le vendredi 30 mars 2018 17:10:24 UTC+2, Dima Pasechnik a écrit : > > > > On Friday, March 30, 2018 at 3:13:17 PM UTC+1, Paul Mercat wrote: >> >> Here is the file config.log >> > > something does not match here, as this log tells that it's getting gcc 7.2 > installed, but your numpy log still refers to gcc 4.8.5 > > Has the installation of gcc package been successful? > (look for logs/pkgs/gcc*) > > >> >> Le vendredi 30 mars 2018 16:07:12 UTC+2, Paul Mercat a écrit : >>> >>> Hi, >>> >>> >>> There is no such file logs/pkgs/config.log. >>> >>> I tried to recompile with the option SAGE_INSTALL_GCC='yes', but I get >>> the same error: >>> >>> >>> real43m24.500s >>> >>> >>>user >>>238m40.314s >>> >>> >>> sys >>> 20m15.248s >>> >>> >>> >>> *** >>> >>> Error >>> building Sage. >>> >>> >>> >>> >>> >>>The >>> following package(s) may have failed to build (not necessarily >>> >>>during >>> this run of 'make all'): >>> >>> >>> >>> >>> >>> * >>> package: numpy-1.13.3.p0 >>> >>> >>> log >>> file: /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log >>> >>>build >>> directory: >>> /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 >>> >>> >>> >>> >>> 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. >>> >>> >>> >>> >>> make: >>> *** [all] Error 1 >>> >>> Le jeudi 29 mars 2018 23:45:08 UTC+2, Dima Pasechnik a écrit : This looks like a gcc/gfortran problem. Could you post also logs/pkgs/config.log ? You might consider forcing building gcc, see
[sage-devel] Re: Compilation error sage-8.1
Hi, There is no such file logs/pkgs/config.log. I tried to recompile with the option SAGE_INSTALL_GCC='yes', but I get the same error: real43m24.500s user 238m40.314s sys 20m15.248s *** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all'): * package: numpy-1.13.3.p0 log file: /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log build directory: /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 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. make: *** [all] Error 1 Le jeudi 29 mars 2018 23:45:08 UTC+2, Dima Pasechnik a écrit : > > This looks like a gcc/gfortran problem. > Could you post also > > logs/pkgs/config.log ? > > You might consider forcing building gcc, see SAGE_INSTALL_GCC in > > http://doc.sagemath.org/html/en/installation/source.html#environment-variables > > > On Thursday, March 29, 2018 at 5:18:09 PM UTC+1, Paul Mercat wrote: >> >> Hello, >> >> I've tried to compile sage-8.1 on a linux server, and I get the following >> error: >> >> Error building Sage. >> >> The following package(s) may have failed to build (not necessarily >> during this run of 'make all'): >> >> * package: numpy-1.13.3.p0 >> log file: /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log >> build directory: >> /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 >> >> 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-devel] Re: Compilation error sage-8.1
Here is the file config.log Le vendredi 30 mars 2018 16:07:12 UTC+2, Paul Mercat a écrit : > > Hi, > > > There is no such file logs/pkgs/config.log. > > I tried to recompile with the option SAGE_INSTALL_GCC='yes', but I get the > same error: > > > real43m24.500s > > >user >238m40.314s > > > sys > 20m15.248s > > > > *** > > Error > building Sage. > > > > > > The > following package(s) may have failed to build (not necessarily > > during > this run of 'make all'): > > > > > * > package: numpy-1.13.3.p0 > > > log > file: /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log > > build > directory: > /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 > > > > > 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. > > > > > make: > *** [all] Error 1 > > Le jeudi 29 mars 2018 23:45:08 UTC+2, Dima Pasechnik a écrit : >> >> This looks like a gcc/gfortran problem. >> Could you post also >> >> logs/pkgs/config.log ? >> >> You might consider forcing building gcc, see SAGE_INSTALL_GCC in >> >> http://doc.sagemath.org/html/en/installation/source.html#environment-variables >> >> >> On Thursday, March 29, 2018 at 5:18:09 PM UTC+1, Paul Mercat wrote: >>> >>> Hello, >>> >>> I've tried to compile sage-8.1 on a linux server, and I get the >>> following error: >>> >>> Error building Sage. >>> >>> The following package(s) may have failed to build (not necessarily >>> during this run of 'make all'): >>> >>> * package: numpy-1.13.3.p0 >>> log file: /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log >>> build directory: >>>
[sage-devel] Compilation error sage-8.1
Hello, I've tried to compile sage-8.1 on a linux server, and I get the following error: Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all'): * package: numpy-1.13.3.p0 log file: /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log build directory: /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 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. make: *** [all] Error 1 How can I solve this problem ? -- 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. Found local metadata for numpy-1.13.3.p0 Using cached file /home/paul.mercat/sage-8.1/upstream/numpy-1.13.3.zip numpy-1.13.3.p0 Setting up build directory for numpy-1.13.3.p0 Finished extraction Applying patches from ../patches... Applying ../patches/PEP_3141.patch patching file numpy/core/numeric.py Hunk #2 succeeded at 2155 with fuzz 2 (offset -7 lines). Applying ../patches/numpy-1.10.2-no-hardcode-blas.patch patching file numpy/distutils/system_info.py Hunk #1 succeeded at 1679 (offset -11 lines). Hunk #2 succeeded at 1712 (offset -10 lines). Host system: Linux signal.cmi.univ-mrs.fr 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) Running from numpy source directory. Note: if you need reliable uninstall behavior, then install with pip instead of using `setup.py install`: - `pip install .` (from a git repo or downloaded source release) - `pip install numpy` (last NumPy release on PyPi) blas_opt_info: blas_mkl_info: libraries mkl_rt not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE blis_info: libraries blis not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_info: Disabled openblas_info: (OPENBLAS is None) libraries openblas not found in [] NOT AVAILABLE atlas_3_10_blas_threads_info: Disabled atlas_3_10_blas_threads_info: (PTATLAS is None) libraries tatlas not found in [] NOT AVAILABLE atlas_3_10_blas_info: Disabled atlas_3_10_blas_info: (ATLAS is None) libraries satlas not found in [] NOT AVAILABLE atlas_blas_threads_info: Disabled atlas_blas_threads_info: (PTATLAS is None) libraries ptf77blas,ptcblas,atlas not found in [] NOT AVAILABLE atlas_blas_info: Disabled atlas_blas_info: (ATLAS is None) libraries f77blas,cblas,atlas not found in [] NOT AVAILABLE /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/system_info.py:572: UserWarning: Atlas (http://math-atlas.sourceforge.net/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [atlas]) or by setting the ATLAS environment variable. self.calc_info() blas_info: customize UnixCCompiler C compiler: gcc -DNDEBUG -g -fwrapv -O3 -Wall -D__CEPHES_COMPLEX_H -fPIC creating /tmp/tmpNjVWbB/tmp creating /tmp/tmpNjVWbB/tmp/tmpNjVWbB compile options:
[sage-devel] Re: Compilation error sage-8.1
I tried to do "./make -i numpy", but I get the same error... -- 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.
[sage-devel] Re: Compilation error sage-8.1
I think that you're right, the error comes from this error message that break the configuration test of numpy. This problem appears only in the numpy package. Every other package compile without problem. Do you know if it's possible to recompile the numpy package where it was left, without re-extracting the package ? I would like to try to modify the source code of numpy in order to overcome this checking problem. Le samedi 31 mars 2018 22:02:09 UTC+2, Dima Pasechnik a écrit : > > The error message > > > /etc/init.d/xprint: Command not found. > > > repeats many times and this appears to break the configuration tests numpy is > running. > > > In the end it fails as e.g. it is unable to confirm that OpenBLAS works. > > And then it finishes with the error saying that it cannot find Fortran > compiler, > > for the same reason. > > > I have no clue why on this machine it insists on using that xprint thing I > have little about. > > I guess it might be a misconfiguration of X11/xorg, and/or something unusual > in > > your ~/.profile, or ~/.bash, or... > > Probably this is a question numpy people can answer. > > > By the way, do you see similar error messages about xprint in other package > logs, or it's > > only numpy ? > > > > > > > > > On Thursday, March 29, 2018 at 5:18:09 PM UTC+1, Paul Mercat wrote: >> >> Hello, >> >> I've tried to compile sage-8.1 on a linux server, and I get the following >> error: >> >> Error building Sage. >> >> The following package(s) may have failed to build (not necessarily >> during this run of 'make all'): >> >> * package: numpy-1.13.3.p0 >> log file: /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log >> build directory: >> /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 >> >> 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. >> >> make: *** [all] Error 1 >> >> How can I solve this problem ? >> > -- 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.
[sage-devel] Image as a Graphics object
Hi, Is there a way to get an image as a Graphics() object in Sage ? I have spend a lot of time trying to do it, but it looks like it is not possible. I'm wondering if it would be a good idea to add a new type of GraphicPrimitive in Sage in order to add png images as Graphics object, or make a general GraphicPrimitive that call a procedure in order to draw the content when displayed, with a procedure defined by the user. It would be really usefull for what I want to do : I could call a C-function that draw the thing in real time, or at least manipulate the produced image as a Graphics object in order to do superpositions for example. And if you think that it is a good idea, do you know how to do it ? Apparently Sage use matplotlib, and there are already some tools to import images, but it is really heavy and very complicated to use (I was not able to suppress the black frame for example). What I want is really simple : just draw the image at given coordinates and manipulate it as a Graphics object. Is there a not to much complicated way to implement this ? Thanks, Paul -- 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.
[sage-devel] Compilation error: 'sage/ext/interrupt.pxi' not found
Hi, I'm trying to merge the ticket #21072 (that currently work with sage 7.3) with sage 8.1, but I get the following error, and I don't know why and what to do. InternalError: Internal compiler error: 'sage/ext/interrupt.pxi' not found Error building the Sage library Any idea ? -- 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.
[sage-devel] Re: Compilation error: 'sage/ext/interrupt.pxi' not found
You're right, I have found where I call sage/ext/interrupt.pxi and changed it and now it works. The compiler gave no information on where is the problem. It's a little bit annoying... Le dimanche 4 mars 2018 00:41:45 UTC+1, Dima Pasechnik a écrit : > > > On Saturday, March 3, 2018 at 5:19:37 PM UTC, Paul Mercat wrote: >> >> >> I'm trying to merge the ticket #21072 (that currently work with sage 7.3) >> with sage 8.1, but I get the following error, and I don't know why and what >> to do. >> > > I believe that this functionality is now handled by cygsignals package. > https://github.com/sagemath/cysignals > > >> >> InternalError: Internal compiler error: 'sage/ext/interrupt.pxi' not found >> >> Error building the Sage library >> >> >> Any idea ? >> > -- 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.
Re: [sage-devel] Bug with NumberField
Thank you. So the bug is with the test of equality in QQbar, not with NumberField. Do you know how to solve this problem with QQbar ? I tried to look at where is the error, and it looks like there is an infinite loop: /Users/mercatp/sage-8.2/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_compiled.pyx in sage.rings.polynomial.polynomial_compiled.abc_pd.eval (build/cythonized/sage/rings/polynomial/polynomial_compiled.c:6599)()506 507 cdef int eval(abc_pd self, object vars, object coeffs) except -2:--> 508 pd_eval(self.left, vars, coeffs)509 pd_eval(self.right, vars, coeffs)510 self.value = self.left.value * self.right.value + coeffs[self.index] /Users/mercatp/sage-8.2/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_compiled.pyx in sage.rings.polynomial.polynomial_compiled.pd_eval (build/cythonized/sage/rings/polynomial/polynomial_compiled.c:3574)()352 cdef inline int pd_eval(generic_pd pd, object vars, object coeffs) except -2: 353 if pd.value is None:--> 354 pd.eval(vars, coeffs)355 pd.hits += 1356 But I don't know how to avoid this loop, because I don't know what do this code... Paul Le vendredi 26 octobre 2018 16:04:57 UTC+2, John Cremona a écrit : > > > > On Fri, 26 Oct 2018 at 13:07, 'Paul Mercat' via sage-devel < > sage-...@googlegroups.com > wrote: > >> Hi ! >> >> I have a strange bug with NumberField: when I do >> >> sage: pi = x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1 >> sage: b = pi.roots(ring=QQbar)[3][0] >> sage: pi = b.minpoly() >> sage: K = NumberField(pi, 'b', embedding=b) >> >> it works well. But if I execute it a second time, then it never >> terminates! >> Do you have a explanation and a correction to this problem ? >> > > How strange. The first 3 lines are fine the second time. So is the > number field construction when you leave out the embedding. > > When a number field is constructed it is cached so that a new construction > returns the same object, and not a copy, where possible. In your case that > means checking that the embeddings are the same, which means checking that > two elements of QQbar are the same. That can be expensive. > > If you do > b1 = pi.roots(ring=QQbar)[3][0] > b2 = pi.roots(ring=QQbar)[3][0] > > and then > > b1==b2 > > it also takes ages. I cannot remember the algorithm here but it does not > look optimal; it may be working effectively in a field of degree 7*6 or > possibly 7!. I note that > > d=b1-b2 > d==0 > > yields True immediately. > > John > > >> >> Thank, >> Paul >> >> >> -- >> 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+...@googlegroups.com . >> To post to this group, send email to sage-...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/sage-devel. >> 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. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Bug with NumberField
Hi ! I have a strange bug with NumberField: when I do sage: pi = x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1 sage: b = pi.roots(ring=QQbar)[3][0] sage: pi = b.minpoly() sage: K = NumberField(pi, 'b', embedding=b) it works well. But if I execute it a second time, then it never terminates! Do you have a explanation and a correction to this problem ? Thank, Paul -- 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.
Re: [sage-devel] sage 8.4 compilation error with r
Is it this file ? Le dimanche 28 octobre 2018 14:33:07 UTC+1, Erik Bray a écrit : > > It might be more useful to see the config.log for R. I think usually > when a build fails there is a message providing a path to the > config.log of the build. > This would tell us exactly what commands configure ran and why it > failed (in principle). > On Sun, Oct 28, 2018 at 12:55 PM 'Paul Mercat' via sage-devel > > wrote: > > > > Hi ! > > > > I tried to compile sage-8.4 on my computer on OS X, and I get the > following error. > > I compiled using SAGE_INSTALL_GCC='yes'. > > > > It is strange because it indicates that the version of curl is not > recent enough, but it is! > > > > [r-3.4.4.p0] checking libcurl version ... 7.60.0 > > > > [r-3.4.4.p0] checking curl/curl.h usability... yes > > > > [r-3.4.4.p0] checking curl/curl.h presence... yes > > > > [r-3.4.4.p0] checking for curl/curl.h... yes > > > > [r-3.4.4.p0] checking if libcurl is version 7 and >= 7.22.0... no > > > > [r-3.4.4.p0] configure: error: libcurl >= 7.22.0 library and headers are > required > > > > [r-3.4.4.p0] Error configuring R. > > > > > > Any idea to solve this problem ? > > > > > > -- > > 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+...@googlegroups.com . > > To post to this group, send email to sage-...@googlegroups.com > . > > Visit this group at https://groups.google.com/group/sage-devel. > > 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. 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.4.beta5, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --no-create --no-recursion ## - ## ## Platform. ## ## - ## hostname = MBP-de-Paul uname -m = x86_64 uname -r = 15.6.0 uname -s = Darwin uname -v = Darwin Kernel Version 15.6.0: Thu Jun 21 20:07:40 PDT 2018; root:xnu-3248.73.11~1/RELEASE_X86_64 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 15.6.0: Thu Jun 21 20:07:40 PDT 2018; root:xnu-3248.73.11~1/RELEASE_X86_64 Kernel configured for up to 4 processors. 2 processors are physically available. 4 processors are logically available. Processor type: i486 (Intel 80486) Processors active: 0 1 2 3 Primary memory available: 4.00 gigabytes Default processor set: 248 tasks, 1078 threads, 4 processors Load average: 1.35, Mach factor: 2.64 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /Users/mercatp/anaconda3/bin PATH: /Users/mercatp/git-trac-command/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin PATH: /usr/local/bin PATH: /opt/X11/bin PATH: /usr/local/CrossPack-AVR/bin PATH: /Library/TeX/texbin ## --- ## ## Core tests. ## ## --- ## configure:2541: checking for a BSD-compatible install configure:2609: result: /usr/bin/install -c configure:2620: checking whether build environment is sane configure:2675: result: yes configure:2826: checking for a thread-safe mkdir -p configure:2865: result: config/install-sh -c -d configure:2872: checking for gawk configure:2902: result: no configure:2872: checking for mawk configure:2902: result: no configure:2872: checking for nawk configure:2902: result: no configure:2872: checking for awk configure:2888: found /usr/bin/awk configure:2899: result: awk configure:2910: checking whether make -j2 sets $(MAKE) configure:2932: result: yes configure:2961: checking whether make -j2 supports nested variables configure:2978: result: yes configure:3107: checking whether to enable maintainer-specific portions of Makefiles configure:3116: result: yes configure:3158: checking for root user configure:3167: result: no configure:3178: checking build system type configure:3192: result: x86_64-apple-darwin15.6.0 configure:3212: checking host system type configure:3225: result: x86_64-apple-darwin15.6.0 configure:
Re: [sage-devel] sage 8.4 compilation error with r
Yes, I have bc 1.06 Le dimanche 28 octobre 2018 12:57:58 UTC+1, Dima Pasechnik a écrit : > > Do you have bc installed? > It is needed by curl-config > (There is a trac ticket about it) > > On 28 Oct 2018 11:55 am, "'Paul Mercat' via sage-devel" < > sage-...@googlegroups.com > wrote: > > Hi ! > > I tried to compile sage-8.4 on my computer on OS X, and I get the > following error. > I compiled using SAGE_INSTALL_GCC='yes'. > > It is strange because it indicates that the version of curl is not recent > enough, but it is! > > [r-3.4.4.p0] checking libcurl version ... 7.60.0 > > [r-3.4.4.p0] checking curl/curl.h usability... yes > > [r-3.4.4.p0] checking curl/curl.h presence... yes > > [r-3.4.4.p0] checking for curl/curl.h... yes > > [r-3.4.4.p0] checking if libcurl is version 7 and >= 7.22.0... no > > [r-3.4.4.p0] configure: error: libcurl >= 7.22.0 library and headers are > required > > [r-3.4.4.p0] Error configuring R. > > > Any idea to solve this problem ? > > > -- > 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+...@googlegroups.com . > To post to this group, send email to sage-...@googlegroups.com > . > Visit this group at https://groups.google.com/group/sage-devel. > 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. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] sage 8.4 compilation error with r
I tried that, but I get the same error. Do I need to recompile everything from the beginning ? Le dimanche 28 octobre 2018 22:28:28 UTC+1, Samuel Lelievre a écrit : > > So the solution is to change your PATH before you start building Sage, > so that the PATH does not contain Anaconda. > -- 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.
Re: [sage-devel] Should we include SDL in sage ?
I just need to use the library from my C code in included in sage. Is it necessary to write an interface for that ? Le mercredi 31 octobre 2018 00:25:34 UTC+1, Thierry (sage-googlesucks@xxx) a écrit : > > Hi, > > On Tue, Oct 30, 2018 at 04:18:16PM -0700, 'Paul Mercat' via sage-devel > wrote: > > Hi ! > > > > I'm currently working on things in sage that uses the librairy SDL2. > > This librairy is not part of sage if I'm not mistaken, but it is really > > usefull to draw efficiently and interact with the user. > > It's a low level and not too big C librairy, with a licence compatible > with > > sage if I'm not mistaken. > > Do you think it is a good idea to include this librairy in sage ? > > Why not ? > > > And is it complicated to do ? > > Writing a package for SDL2 is pretty straightforward. However, writing an > interface so that it can be used through Sage will require some work > (unless you did that already). > > Ciao, > Thierry > > > > > > -- > > 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+...@googlegroups.com . > > To post to this group, send email to sage-...@googlegroups.com > . > > Visit this group at https://groups.google.com/group/sage-devel. > > 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. For more options, visit https://groups.google.com/d/optout.
[sage-devel] dot in sage ?
Hi ! I'm using the Graphviz librairy to draw graph in the tools that I'm currently developping for sage, because it produces much better pictures than the default tool of Sage. But I use the program "dot" that I installed on my computer. If I'm not mistaken, Graphviz is partially included in Sage, but I was not able to use it. Do you know if there is a direct way to call the "dot" of sage from C code in sage ? -- 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.
[sage-devel] Should we include SDL in sage ?
Hi ! I'm currently working on things in sage that uses the librairy SDL2. This librairy is not part of sage if I'm not mistaken, but it is really usefull to draw efficiently and interact with the user. It's a low level and not too big C librairy, with a licence compatible with sage if I'm not mistaken. Do you think it is a good idea to include this librairy in sage ? And is it complicated to do ? -- 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.
Re: [sage-devel] Bug with NumberField
Thank you ! Le mardi 30 octobre 2018 15:33:29 UTC+1, vdelecroix a écrit : > > solved at > > https://trac.sagemath.org/ticket/26593 > > Le 26/10/2018 à 16:48, 'Paul Mercat' via sage-devel a écrit : > > Thank you. So the bug is with the test of equality in QQbar, not with > > NumberField. > > Do you know how to solve this problem with QQbar ? > > > > I tried to look at where is the error, and it looks like there is an > > infinite loop: > > > > > /Users/mercatp/sage-8.2/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_compiled.pyx > > in sage.rings.polynomial.polynomial_compiled.abc_pd.eval > (build/cythonized/sage/rings/polynomial/polynomial_compiled.c:6599)() > 506 507 cdef int eval(abc_pd self, object vars, object coeffs) > except -2:--> 508 pd_eval(self.left, vars, coeffs)509 > pd_eval(self.right, vars, coeffs)510 self.value = > self.left.value * self.right.value + coeffs[self.index] > > > /Users/mercatp/sage-8.2/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_compiled.pyx > > in sage.rings.polynomial.polynomial_compiled.pd_eval > (build/cythonized/sage/rings/polynomial/polynomial_compiled.c:3574)() > 352 cdef inline int pd_eval(generic_pd pd, object vars, object coeffs) > except -2:353 if pd.value is None:--> 354 pd.eval(vars, > coeffs)355 pd.hits += 1356 > > > > > > But I don't know how to avoid this loop, because I don't know what do > this > > code... > > > > Paul > > > > Le vendredi 26 octobre 2018 16:04:57 UTC+2, John Cremona a écrit : > >> > >> > >> > >> On Fri, 26 Oct 2018 at 13:07, 'Paul Mercat' via sage-devel < > >> sage-...@googlegroups.com > wrote: > >> > >>> Hi ! > >>> > >>> I have a strange bug with NumberField: when I do > >>> > >>> sage: pi = x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1 > >>> sage: b = pi.roots(ring=QQbar)[3][0] > >>> sage: pi = b.minpoly() > >>> sage: K = NumberField(pi, 'b', embedding=b) > >>> > >>> it works well. But if I execute it a second time, then it never > >>> terminates! > >>> Do you have a explanation and a correction to this problem ? > >>> > >> > >> How strange. The first 3 lines are fine the second time. So is the > >> number field construction when you leave out the embedding. > >> > >> When a number field is constructed it is cached so that a new > construction > >> returns the same object, and not a copy, where possible. In your case > that > >> means checking that the embeddings are the same, which means checking > that > >> two elements of QQbar are the same. That can be expensive. > >> > >> If you do > >> b1 = pi.roots(ring=QQbar)[3][0] > >> b2 = pi.roots(ring=QQbar)[3][0] > >> > >> and then > >> > >> b1==b2 > >> > >> it also takes ages. I cannot remember the algorithm here but it does > not > >> look optimal; it may be working effectively in a field of degree 7*6 > or > >> possibly 7!. I note that > >> > >> d=b1-b2 > >> d==0 > >> > >> yields True immediately. > >> > >> John > >> > >> > >>> > >>> Thank, > >>> Paul > >>> > >>> > >>> -- > >>> 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+...@googlegroups.com . > >>> To post to this group, send email to sage-...@googlegroups.com > >>> . > >>> Visit this group at https://groups.google.com/group/sage-devel. > >>> 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. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Error building sage-8.4 on Ubuntu
No, gfortran was not installed, nor anaconda. I tried to compile sage on a fresh new installation of Ubuntu. Le lundi 29 octobre 2018 16:18:41 UTC+1, Dima Pasechnik a écrit : > > This looks like you have several versions of gfortran guts lying > around. A leftover from (ana)conda? > > On Mon, Oct 29, 2018 at 3:02 PM 'Paul Mercat' via sage-devel > > wrote: > > > > Hi ! > > > > I tried to compile sage-8.4, and I have the following error. > > > > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file or > directory > > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file or > directory > > [openblas-0.2.20.p2] Makefile:7: recipe for target 'testlsame' failed > > [openblas-0.2.20.p2] make[6]: *** [testlsame] Error 1 > > [openblas-0.2.20.p2] make[6]: *** Waiting for unfinished jobs > > [openblas-0.2.20.p2] Makefile:10: recipe for target 'testslamch' failed > > [openblas-0.2.20.p2] make[6]: *** [testslamch] Error 1 > > [openblas-0.2.20.p2] [INFO] : TIMER value: INT_ETIME (given by make.inc) > > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file or > directory > > [openblas-0.2.20.p2] gfortran -pthread -O2 -Wall -m64 -fPIC -lm > -lpthread -lgfortran -o testsecond second_INT_ETIME.o secondtst.o > > [openblas-0.2.20.p2] Makefile:13: recipe for target 'testdlamch' failed > > [openblas-0.2.20.p2] make[6]: *** [testdlamch] Error 1 > > [openblas-0.2.20.p2] [INFO] : TIMER value: INT_ETIME (given by make.inc) > > [openblas-0.2.20.p2] gfortran -pthread -O2 -Wall -m64 -fPIC -lm > -lpthread -lgfortran -o testdsecnd dsecnd_INT_ETIME.o dsecndtst.o > > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file or > directory > > [openblas-0.2.20.p2] Makefile:16: recipe for target 'testsecond' failed > > [openblas-0.2.20.p2] make[6]: *** [testsecond] Error 1 > > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file or > directory > > [openblas-0.2.20.p2] Makefile:20: recipe for target 'testdsecnd' failed > > [openblas-0.2.20.p2] make[6]: *** [testdsecnd] Error 1 > > [openblas-0.2.20.p2] make[6]: Leaving directory > '/home/mercatpaul/sage/local/var/tmp/sage/build/openblas-0.2.20.p2/src/lapack-netlib/INSTALL' > > > > [openblas-0.2.20.p2] Makefile:17: recipe for target 'lapack_install' > failed > > [openblas-0.2.20.p2] make[5]: *** [lapack_install] Error 2 > > [openblas-0.2.20.p2] make[5]: Leaving directory > '/home/mercatpaul/sage/local/var/tmp/sage/build/openblas-0.2.20.p2/src/lapack-netlib' > > > > [openblas-0.2.20.p2] Makefile:215: recipe for target 'netlib' failed > > [openblas-0.2.20.p2] make[4]: *** [netlib] Error 2 > > [openblas-0.2.20.p2] make[4]: Leaving directory > '/home/mercatpaul/sage/local/var/tmp/sage/build/openblas-0.2.20.p2/src' > > [openblas-0.2.20.p2] > > > > > [openblas-0.2.20.p2] Error building openblas-0.2.20.p2 > > [openblas-0.2.20.p2] > > > > > [openblas-0.2.20.p2] > > [openblas-0.2.20.p2] real1m13.703s > > [openblas-0.2.20.p2] user7m9.646s > > [openblas-0.2.20.p2] sys0m58.397s > > [openblas-0.2.20.p2] > > > [openblas-0.2.20.p2] Error installing package openblas-0.2.20.p2 > > [openblas-0.2.20.p2] > > > [openblas-0.2.20.p2] Please email sage-devel ( > http://groups.google.com/group/sage-devel) > > [openblas-0.2.20.p2] explaining the problem and including the log file > > [openblas-0.2.20.p2] > /home/mercatpaul/sage/logs/pkgs/openblas-0.2.20.p2.log > > [openblas-0.2.20.p2] Describe your computer, operating system, etc. > > [openblas-0.2.20.p2] If you want to try to fix the problem yourself, > *don't* just cd to > > [openblas-0.2.20.p2] > /home/mercatpaul/sage/local/var/tmp/sage/build/openblas-0.2.20.p2 and type > 'make' or whatever is appropriate. > > [openblas-0.2.20.p2] Instead, the following commands setup all > environment variables > > [openblas-0.2.20.p2] correctly and load a subshell for you to debug the > error: > > [openblas-0.2.20.p2] (cd > '/home/mercatpaul/sage/local/var/tmp/sage/build/openblas-0.2.20.p2' && > '/home/mercatpaul/sage/sage' --sh) > > [openblas-0.2.20.p2] When you are done debugging, you can type "exit" to > leave the subshell. > > [openblas-0.2.20.p2] &
Re: [sage-devel] Error building sage-8.4 on Ubuntu
I tried to recompile with SAGE_INSTALL_GCC='yes', and now openblas compile (but the compilation of sage is not terminated). Le lundi 29 octobre 2018 17:04:30 UTC+1, Dima Pasechnik a écrit : > > So this must mean that you actually failed to gfortran package, no? > (cause if you don't have gfortran installed it would be built --- of > course it's madness to do on Linux, where > you can just install gfortran). > On Mon, Oct 29, 2018 at 4:49 PM 'Paul Mercat' via sage-devel > > wrote: > > > > No, gfortran was not installed, nor anaconda. I tried to compile sage on > a fresh new installation of Ubuntu. > > > > Le lundi 29 octobre 2018 16:18:41 UTC+1, Dima Pasechnik a écrit : > >> > >> This looks like you have several versions of gfortran guts lying > >> around. A leftover from (ana)conda? > >> > >> On Mon, Oct 29, 2018 at 3:02 PM 'Paul Mercat' via sage-devel > >> wrote: > >> > > >> > Hi ! > >> > > >> > I tried to compile sage-8.4, and I have the following error. > >> > > >> > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file > or directory > >> > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file > or directory > >> > [openblas-0.2.20.p2] Makefile:7: recipe for target 'testlsame' failed > >> > [openblas-0.2.20.p2] make[6]: *** [testlsame] Error 1 > >> > [openblas-0.2.20.p2] make[6]: *** Waiting for unfinished jobs > >> > [openblas-0.2.20.p2] Makefile:10: recipe for target 'testslamch' > failed > >> > [openblas-0.2.20.p2] make[6]: *** [testslamch] Error 1 > >> > [openblas-0.2.20.p2] [INFO] : TIMER value: INT_ETIME (given by > make.inc) > >> > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file > or directory > >> > [openblas-0.2.20.p2] gfortran -pthread -O2 -Wall -m64 -fPIC -lm > -lpthread -lgfortran -o testsecond second_INT_ETIME.o secondtst.o > >> > [openblas-0.2.20.p2] Makefile:13: recipe for target 'testdlamch' > failed > >> > [openblas-0.2.20.p2] make[6]: *** [testdlamch] Error 1 > >> > [openblas-0.2.20.p2] [INFO] : TIMER value: INT_ETIME (given by > make.inc) > >> > [openblas-0.2.20.p2] gfortran -pthread -O2 -Wall -m64 -fPIC -lm > -lpthread -lgfortran -o testdsecnd dsecnd_INT_ETIME.o dsecndtst.o > >> > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file > or directory > >> > [openblas-0.2.20.p2] Makefile:16: recipe for target 'testsecond' > failed > >> > [openblas-0.2.20.p2] make[6]: *** [testsecond] Error 1 > >> > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file > or directory > >> > [openblas-0.2.20.p2] Makefile:20: recipe for target 'testdsecnd' > failed > >> > [openblas-0.2.20.p2] make[6]: *** [testdsecnd] Error 1 > >> > [openblas-0.2.20.p2] make[6]: Leaving directory > '/home/mercatpaul/sage/local/var/tmp/sage/build/openblas-0.2.20.p2/src/lapack-netlib/INSTALL' > > > >> > [openblas-0.2.20.p2] Makefile:17: recipe for target 'lapack_install' > failed > >> > [openblas-0.2.20.p2] make[5]: *** [lapack_install] Error 2 > >> > [openblas-0.2.20.p2] make[5]: Leaving directory > '/home/mercatpaul/sage/local/var/tmp/sage/build/openblas-0.2.20.p2/src/lapack-netlib' > > > >> > [openblas-0.2.20.p2] Makefile:215: recipe for target 'netlib' failed > >> > [openblas-0.2.20.p2] make[4]: *** [netlib] Error 2 > >> > [openblas-0.2.20.p2] make[4]: Leaving directory > '/home/mercatpaul/sage/local/var/tmp/sage/build/openblas-0.2.20.p2/src' > >> > [openblas-0.2.20.p2] > > > > >> > [openblas-0.2.20.p2] Error building openblas-0.2.20.p2 > >> > [openblas-0.2.20.p2] > > > > >> > [openblas-0.2.20.p2] > >> > [openblas-0.2.20.p2] real1m13.703s > >> > [openblas-0.2.20.p2] user7m9.646s > >> > [openblas-0.2.20.p2] sys0m58.397s > >> > [openblas-0.2.20.p2] > > >> > [openblas-0.2.20.p2] Error installing package openblas-0.2.20.p2 > >> > [openblas-0.2.20.p2] > > >> > [openblas-0.2.20.p2] Please email sage-devel ( > http://groups.google.com/group/sa
Re: [sage-devel] Error building sage-8.4 on Ubuntu
The compilation is successful now ! It was enough to set SAGE_INSTALL_GCC='yes'. Le lundi 29 octobre 2018 18:08:41 UTC+1, Paul Mercat a écrit : > > > I tried to recompile with SAGE_INSTALL_GCC='yes', and now openblas compile > (but the compilation of sage is not terminated). > > Le lundi 29 octobre 2018 17:04:30 UTC+1, Dima Pasechnik a écrit : >> >> So this must mean that you actually failed to gfortran package, no? >> (cause if you don't have gfortran installed it would be built --- of >> course it's madness to do on Linux, where >> you can just install gfortran). >> On Mon, Oct 29, 2018 at 4:49 PM 'Paul Mercat' via sage-devel >> wrote: >> > >> > No, gfortran was not installed, nor anaconda. I tried to compile sage >> on a fresh new installation of Ubuntu. >> > >> > Le lundi 29 octobre 2018 16:18:41 UTC+1, Dima Pasechnik a écrit : >> >> >> >> This looks like you have several versions of gfortran guts lying >> >> around. A leftover from (ana)conda? >> >> >> >> On Mon, Oct 29, 2018 at 3:02 PM 'Paul Mercat' via sage-devel >> >> wrote: >> >> > >> >> > Hi ! >> >> > >> >> > I tried to compile sage-8.4, and I have the following error. >> >> > >> >> > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file >> or directory >> >> > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file >> or directory >> >> > [openblas-0.2.20.p2] Makefile:7: recipe for target 'testlsame' >> failed >> >> > [openblas-0.2.20.p2] make[6]: *** [testlsame] Error 1 >> >> > [openblas-0.2.20.p2] make[6]: *** Waiting for unfinished jobs >> >> > [openblas-0.2.20.p2] Makefile:10: recipe for target 'testslamch' >> failed >> >> > [openblas-0.2.20.p2] make[6]: *** [testslamch] Error 1 >> >> > [openblas-0.2.20.p2] [INFO] : TIMER value: INT_ETIME (given by >> make.inc) >> >> > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file >> or directory >> >> > [openblas-0.2.20.p2] gfortran -pthread -O2 -Wall -m64 -fPIC -lm >> -lpthread -lgfortran -o testsecond second_INT_ETIME.o secondtst.o >> >> > [openblas-0.2.20.p2] Makefile:13: recipe for target 'testdlamch' >> failed >> >> > [openblas-0.2.20.p2] make[6]: *** [testdlamch] Error 1 >> >> > [openblas-0.2.20.p2] [INFO] : TIMER value: INT_ETIME (given by >> make.inc) >> >> > [openblas-0.2.20.p2] gfortran -pthread -O2 -Wall -m64 -fPIC -lm >> -lpthread -lgfortran -o testdsecnd dsecnd_INT_ETIME.o dsecndtst.o >> >> > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file >> or directory >> >> > [openblas-0.2.20.p2] Makefile:16: recipe for target 'testsecond' >> failed >> >> > [openblas-0.2.20.p2] make[6]: *** [testsecond] Error 1 >> >> > [openblas-0.2.20.p2] gfortran: error: libgfortran.spec: No such file >> or directory >> >> > [openblas-0.2.20.p2] Makefile:20: recipe for target 'testdsecnd' >> failed >> >> > [openblas-0.2.20.p2] make[6]: *** [testdsecnd] Error 1 >> >> > [openblas-0.2.20.p2] make[6]: Leaving directory >> '/home/mercatpaul/sage/local/var/tmp/sage/build/openblas-0.2.20.p2/src/lapack-netlib/INSTALL' >> >> >> >> > [openblas-0.2.20.p2] Makefile:17: recipe for target 'lapack_install' >> failed >> >> > [openblas-0.2.20.p2] make[5]: *** [lapack_install] Error 2 >> >> > [openblas-0.2.20.p2] make[5]: Leaving directory >> '/home/mercatpaul/sage/local/var/tmp/sage/build/openblas-0.2.20.p2/src/lapack-netlib' >> >> >> >> > [openblas-0.2.20.p2] Makefile:215: recipe for target 'netlib' failed >> >> > [openblas-0.2.20.p2] make[4]: *** [netlib] Error 2 >> >> > [openblas-0.2.20.p2] make[4]: Leaving directory >> '/home/mercatpaul/sage/local/var/tmp/sage/build/openblas-0.2.20.p2/src' >> >> > [openblas-0.2.20.p2] >> >> >> >> >> > [openblas-0.2.20.p2] Error building openblas-0.2.20.p2 >> >> > [openblas-0.2.20.p2] >> >> >> >> >> > [openblas-0.2.20.p2] >> >> > [openblas-0.2.20.p2] real1m13.703s >> >> > [openblas-0.2.2
Re: [sage-devel] sage 8.4 compilation error with r
I saw your message too late and recompiled everything, but now it works! Thank you very much! Le lundi 29 octobre 2018 10:06:56 UTC+1, Dima Pasechnik a écrit : > > maybe running ./configure followed by make will fix this. > (as ./configure hopefully will tell Sage where to look for the "right" > curl) > > On Mon, Oct 29, 2018 at 8:52 AM 'Paul Mercat' via sage-devel > > wrote: > > > > I tried that, but I get the same error. > > Do I need to recompile everything from the beginning ? > > > > Le dimanche 28 octobre 2018 22:28:28 UTC+1, Samuel Lelievre a écrit : > >> > >> So the solution is to change your PATH before you start building Sage, > >> so that the PATH does not contain Anaconda. > > > > -- > > 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+...@googlegroups.com . > > To post to this group, send email to sage-...@googlegroups.com > . > > Visit this group at https://groups.google.com/group/sage-devel. > > 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. For more options, visit https://groups.google.com/d/optout.
[sage-devel] QQbar.simplify() or minpoly() don't work
Hi ! I have a problem with this example: sage: b = (x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1).roots(ring=QQbar)[3][0] sage: b.abs().minpoly() It doesn't terminates ! (In fact it finished a very long tilme after with a pari stack overflow.) (If I do b.abs().simplify(), the result is the same). But if I do this computation in an other way, it works (it takes only a few seconds): sage: b = (x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1).roots(ring=QQbar)[3][0] sage: y = b*b.conjugate() sage: y.simplify() sage: sqrt(y).minpoly() If I don't do the step y.simplify(), the computation doesn't terminates (or at least it takes more than 15min). Computations in QQbar should be improved... Is it possible to make sage use the second way to compute the minpoly of b.abs() ? Paul -- 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.
[sage-devel] Re: Binary sage-8.7-OSX_10.11.6-x86_64.tar.bz2 doesn't work on my Mac
Thank you. It looks like the problem has been solved in sage-8.8, unfortunably the binary is not available for macOS 10.11.6 but only for macOS 10.14.5. And I tried to install binaries of sage-8.5, sage-8.6 and sage-8.7 for macOS 10.11.6 and nothing works on my computer (with 8.6 I have the same error, and with 8.5 I have a different one). There is no way for macOS 10.11.6 users to install Sage without compiling it from source ? Paul Le samedi 10 août 2019 03:33:29 UTC+2, Matthias Koeppe a écrit : > > On Friday, August 9, 2019 at 8:23:50 AM UTC-7, Paul Mercat wrote: >> >> I downloaded the file sage-8.7-OSX_10.11.6-x86_64.tar.bz2, then extract >> the files, and then ran sage, and I get the following error : >> >> MacBook-Pro-de-Paul:SageMath mercatp$ ./sage >> >> RecursionError: maximum recursion depth exceeded during compilation >> >> Error running the script 'relocate-once.py'. >> >> >> > https://github.com/sagemath/binary-pkg/issues/16 > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/62016acd-39f2-4552-a583-b23f53902b50%40googlegroups.com.
[sage-devel] Re: Binary sage-8.7-OSX_10.11.6-x86_64.tar.bz2 doesn't work on my Mac
Thank you, I found a binary of sage-8.8 for macOS 10.11.6 on the MIT mirror (but not in other europeen mirrors I tried), and it works ! Le mardi 13 août 2019 14:15:37 UTC+2, kcrisman a écrit : > > > > > Thank you. >> It looks like the problem has been solved in sage-8.8, unfortunably the >> binary is not available for macOS 10.11.6 but only for macOS 10.14.5. >> And I tried to install binaries of sage-8.5, sage-8.6 and sage-8.7 for >> macOS 10.11.6 and nothing works on my computer (with 8.6 I have the same >> error, and with 8.5 I have a different one). >> There is no way for macOS 10.11.6 users to install Sage without compiling >> it from source ? >> > > Most of those binaries for 10.11 were created by me, but maybe I forgot to > make one for 8.8. It is possible that some of those others were created > with this bug, though I haven't seen this report before (not that I'm > checking the lists continually). I'll try to rectify this, as well as make > one for 8.9 when it comes out. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/49f47945-8b7a-4621-bbd3-1a2195dedcb5%40googlegroups.com.
[sage-devel] Binary sage-8.7-OSX_10.11.6-x86_64.tar.bz2 doesn't work on my Mac
Hi, I downloaded the file sage-8.7-OSX_10.11.6-x86_64.tar.bz2, then extract the files, and then ran sage, and I get the following error : MacBook-Pro-de-Paul:SageMath mercatp$ ./sage RecursionError: maximum recursion depth exceeded during compilation Error running the script 'relocate-once.py'. Do you know what is the problem ? My version of MacOS is 10.11.6. Paul -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/3ca37402-739a-4a77-bac5-d52d5ae55025%40googlegroups.com.
[sage-devel] Wrong matrix of Permutation
Hi ! Sage doesn't compute correctly the matrix of a Permutation: matrix(Permutation('(1,2,3,4)')) return a wrong answer: it returns the inverse of the correct result. The product of matrices of permutations must be equal to the matrix of the composition. If we do: PermutationGroup([(1,2,3,4)]).gens()[0].matrix() then we get the correct result. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/ef0cf95f-63be-4aed-9bd8-54932b1c2282o%40googlegroups.com.
[sage-devel] Re: Wrong matrix of Permutation
Another bug with PermutationGroup: {{ g1,g2 = PermutationGroup([(1,2,3,4), (1,3,2,4)]).gens() (g1*g2)(3), g1(g2(3)) }} should gives two times the same result, but it is not the case... The action of the group on {1,2,3,4} is not an action ! Le lundi 15 juin 2020 16:58:18 UTC+2, Paul Mercat a écrit : > > Hi ! > > Sage doesn't compute correctly the matrix of a Permutation: > > matrix(Permutation('(1,2,3,4)')) > > return a wrong answer: it returns the inverse of the correct result. > The product of matrices of permutations must be equal to the matrix of the > composition. > > If we do: > > PermutationGroup([(1,2,3,4)]).gens()[0].matrix() > > then we get the correct result. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/e4095a01-08f8-4aa1-924d-2c4494aeddd3o%40googlegroups.com.
Re: [sage-devel] Re: Wrong matrix of Permutation
Thank you for your answers. It's very confusing to write a right action to the left : we write g(i) and not (i)g. By default it should be a left action. And its very confusing that PermutationGroup and Permutation doesn't give the same matrix for the same permutation. I think that Sage should be coherent with itself as much as possible, and that it should choose the most natural convention. Best regards, Paul Le lundi 15 juin 2020 17:30:33 UTC+2, David Joyner a écrit : > > > > On Mon, Jun 15, 2020 at 11:21 AM 'Paul Mercat' via sage-devel < > sage-...@googlegroups.com > wrote: > >> Another bug with PermutationGroup: >> >> {{ >> g1,g2 = PermutationGroup([(1,2,3,4), (1,3,2,4)]).gens() >> (g1*g2)(3), g1(g2(3)) >> }} >> >> should gives two times the same result, but it is not the case... >> The action of the group on {1,2,3,4} is not an action ! >> > > Did you mean to say the action on {1,2,3,4} is not a left action? > Some prefer right actions > > >> >> Le lundi 15 juin 2020 16:58:18 UTC+2, Paul Mercat a écrit : >>> >>> Hi ! >>> >>> Sage doesn't compute correctly the matrix of a Permutation: >>> >>> matrix(Permutation('(1,2,3,4)')) >>> >>> return a wrong answer: it returns the inverse of the correct result. >>> The product of matrices of permutations must be equal to the matrix of >>> the composition. >>> >>> If we do: >>> >>> PermutationGroup([(1,2,3,4)]).gens()[0].matrix() >>> >>> then we get the correct result. >>> >> -- >> 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/e4095a01-08f8-4aa1-924d-2c4494aeddd3o%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sage-devel/e4095a01-08f8-4aa1-924d-2c4494aeddd3o%40googlegroups.com?utm_medium=email_source=footer> >> . >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/fa42b74e-c614-426e-96c3-bd7fe48ad4d4o%40googlegroups.com.