Re: [sage-devel] Re: Sage 6.5, pyzmq, Fedora GCC
On Tue, 24 Feb 2015, Volker Braun wrote: yum install perl-ExtUtils-MakeMaker Yes, now it works. So, for others to follow, here is whole command to run after installing Fedora 21 server before compiling Sage: yum install binutils gcc gcc-c++ gcc-gfortran m4 perl perl-ExtUtils-MakeMaker (Or actually only yum install binutils gcc-c++ gcc-gfortran m4 perl-ExtUtils-MakeMaker is needed because of course perl-ExtUtils-MakeMaker depens on perl and gcc-c++ on gcc.) -- Jori Mäntysalo
Re: [sage-devel] Re: Sage 6.5, pyzmq, Fedora GCC
yum install perl-ExtUtils-MakeMaker On Tuesday, February 24, 2015 at 10:20:39 AM UTC+1, Jori Mantysalo wrote: > > This time I got "Can't locate ExtUtils/MakeMaker.pm". Full log is > attached. And this is from serial build on fresh Fedora 21 server > installation. > > -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: Sage 6.5, pyzmq, Fedora GCC
This time I got "Can't locate ExtUtils/MakeMaker.pm". Full log is attached. And this is from serial build on fresh Fedora 21 server installation. I will continue after installing perl pacakges. -- Jori Mäntysalo Found local metadata for git-2.1.2 Found local sources at /home/user/sage-6.5/upstream/git-2.1.2.tar.gz Checksum: 25bd471879e0cbdc4d6cc6eedf307491 vs 25bd471879e0cbdc4d6cc6eedf307491 git-2.1.2 Setting up build directory for git-2.1.2 Finished set up Host system: Linux localhost.localdomain 3.17.4-301.fc21.x86_64 #1 SMP Thu Nov 27 19:09:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) Using install program /bin/install make[3]: Entering directory '/home/user/sage-6.5/local/var/tmp/sage/build/git-2.1.2/src' GIT_VERSION = 2.1.2 make[3]: 'GIT-VERSION-FILE' is up to date. make[3]: Leaving directory '/home/user/sage-6.5/local/var/tmp/sage/build/git-2.1.2/src' Configuring git... configure: Setting SANE_TOOL_PATH to '' configure: Setting lib to 'lib' (the default) configure: Will try -pthread then -lpthread to enable POSIX Threads. configure: CHECKS for site configuration checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes configure: Setting PYTHON_PATH to /home/user/sage-6.5/local/bin/python configure: CHECKS for programs checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for inline... inline checking if linker supports -R... no checking if linker supports -Wl,-rpath,... yes checking for gtar... gtar checking for gnudiff... no checking for gdiff... no checking for diff... diff checking for asciidoc... no configure: CHECKS for libraries checking for SHA1_Init in -lcrypto... no checking for SHA1_Init in -lssl... no checking for curl_global_init in -lcurl... no checking for XML_ParserCreate in -lexpat... no checking for iconv in -lc... yes checking for deflateBound in -lz... yes checking for socket in -lc... yes checking for inet_ntop... yes checking for inet_pton... yes checking for hstrerror... yes checking for basename in -lc... yes checking for gettext in -lc... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes configure: CHECKS for header files checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking for inttypes.h... (cached) yes checking for old iconv()... no configure: CHECKS for typedefs, structures, and compiler characteristics checking for socklen_t... yes checking for struct dirent.d_ino... yes checking for struct dirent.d_type... yes checking for struct passwd.pw_gecos... yes checking for struct sockaddr_storage... yes c
Re: [sage-devel] Re: Sage 6.5, pyzmq, Fedora GCC
On Mon, 23 Feb 2015, Volker Braun wrote: post the log Duh. There was no c++ compiler installed. It seems that configure continues after not founding g++; contrary to this, if ar is not found, configure stops (and last error message is meaningful). I am now compiling without parallel compiling and on fresh installation of Fedora 21 server. If I don't write write more to this thread, everything went OK. * * * As a side note: to get Sage compiling, I must say yum install binutils gcc gcc-c++ gcc-gfortran m4 perl I think that there was some discussion about m4 several months ago. -- Jori Mäntysalo This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Sage configure 6.5.rc2, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --disable-compiler-checks ## - ## ## Platform. ## ## - ## hostname = localhost.localdomain uname -m = x86_64 uname -r = 3.17.4-301.fc21.x86_64 uname -s = Linux uname -v = #1 SMP Thu Nov 27 19:09:10 UTC 2014 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/user/sage-6.5/src/bin PATH: /home/user/sage-6.5/local/bin PATH: /usr/local/bin PATH: /bin PATH: /usr/bin PATH: /usr/local/sbin PATH: /usr/sbin PATH: /home/user/.local/bin PATH: /home/user/bin ## --- ## ## Core tests. ## ## --- ## configure:2354: checking for a BSD-compatible install configure:2422: result: /bin/install -c configure:2433: checking whether build environment is sane configure:2488: result: yes configure:2639: checking for a thread-safe mkdir -p configure:2678: result: /bin/mkdir -p configure:2685: checking for gawk configure:2701: found /bin/gawk configure:2712: result: gawk configure:2723: checking whether make sets $(MAKE) configure:2745: result: yes configure:2774: checking whether make supports nested variables configure:2791: result: yes configure:2919: checking whether to enable maintainer-specific portions of Makefiles configure:2928: result: yes configure:2945: checking for root user configure:2954: result: no configure:2994: checking build system type configure:3008: result: x86_64-unknown-linux-gnu configure:3028: checking host system type configure:3041: result: x86_64-unknown-linux-gnu configure:3172: checking for ar configure:3188: found /bin/ar configure:3200: result: yes configure:3221: checking for m4 configure:3237: found /bin/m4 configure:3249: result: yes configure:3270: checking for ranlib configure:3286: found /bin/ranlib configure:3298: result: yes configure:3319: checking for strip configure:3335: found /bin/strip configure:3347: result: yes configure:3367: checking for GNU or BSD tar configure:3415: result: /bin/tar configure:3482: checking for latex configure:3510: result: no configure:3520: WARNING: You do not have 'latex', which is recommended, but not configure:3522: WARNING: required. Latex is only really used for building pdf configure:3524: WARNING: documents and for %latex mode in the Sage notebook. configure:3534: checking for perl configure:3552: found /bin/perl configure:3564: result: /bin/perl configure:3572: checking for Perl version 5.8.0 or later configure:3583: result: yes configure:3599: checking for dpkg configure:3627: result: no configure:3637: checking for dpkg-architecture configure:3665: result: no configure:3744: checking for gcc configure:3771: result: gcc configure:4000: checking for C compiler version configure:4009: gcc --version >&5 gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4020: $? = 0 configure:4009: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-li
Re: [sage-devel] Re: Sage 6.5, pyzmq, Fedora GCC
On Monday, February 23, 2015 at 10:36:40 AM UTC+1, Jori Mantysalo wrote: > > Did you test on Fedora 21 server on Fedora 21 normal version? At server > version, and after installing m4, binutils, perl, gcc and gfortran I got > error about cpp sanity check failing. > post the log -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: Sage 6.5, pyzmq, Fedora GCC
On Fri, 20 Feb 2015, Volker Braun wrote: You need to build the zeromq library before building the python binding for it: sage -f zeromq && sage -f pyzmq Definitely works on Fedora 21 I don't quite understand. I was building whole Sage, not just one package. Did you test on Fedora 21 server on Fedora 21 normal version? At server version, and after installing m4, binutils, perl, gcc and gfortran I got error about cpp sanity check failing. But maybe I should first test with workstation version. -- Jori Mäntysalo
[sage-devel] Re: Sage 6.5, pyzmq, Fedora GCC
You need to build the zeromq library before building the python binding for it: sage -f zeromq && sage -f pyzmq Definitely works on Fedora 21 On Friday, February 20, 2015 at 11:35:10 AM UTC+1, Jori Mantysalo wrote: > > FYI when trying to make Sage[math] 6.5 on Fedora 21 I got > > - - - - > > gcc build/temp.linux-x86_64-2.7/scratch/vers.o > -L/home/jm58660/sage-6.5/local/lib -Wl,-R/home/jm58660/sage-6.5/local/lib > -lzmq -lrt -o build/temp.linux-x86_64-2.7/scratch/vers > /home/jm58660/sage-6.5/local/lib/libzmq.so: undefined reference to > `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' > collect2: error: ld returned 1 exit status > > error: command 'gcc' failed with exit status 1 > > Fatal: Falling back on bundled libzmq, but setup.cfg has explicitly > prohibited building the libzmq extension. > > real0m0.512s > user0m0.261s > sys 0m0.085s > > Error installing package pyzmq-14.3.0 > > - - - > > I will continue with SAGE_INSTALL=GCC=yes, but the error message might be > of interest to someone. > > -- > Jori Mäntysalo > -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.