#8906: Optional package for gap3
-------------------------------------------------+-------------------------
       Reporter:  mrobado                        |        Owner:  tbd
           Type:  enhancement                    |       Status:
       Priority:  major                          |  needs_work
      Component:  packages: optional             |    Milestone:  sage-6.4
       Keywords:  gap3                           |   Resolution:
        Authors:  Jean Michel, Marco Robado,     |    Merged in:
  Nicolas M. ThiƩry                              |    Reviewers:  Burcin
Report Upstream:  N/A                            |  Erocal
         Branch:                                 |  Work issues:
   Dependencies:                                 |       Commit:
                                                 |     Stopgaps:
-------------------------------------------------+-------------------------
Changes (by saliola):

 * status:  needs_info => needs_work


Comment:

 It would be great to make this an official package!

 I tried the spkg quickly on two machines and it didn't work on either:

 - I tried {{{sage -i
 http://sage.math.washington.edu/home/nthiery/gap3-jm2.spkg}}} on Mac OSX
 and got an error
 {{{
 imac: sage --version
 Sage Version 6.2, Release Date: 2014-05-06

 imac: sage -i http://sage.math.washington.edu/home/nthiery/gap3-jm2.spkg
 Attempting to download package gap3-jm2
 >>> Trying to download
 http://sage.math.washington.edu/home/nthiery/gap3-jm2.spkg
 [............................................................]
 gap3-jm2
 ====================================================
 Extracting package /Users/saliola/Applications/sage/upstream/gap3-jm2.spkg
 -rw-r--r--  1 saliola  staff  12234482 May 14 21:16
 /Users/saliola/Applications/sage/upstream/gap3-jm2.spkg
 Finished extraction
 ****************************************************
 Host system:
 Darwin imac.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05
 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
 ****************************************************
 C compiler: gcc
 C compiler version:
 Using built-in specs.
 COLLECT_GCC=/Users/saliola/Applications/sage/local/bin/gcc
 COLLECT_LTO_WRAPPER=/Users/saliola/Applications/sage/local/libexec/gcc/x86_64
 -apple-darwin12.5.0/4.7.3/lto-wrapper
 Target: x86_64-apple-darwin12.5.0
 Configured with: ../src/configure
 --prefix=/Users/saliola/Applications/sage/local --with-local-
 prefix=/Users/saliola/Applications/sage/local --with-
 gmp=/Users/saliola/Applications/sage/local --with-
 mpfr=/Users/saliola/Applications/sage/local --with-
 mpc=/Users/saliola/Applications/sage/local --with-system-zlib --disable-
 multilib --disable-nls
 Thread model: posix
 gcc version 4.7.3 (GCC)
 ****************************************************
 dyld: Symbol not found: _sqlite3_intarray_bind
   Referenced from:
 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
   Expected in: /Users/saliola/Applications/sage/local/lib/libsqlite3.dylib
  in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
 make: error: unable to locate xcodebuild, please make sure the path to the
 Xcode folder is set correctly!
 make: error: You can set the path to the Xcode folder using /usr/bin
 /xcode-select -switch
 Compiling target macosx-gcc-686-optimized
 18176
 Error compiling Gap3
 }}}

 - I tried {{{sage -i
 http://sage.math.washington.edu/home/nthiery/gap3-jm2.spkg}}} with on
 Ubuntu 14.04 and got an error
 {{{
 T7600: sage --version
 Executing: /home/saliola/Applications/sage/sage
 SageMath Version 6.7.beta2, Release Date: 2015-04-21

 T7600: sage -i http://sage.math.washington.edu/home/nthiery/gap3-jm2.spkg
 Executing: /home/saliola/Applications/sage/sage
 Attempting to download package gap3-jm2
 >>> Trying to download
 http://sage.math.washington.edu/home/nthiery/gap3-jm2.spkg
 [............................................................]
 gap3-jm2
 ====================================================
 Extracting package /home/saliola/Applications/sage/upstream/gap3-jm2.spkg
 -rw-rw-r-- 1 saliola saliola 12234482 May 14 21:14
 /home/saliola/Applications/sage/upstream/gap3-jm2.spkg
 Finished extraction
 ****************************************************
 Host system:
 Linux T7600 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015
 x86_64 x86_64 x86_64 GNU/Linux
 ****************************************************
 C compiler: gcc
 C compiler version:
 Using built-in specs.
 COLLECT_GCC=/usr/bin/gcc
 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
 Target: x86_64-linux-gnu
 Configured with: ../src/configure -v --with-pkgversion='Ubuntu
 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
 --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
 --program-suffix=-4.8 --enable-shared --enable-linker-build-id
 --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
 --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
 --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-
 libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
 --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-
 awt=gtk --enable-gtk-cairo --with-java-
 home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-
 jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-
 dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-
 directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-
 objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-
 abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-
 checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
 --target=x86_64-linux-gnu
 Thread model: posix
 gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
 ****************************************************
 make[1]: Entering directory
 `/home/saliola/Applications/sage/local/var/tmp/sage/build/gap3-jm2/src/src'
 gcc -m32 -O3 -fomit-frame-pointer -pipe -fno-strength-reduce -march=i686
 -DCPU=686 -g -O2 -DSYS_IS_USG -DSYS_HAS_TIME_PROTO -DSYS_HAS_SIGNAL_PROTO
 -DSYS_HAS_IOCTL_PROTO   -c -o system.o system.c
 In file included from /usr/include/features.h:398:0,
                  from /usr/include/ctype.h:25,
                  from system.h:241,
                  from system.c:157:
 /usr/include/x86_64-linux-gnu/gnu/stubs.h:7:27: fatal error:
 gnu/stubs-32.h: No such file or directory
  # include <gnu/stubs-32.h>
                            ^
 compilation terminated.
 make[1]: *** [system.o] Error 1
 make[1]: Leaving directory
 `/home/saliola/Applications/sage/local/var/tmp/sage/build/gap3-jm2/src/src'
 make: *** [ibm-i386-linux-gcc-optimized] Error 2
 Compiling target ibm-i386-linux-gcc-optimized
 512
 Error compiling Gap3

 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/8906#comment:16>
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 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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to