#11547: Copy needed dll to so files on Cygwin
------------------------+---------------------------------------------------
Reporter: kcrisman | Owner: tbd
Type: defect | Status: positive_review
Priority: major | Milestone: sage-4.7.2
Component: cygwin | Keywords: cygwin FLINT NTL cliquer DLL shared
library
Work_issues: | Upstream: N/A
Reviewer: | Author: Mike Hansen, Karl-Dieter Crisman
Merged: | Dependencies: #11246
------------------------+---------------------------------------------------
Old description:
> As was put on [wiki:CygwinPort the wiki for Cygwin],
> {{{
> The following files need to be copied "libcliquer.dll -> libcliquer.so",
> "libflint.dll -> libflint.so", "libntl.dll.a -> libntl.dll"
> }}}
>
> ----
> Three spkg upgrades:
> * [http://sage.math.washington.edu/home/kcrisman/cliquer-1.2.p10.spkg
> cliquer-1.2.p10.spkg]
> * [http://sage.math.washington.edu/home/kcrisman/flint-1.5.0.p7.spkg
> flint-1.5.0.p7.spkg] (based on #11246)
> * [http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg
> ntl-5.4.2.p13.spkg]
New description:
As was put on [wiki:CygwinPort the wiki for Cygwin],
{{{
The following files need to be copied:
"libcliquer.dll -> libcliquer.so",
"libflint.dll -> libflint.so",
"libntl.dll.a -> libntl.dll"
}}}
----
Three spkg upgrades:
* [http://sage.math.washington.edu/home/kcrisman/cliquer-1.2.p10.spkg
cliquer-1.2.p10.spkg]
* [http://spkg-upload.googlecode.com/files/flint-1.5.0.p8.spkg
flint-1.5.0.p8.spkg] (based on the latest p7 from #11246)
md5sum: `bcd152d2f0e1d503ffd1e7e637c388ef`
* [http://sage.math.washington.edu/home/kcrisman/ntl-5.4.2.p13.spkg
ntl-5.4.2.p13.spkg]
--
Comment(by leif):
Replying to [comment:12 kcrisman]:
> The current flint spkg is now no longer based on #11246, because of some
cleaning up done there. Hopefully someone there will make a p8, however.
Otherwise I would suggest splitting that one off into a different ticket,
just so the others are merged.
I've made a new FLINT p8 spkg based on the latest p7 from #11246.
'''New FLINT spkg: http://spkg-
upload.googlecode.com/files/flint-1.5.0.p8.spkg'''
'''md5sum:''' `bcd152d2f0e1d503ffd1e7e637c388ef flint-1.5.0.p8.spkg`
Except for the removal of the `.svn` directories from upstream, I haven't
made any further changes (not even replaced the other occurrences of `$CP`
by `cp`):
{{{
#!sh
leif@quadriga:~/Sage/spkgs/flint-1.5.0.p8$ hg diff --git -r flint-1.5.0.p7
-r flint-1.5.0.p8
}}}
{{{
#!diff
diff --git a/.hgtags b/.hgtags
--- a/.hgtags
+++ b/.hgtags
@@ -1,2 +1,3 @@
df4a596f2ae97186054f73ca31b94ac0a06bd2b6 flint-1.2.5.p2
5252db23001a3fa2ed4ee2ad2069673b9a82faf0 flint-1.3.0
+03fb4e599477f450c711ccc121574c03888bdf3c flint-1.5.0.p7
diff --git a/SPKG.txt b/SPKG.txt
--- a/SPKG.txt
+++ b/SPKG.txt
@@ -28,13 +28,19 @@
== Special Update/Build Instructions ==
-We patch the makefile slightly to add 64 bit OSX build support and also
change
-LIBS such that the NTL interface is linked into the flint library.
-This is not an officially supported option because flint is pure C
-and the NTL interface requires C++.
+ * We patch the makefile slightly to add 64 bit OSX build support and
also change
+ LIBS such that the NTL interface is linked into the flint library.
+ This is not an officially supported option because flint is pure C
+ and the NTL interface requires C++.
+ * Remove the '.svn' directories from upstream ('src/') if present.
== Changelog ==
+=== flint-1.5.0.p8 (Karl-Dieter Crisman, 12th July 2011) ===
+ * Enable both libflint.dll and .so on Cygwin (see Trac 11547).
+ * Use 'cp' rather than '$CP' (affects only Cygwin).
+ * Remove '.svn' directories from upstream.
+
=== flint-1.5.0.p7 (Jeroen Demeyer, 6 July 2011) ===
* Trac #11246: remove check for gcc version since we require gcc >=
4.0.1
for Sage anyway.
diff --git a/spkg-install b/spkg-install
--- a/spkg-install
+++ b/spkg-install
@@ -98,8 +98,8 @@
if [ $UNAME = "CYGWIN" ]; then
# let's move libntl.a back
mv $SAGE_LOCAL/lib/xxx_libntl.a $SAGE_LOCAL/lib/libntl.a
- # also name flint library correctly for MS Windows (an so won't
work).
- mv libflint.so libflint.dll
+ # make both kinds of dynamic libraries available for Windows
+ cp -p libflint.so libflint.dll
fi
echo "Deleting old FLINT"
rm -f $SAGE_LOCAL/lib/libflint*
}}}
Ignore the strange diff w.r.t. the tags; the new one is tagged
`flint-1.5.0.p8`, while Jeroen's latest is tagged `flint-1.5.0.p7`:
{{{
changeset: 84:2ed02e07f2ec
tag: tip
user: Karl-Dieter Crisman <[email protected]>
date: Tue Jul 12 18:00:59 2011 +0200
summary: Added tag flint-1.5.0.p8 for changeset 0c03457839bc
changeset: 83:0c03457839bc
tag: flint-1.5.0.p8
user: Karl-Dieter Crisman <[email protected]>
date: Tue Jul 12 18:00:29 2011 +0200
summary: #11547 *Copy* FLINT '.so' to '.dll' on Cygwin such that both
are available.
changeset: 82:ab8260189439
user: Jeroen Demeyer <[email protected]>
date: Wed Jul 06 13:03:09 2011 +0000
summary: Added tag flint-1.5.0.p7 for changeset 03fb4e599477
changeset: 81:03fb4e599477
tag: flint-1.5.0.p7
user: Jeroen Demeyer <[email protected]>
date: Wed Jul 06 13:03:09 2011 +0000
summary: Trac #11246: flint-1.5.0.p7 (Jeroen Demeyer, 6 July 2011)
...
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11547#comment:13>
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.