#13325: eclib does not build on Cygwin
--------------------------------------------------------------+-------------
       Reporter:  jpflori                                     |         Owner:  
tbd         
           Type:  defect                                      |        Status:  
needs_review
       Priority:  major                                       |     Milestone:  
sage-5.6    
      Component:  cygwin                                      |    Resolution:  
            
       Keywords:  eclib spkg cygwin                           |   Work issues:  
            
Report Upstream:  Fixed upstream, in a later stable release.  |     Reviewers:  
            
        Authors:  Jean-Pierre Flori                           |     Merged in:  
            
   Dependencies:  #13333                                      |      Stopgaps:  
            
--------------------------------------------------------------+-------------

Old description:

> There are two problems with the current spkg on Cygwin:
> * -lgmp should come after -lntl and -lpari, I fixed this in configure.ac
> * the executables names in tests/Makefile.am should finish with
> $(EXEEXT), fixed there as well.
> * the -no-undefined flag should also be passed to libtool so that a
> shared library gets built on Cygwin and for sage.libs.mwrank to be
> functional.
>
> All of this is fixed in the 2012-08-30 release.
> Try updated spkg at
> http://perso.telecom-paristech.fr/~flori/sage/eclib-20120830.spkg
> or
> http://www.infres.enst.fr/~flori/sage/eclib-20120830.spkg
> Moreover, to make this correctly compile on CYGWIN, presently you will
> need, for instance, to manually create in {{{SAGELOCAL/lib/}}} a symbolic
> link named {{{libpari.dll.a}}} to {{{libpari-gmp.dll}}} or use the PARI
> spkg from #13333.
>
> Apply [attachment:trac_13325.patch].

New description:

 There are two problems with the current spkg on Cygwin:
 * -lgmp should come after -lntl and -lpari, I fixed this in configure.ac
 * the executables names in tests/Makefile.am should finish with $(EXEEXT),
 fixed there as well.
 * the -no-undefined flag should also be passed to libtool so that a shared
 library gets built on Cygwin and for sage.libs.mwrank to be functional.

 All of this is fixed in the 2012-08-30 upstream release.
 Try updated spkg at
 http://www.infres.enst.fr/~flori/sage/eclib-20120830.spkg

 Apply [attachment:trac_13325.patch].

--

Comment (by jpflori):

 Replying to [comment:117 cremona]:
 > Replying to [comment:115 kcrisman]:
 > > This works on Mac.  John, could you check on some kind of Linux?  I
 think that's enough for positive review.  Then the buildbot should do the
 rest once Jeroen merges this...
 >
 > Testing the spkg on 5.4.1 on linux (64-bit ubuntu), will report back.
 Nor testing on Linux, but that won't hurt :)

 What I think really matters is for someone to look at
 [attachment:trac_13325.patch] and say "ok, this makes sense, let's merge
 this".

 I think that even John could put himself as reviewer here as he worked on
 the "upstream" side of this ticket (and I agree with all the great work he
 did if he needs some approbation on his side).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13325#comment:118>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to