#17254: Upgrade to Singular-4-0-1
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-6.4
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  3a512cd7e08e21a4a4e66bfe9179290601717ba0
  u/jakobkroeker/ticket.17254.squashed|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by john_perry):

 Replying to [comment:35 fbissey]:
 > I haven't looked yet at the new singular 4.0.x but the first port of
 call would be to check if the header is indeed installed in
 `$SAGE_LOCAL/include`.

 Shortly after, that installation of Sage fell completely apart (not sure
 why) so now I'm working on Sage-6.7.

 On 6.7, git identifies some issues with merging in singular.pyx and
 ring.pyx, but they're fairly clear to fix, so I did. (Unless they
 ''weren't'' easy.) Things went much further this time, until I encountered
 this error:

 {{{
 ****************************************************
 ### Singular spkg-install: choose_patches ###
 ### Singular spkg-install: apply_patches ###
 Applying
 
/Applications/sage-6.7/local/var/tmp/sage/build/singular-4.0.1p1.p0/patches/stricmp.patch
 can't find file to patch at input line 7
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |stricmp is being deprecated in Cygwin.
 |One should use strcasecmp.
 |See https://cygwin.com/ml/cygwin/2014-10/msg00359.html
 |diff -druN src/latest/Singular/run.c src/latest/Singular/run.c
 |--- latest/Singular/run.c      2014-11-19 14:06:05.000000000 +0100
 |+++ latest/Singular/run.c      2015-01-16 09:32:45.771298300 +0100
 --------------------------
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored
 Error applying
 
'/Applications/sage-6.7/local/var/tmp/sage/build/singular-4.0.1p1.p0/patches/stricmp.patch'
 Error building Singular (error in apply_patches).
 }}}
 Here's what the file in question suggests:
 {{{
 stricmp is being deprecated in Cygwin.
 One should use strcasecmp.
 See https://cygwin.com/ml/cygwin/2014-10/msg00359.html
 diff -druN src/latest/Singular/run.c src/latest/Singular/run.c
 --- latest/Singular/run.c       2014-11-19 14:06:05.000000000 +0100
 +++ latest/Singular/run.c       2015-01-16 09:32:45.771298300 +0100
 @@ -45,6 +45,7 @@
   #include <sys/stat.h>
   #include <sys/cygwin.h>
   #include <sys/unistd.h>
 + #define stricmp strcasecmp
  //WinMainCRTStartup() { mainCRTStartup(); }
  #else
   #include <direct.h>
 }}}
 Indeed, I do not find `run.c` in
 `local/var/tmp/sage/build/singular-4.0.1p1.p0/src/latest/Singular/`, which
 I am guessing is where this is supposed to be; instead, I find only run.h.

 In my local distribution of Singular, I find a `run.c`. If I copy it over
 & try to make, I get the same complaint, & it looks as if the file is
 actually deleted. Suggestions?

--
Ticket URL: <http://trac.sagemath.org/ticket/17254#comment:36>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

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

Reply via email to