#8542: Pynac does not build a DLL on Cygwin
-----------------------+----------------------------------------------------
Reporter: mhansen | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone:
Component: cygwin | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
Comment(by mhansen):
It basically comes down to adding the following changes
{{{
diff -r 1cf1634d68b0 configure.ac
--- a/configure.ac Sun Mar 14 20:20:48 2010 -0800
+++ b/configure.ac Mon Mar 15 00:15:49 2010 -0800
@@ -71,6 +71,7 @@
AC_PROG_CXXCPP
AC_PROG_INSTALL
AM_PROG_LIBTOOL
+AC_LIBTOOL_WIN32_DLL
dnl Check for data types which are needed by the hash function
dnl (golden_ratio_hash).
diff -r 1cf1634d68b0 ginac/Makefile.am
--- a/ginac/Makefile.am Sun Mar 14 20:20:48 2010 -0800
+++ b/ginac/Makefile.am Mon Mar 15 00:15:49 2010 -0800
@@ -10,7 +10,7 @@
pseries.cpp print.cpp symbol.cpp symmetry.cpp tensor.cpp \
utils.cpp wildcard.cpp \
remember.h tostring.h utils.h compiler.h
-libpynac_la_LDFLAGS = -version-info $(LT_VERSION_INFO) -release
$(LT_RELEASE)
+libpynac_la_LDFLAGS = -version-info $(LT_VERSION_INFO) -release
$(LT_RELEASE) -no-undefined
ginacincludedir = $(includedir)/pynac
ginacinclude_HEADERS = ginac.h add.h archive.h assertion.h basic.h
class_info.h \
clifford.h color.h constant.h container.h ex.h expair.h expairseq.h \
}}}
and fixing the fallout by making sure that Python gets linked in.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8542#comment:1>
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.