I spent a few hours today adding a CMake build system as you mentioned that you are open to having a cmake build system. My work is at https://github.com/isuruf/ntl
The CMake build system has all of the options in the perl script except for the wizard. You can try it by doing, cmake -DNATIVE=1 -DBUILD_SHARED_LIBS=yes -DBUILD_TESTING=yes .. make -j8 ctest Let me know what you think. If you want to use this as the build system for ntl going forward, then I can add support for the wizard as well. Isuru On Sat, Sep 7, 2019 at 10:56 AM Victor Shoup <sh...@cs.nyu.edu> wrote: > I just posted NTL 11.3.4. > > Details here [ https://www.shoup.net/ntl/ ]. > > This (I hope) fixes the "-lpthread underlinking issue" reported here [ > https://trac.sagemath.org/ticket/28406 ] and discussed at excessive > length (mostly due to my own obstinance) here [ > https://groups.google.com/forum/#!topic/sage-devel/Xjc5BZ9QUFs ]. > > My solution was to simply have NTL's makefile pass -lpthread to libtool > when building the library (but only if the library is shared and > multithreaded). There is also a way to explicitly override this behavior, > if that is necessary (but I hope it's not). > > If this does not fix the issue, please let me know. > > Thanks to everyone for their help in sorting out the problem and for > putting up with my foot dragging on the issue. > > Some day, I have to make NTL's build system more "standard". Some day, I > have to put NTL on GitHub. Some day, I have to do a lot of things... > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/7495bf0a-c2ad-4c8d-a22f-4813c1ed6683%40googlegroups.com > <https://groups.google.com/d/msgid/sage-devel/7495bf0a-c2ad-4c8d-a22f-4813c1ed6683%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CA%2B01voP65P3228by5x2RVAOWAOzbWG6Nu%3D_ranF3vM9W%2Bw3dbw%40mail.gmail.com.