the error is certainly here: building 'crypt' extension ... gcc -shared -Wl,--enable-auto-image-base -L. -L/home/Erana/sage/local/lib -Wl,-rpath,/home/Erana/sage/local/lib -L. -L/home/Erana/sage/local/lib -Wl,-rpath,/home/Erana/sage/local/lib build/temp.cygwin-2.10.0-x86_64-2.7/home/Erana/sage/local/var/tmp/sage/build/python2-2.7.14.p2/src/Modules/cryptmodule.o -L/home/Erana/sage/local/lib -L/usr/local/lib -L. -L. -lpython2.7 -o build/lib.cygwin-2.10.0-x86_64-2.7/crypt.dll build/temp.cygwin-2.10.0-x86_64-2.7/home/Erana/sage/local/var/tmp/sage/build/python2-2.7.14.p2/src/Modules/cryptmodule.o: In function `crypt_crypt': /home/Erana/sage/local/var/tmp/sage/build/python2-2.7.14.p2/src/Modules/cryptmodule.c:27: undefined reference to `crypt' /home/Erana/sage/local/var/tmp/sage/build/python2-2.7.14.p2/src/Modules/cryptmodule.c:27:(.text+0x30): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `crypt' collect2: error: ld returned 1 exit status
Comparing with the log for Linux: gcc -pthread -shared -L. -L/home/dima/Sage/sage-dev/local/lib -Wl,-rpath,/home/dima/Sage/sage-dev/local/lib -L. -L/home/dima/Sage/sage-dev/local/lib -Wl,-rpath ,/home/dima/Sage/sage-dev/local/lib build/temp.linux-x86_64-2.7/home/dima/Sage/sage-dev/local/var/tmp/sage/build/python2-2.7.14.p2/src/Modules/cryptmodule.o -L /home/dima/Sage/sage-dev/local/lib -L/usr/local/lib -L. -lcrypt -lpython2.7 -o build/lib.linux-x86_64-2.7/crypt.so I see that -lcrypt is missing in your case. I don't know why... On Tuesday, February 6, 2018 at 3:00:47 PM UTC, ערן אסף wrote: > > Hi, > I have a 64-bit windows 10 Pro operating system running on a single > (Intel) processor PC. > In order to develop for sage on it, I have installed cygwin with all > required packages - > gcc, make, m4, perl, binutils, python, git, perl-ExtUtils-MakeMaker, > openssl, openssl-devel, texlive, tk, tk-dev, openssh, lapack, lapack-devel > > Then I cloned the source code, checked out, and ran the make command. > When building python, I got the following error message: > Python build finished, but the necessary bits to build these modules were > not found: > _bsddb _curses > _curses_panel > _tkinter bsddb185 > dl > imageop linuxaudiodev > nis > ossaudiodev spwd > sunaudiodev > To find the necessary bits, look in setup.py in detect_modules() for the > module's name. > Failed to build these modules: > crypt > > and a request to post here the problem and the log file, which I do. > > I have checked that from python shell, import crypt works, and the method > crypt.crypt works well. > > Any help will be appreciated, > Thank you, > Eran > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
