On Saturday 03 December 2011 19:13:41 Bill Hart wrote: > Forwarding to MPIR devel, where it might get some attention. > > On 3 December 2011 19:08, kcrisman <[email protected]> wrote: > > > > > > On Dec 3, 1:08 pm, kcrisman <[email protected]> wrote: > >> I have a repeatable failure. This is presumably due to the MPIR > >> upgrade in 4.8.alpha0, seehttp://trac.sagemath.org/sage_trac/ticket/8664, > > > > Ah, I'm pretty sure yes. > > > >> configure: error: cannot build both static and DLL, since mpir.h is > >> different for each. > >> Use "--disable-static --enable-shared" to build just a DLL. > >> Error configuring MPIR. (See above for the options passed to it.) > >
This has always been the case for all windows systems , ie MSVC , cygwin , MSYS , and even interex. I don't think it's possible to make mpir.h independent of dll vs static builds, it basically has to be done in the makefile/build solution > > From the diff from mpir-2.1.3.p0-p1: > > > > - SAGE_CONF_OPTS="--enable-shared --disable-static" > > + # Also build the static library to be used by e.g. ECM: > > + # SAGE_CONF_OPTS="--enable-shared --disable-static" > > + SAGE_CONF_OPTS="--enable-shared --enable-static" > > + # (Further options to 'configure' are added below.) > > > > I'm cc:ing this to sage-devel in case the folks who added this have > > any ideas of how to fix it. I assume that going back to the --disable- > > static is not possible. > > > > If there's still a copy of mpir-2.1.3.p0 hanging around in someone's > > sage.math home directory, I could try that to make sure this really is > > the problem, for instance. > > > > I've also added a short note on #8664. > > > > - kcrisman > > > > -- > > You received this message because you are subscribed to the Google Groups > > "sage-windows" 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-windows?hl=en. > > > > -- You received this message because you are subscribed to the Google Groups "mpir-devel" 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/mpir-devel?hl=en.
