#13768: upgrade polymake to version 2.12-rc3
-------------------------------+--------------------------------------------
Reporter: tkluck | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.8
Component: packages | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Timo Kluck | Merged in:
Dependencies: #13767 | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by kcrisman):
Well, everything is fine except
{{{
$ ../../../../local/bin/polymake
Welcome to polymake version 2.12, released on March 19, 2012
Copyright (c) 1997-2012
Ewgenij Gawrilow, Michael Joswig (TU Darmstadt)
http://www.polymake.org
This is free software licensed under GPL; see the source for copying
conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Loading applications now...Can't locate object method "new" via package
"Term::ReadLine::Gnu" at (eval 358) line 4, <GEN7> line 143.
}}}
So we definitely need this Perl package. And I'm having trouble
installing it, I think because of it downloading a version for Mac but
needing a linux one or something, as you suggest.
{{{
$ perl -MCPAN -e 'install Term::ReadLine::Gnu'
Going to read '/Users/.../.cpan/Metadata' Database was generated on Thu,
28 Feb 2013 03:07:45 GMT
Running install for module 'Term::ReadLine::Gnu'
Running make for H/HA/HAYASHI/Term-ReadLine-Gnu-1.20.tar.gz
Checksum for /Users/.../.cpan/sources/authors/id/H/HA/HAYASHI/Term-
ReadLine-Gnu-1.20.tar.gz ok
CPAN.pm: Going to build H/HA/HAYASHI/Term-ReadLine-Gnu-1.20.tar.gz
Found `/usr/lib/libtermcap.dylib'.
llvm-gcc-4.2 -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN
-fno-strict-aliasing -fstack-protector -I/usr/local/include
-DHAVE_STRING_H rlver.c -o rlver -arch x86_64 -arch i386 -fstack-
protector -L/usr/local/lib -lreadline -ltermcap
ld: warning: ld: warning: ignoring file
/Users/.../sage-5.8.beta1/local/lib/libtermcap.a, file was built for
archive which is not the architecture being linked (i386):
/Users/.../sage-5.8.beta1/local/lib/libtermcap.aignoring file
/Users/.../sage-5.8.beta1/local/lib/libreadline.dylib, file was built for
unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x
0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being
linked (i386): /Users/.../sage-5.8.beta1/local/lib/libreadline.dylib
Undefined symbols for architecture i386:
"_rl_library_version", referenced from:
_main in cckKsg6f.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/k8/nj0z1bkd11dcs1v5hbh_tknc92p43w/T//cc1NJ0c0.out (No such
file or directory)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Could not compile rlver.c.
If you have installed the GNU Readline Library (libreadline.{a,so} and
readline/readline.h, etc.) on directories for which your perl is not
configured to search (refer the value of `ccflags' and `libpath' in
the output of `perl -V'), specify the paths as follows;
perl Makefile.PL --includedir=/yourdir/include
--libdir=/yourdir/lib
or
perl Makefile.PL --prefix=/yourdir
Note that the GNU Readline Library version 2.0 and earlier causes error
here. Update it to version 2.1 and/or later.
Read INSTALL for more details.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Warning: No success on command[/usr/bin/perl Makefile.PL]
'YAML' not installed, will not store persistent state
HAYASHI/Term-ReadLine-Gnu-1.20.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
}}}
I think we need to pass the Sage gcc to this. But it's not clear to me
from reading some stuff online whether one would even be able to use the
Sage gcc with the local perl (compiled, perhaps, by llvm-gcc...). I tried
a lot of stuff but I have a feeling that there is no real solution to
this.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13768#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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.