Sage 6.3.beta8 released

79 views
Skip to first unread message

Volker Braun

unread,
Jul 30, 2014, 8:47:58 PM7/30/14
to sage-r...@googlegroups.com
This is a quick update to beta7 to address build failures on some platforms. As usual, get the new "develop" git branch or download http://boxen.math.washington.edu/home/vbraun/tmp-release/sage-6.3.beta8.tar.gz

$ git diff --stat=80 6.3.beta7 6.3.beta8
 VERSION.txt                                        |   2 +-
 build/pkgs/configure/checksums.ini                 |   6 +-
 build/pkgs/configure/package-version.txt           |   2 +-
 build/pkgs/graphs/spkg-install                     |   2 +-
 build/pkgs/libgap/spkg-install                     |   1 +
 src/bin/sage-banner                                |   2 +-
 src/bin/sage-version.sh                            |   4 +-
 src/sage/databases/sloane.py                       |   4 +-
 src/sage/libs/gap/element.pxd                      |   1 -
 src/sage/libs/gap/saved_workspace.py               |  68 +++
 src/sage/libs/gap/util.pyx                         |  39 +-
 src/sage/rings/number_field/bdd_height.py          | 638 +++++++++++++++++++++
 src/sage/rings/number_field/number_field.py        | 144 +++++
 .../number_field_element_quadratic.pyx             |  38 +-
 src/sage/rings/polynomial/multi_polynomial.pyx     |  91 ++-
 src/sage/rings/polynomial/polynomial_element.pyx   | 106 ++++
 src/sage/rings/real_double.pyx                     |  39 +-
 src/sage/version.py                                |   4 +-
 18 files changed, 1084 insertions(+), 107 deletions(-)

Mini-changelog:

b7db0ea Updated Sage version to 6.3.beta8
7c4703a Trac #16735: Graph database installs to wrong location
1c905ee Trac #16728: libgap_workspace_2
71aa28b Trac #16515: Every RDF number compares equal to NaN
e2dab88 Trac #2352: univariate homogenize is not the same as multivariate homogenize
d1b2af4 Trac #16599: OEIS database install docstring is out of date
21d2c56 Trac #15389: An algorithm for enumerating elements of bounded height in number fields
5415a3d Updated Sage version to 6.3.beta7

Michael Welsh

unread,
Jul 31, 2014, 12:20:41 AM7/31/14
to sage-r...@googlegroups.com
On 31/07/2014, at 1247, Volker Braun <vbrau...@gmail.com> wrote:
>
> This is a quick update to beta7 to address build failures on some platforms.

All the issues from beta7 are gone on OS X 10.9.4.

Emmanuel Charpentier

unread,
Jul 31, 2014, 8:04:52 AM7/31/14
to sage-r...@googlegroups.com
FYI :
On an antique i686 2Gb RAM, starting from sage 6.3beta6:

git fetch
git pull
export MAKE="make -j2"
make

==> compilation successful in in about 1/2 hour, but with lots of swapping (trashing ?)

make ptestlong ## needs 88 mins wall time, 148 mins CPU
2 errors :
----------------------------------------------------------------------
sage -t --long src/sage/interfaces/expect.py  # 1 doctest failed
sage -t --long src/sage/combinat/designs/bibd.py  # 1 doctest failed
----------------------------------------------------------------------

## retrying to test for glitches :

sage -t --long src/sage/combinat/designs/bibd.py
==> all tests passed ! (11 secs wall time, ~0.4 sec CPU)

sage -t --long src/sage/combinat/designs/bibd.py
==>
[ ... ]
File "/usr/local/sage-6.3beta6/local/lib/python2.7/site-packages/sage/combinat/designs/covering_design.py", line 498, in best_known_covering_design_www
        f = urllib.urlopen(url)
      File "/usr/local/sage-6.3beta6/local/lib/python/urllib.py", line 87, in urlopen
        return opener.open(url)
[ ... ]

Hmmm... this kind of $#!+ happens a lot with our ill(-maintained institutional firewall?

[ Launching a Web browser in an other window ]

sage -t --long src/sage/combinat/designs/bibd.py
==> all tests passed ! (4,8 secs, CPU 3,8 secs).

The first failure is probably a timeout (overload of a small machine with two parallel threads). The second one is probably a firewall failure, i. e. two glitches.

The fact that some tests need a working Web connection should be documented in the install guide at places relevant to (long ?) testing...

HTH,

--
Emmanuel Charpentier

Daniel Krenn

unread,
Jul 31, 2014, 8:24:02 AM7/31/14
to sage-r...@googlegroups.com
Am 2014-07-31 um 02:47 schrieb Volker Braun:
> This is a quick update to beta7 to address build failures on some
> platforms. As usual, get the new "develop" git branch or
> download http://boxen.math.washington.edu/home/vbraun/tmp-release/sage-6.3.beta8.tar.gz

"make ptestlong" passed on my Debian.

Daniel

Volker Braun

unread,
Jul 31, 2014, 9:50:34 AM7/31/14
to sage-r...@googlegroups.com, Nathann Cohen
With only 2gb of ram your are probably better off building in a single process.

Doctesting shouldn't require a web connection, at least as long as you don't specify --optional=internet... NATHANNN ;-)

Nathann Cohen

unread,
Aug 1, 2014, 4:54:42 AM8/1/14
to Volker Braun, sage-release
> Doctesting shouldn't require a web connection, at least as long as you don't
> specify --optional=internet... NATHANNN ;-)

Sorryyyyyyyyy T_T

Nathann

Justin C. Walker

unread,
Aug 1, 2014, 10:14:50 AM8/1/14
to sage-r...@googlegroups.com

On Jul 31, 2014, at 2:47, Volker Braun <vbrau...@gmail.com> wrote:

> This is a quick update to beta7 to address build failures on some platforms. As usual, get the new "develop" git branch or download http://boxen.math.washington.edu/home/vbraun/tmp-release/sage-6.3.beta8.tar.gz

Built, w/o problems, on OS X, 10.9.4 (Xcode 5.1.1, 4-core Core i7). All tests (‘ptestlong’) passed!!

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
I want to die, peacefully in my sleep, like my grandfather;
not screaming in terror, like his passengers.




Jan Keitel

unread,
Aug 2, 2014, 4:18:59 AM8/2/14
to sage-r...@googlegroups.com
I can't build this on a 2013 MacBook Air running Mac Os 10.9.4, because Singular fails to build:

Error building Sage.

The following package(s) may have failed to build:

package: singular-3.1.6.p3
log file: /Users/kabel/sage/sage/logs/pkgs/singular-3.1.6.p3.log
build directory: /Users/kabel/sage/sage/local/var/tmp/sage/build/singular-3.1.6.p3


I'm attaching the log, but (I suppose that) the crucial lines are

ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[4]: *** [Singular] Error 1
make[3]: *** [install-nolns] Error 1


I've tried sage -f singular and make distclean, but the same error persists. This is with both beta7 and beta8. I did build in parallel with make -j4, but that shouldn't have had an effect when I tried sage -f singular, right?

Does anybody have an idea what's going wrong here? Sage used to build just fine.

Cheers,
Jan

PS: Couldn't find a way to attach a file here, so I uploaded the log to http://wwwth.mpp.mpg.de/members/jkeitel/singular-3.1.6.p3.log

Francois Bissey

unread,
Aug 2, 2014, 5:52:14 AM8/2/14
to sage-r...@googlegroups.com
Hum… some configuration has gone bad on two fronts:
g++ -O2 -g -fPIC -I.. -I/Users/kabel/sage/sage/local -pipe -I. -I.. -I/Users/kabel/sage/sage/local -I/Users/kabel/sage/sage/local/include -I/Users/kabel/sage/sage/local/include -I/Users/kabel/sage/sage/local/include -I/usr/local/include -fno-implicit-templates -I.. -I/Users/kabel/sage/sage/local -DNDEBUG -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H \
-o Singular \
tesths.cc iparith.o mpsr_Tok.o claptmpl.o\
grammar.o scanner.o attrib.o blackbox.o eigenval_ip.o extra.o fehelp.o feOpt.o ipassign.o ipconv.o ipid.o iplib.o ipprint.o ipshell.o newstruct.o lists.o sdb.o fglm.o interpolation.o silink.o ssiLink.o s_buff.o subexpr.o janet.o wrapper.o libparse.o sing_win.o gms.o pcv.o maps_ip.o walk.o walk_ip.o cntrlc.o misc_ip.o calcSVD.o pipeLink.o Minor.o MinorProcessor.o MinorInterface.o bigintm.o pyobject_setup.o denom_list.o minpoly.o countedref.o semaphore.o slInit_Static.o mpsr_Put.o mpsr_PutPoly.o mpsr_GetPoly.o mpsr_sl.o mpsr_Get.o mpsr_GetMisc.o mpsr_Error.o ndbm.o sing_dbm.o -dynamic -L/Users/kabel/sage/sage/local/kernel -L../kernel -lkernel -L/Users/kabel/sage/sage/local/lib -L/Users/kabel/sage/sage/local/lib -L/usr/local/lib -ldl -lm -lsingfac -lsingcf -lntl -lgmp -lreadline -ltermcap -lm -lomalloc -lpthread ../kernel/mmalloc.o
ld: warning: directory not found for option '-L/Users/kabel/sage/sage/local/kernel'
Undefined symbols for architecture x86_64:
"__fmpq_poly_normalise", referenced from:
kronSubQa(fmpq_poly_struct*, CanonicalForm const&, int, int) in libsingcf.a(facMul.o)
reverseSubstQa(fmpq_poly_struct const*, int, int, Variable const&, fmpq_poly_struct const*) in libsingcf.a(facMul.o)

/Users/kabel/sage/sage/local/kernel indeed shouldn’t exist. somehow build and install
folders have been mixed up.
The missing symbols are from flint and yes we are missing -lflint in that command.
The wrong folder problem is not fatal and may have been present for a while since it
doesn’t cause the build to break.
The second one is fatal and of course we have merged the ticket to build singular
against flint a couple of beta ago but no one had a problem so far.

I’ll look more deeply at your log. I may need some config.log once I finished so don’t
delete anything.

François
> --
> You received this message because you are subscribed to the Google Groups "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
> To post to this group, send email to sage-r...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-release.
> For more options, visit https://groups.google.com/d/optout.


This email may be confidential and subject to legal privilege, it may
not reflect the views of the University of Canterbury, and it is not
guaranteed to be virus free. If you are not an intended recipient,
please notify the sender immediately and erase all copies of the message
and any attachments.

Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more
information.

Francois Bissey

unread,
Aug 2, 2014, 6:02:32 AM8/2/14
to sage-r...@googlegroups.com
In the singular build folder I need Singular/config.log which produced this:
checking for FLINT >= 2.3... not found
configure: WARNING: Unable to find FLINT (which is strongly recommended) on your machine: please use --with-flint=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)

Other subconfig found flint so there is something going in there. It is already patched for
such a problem so it must be a corner case that hasn’t been encountered yet.

François

On 2/08/2014, at 21:52, Francois Bissey <francoi...@canterbury.ac.nz> wrote:

> Hum... some configuration has gone bad on two fronts:

leif

unread,
Aug 2, 2014, 6:06:14 AM8/2/14
to sage-r...@googlegroups.com
Francois Bissey wrote:
> Hum... some configuration has gone bad on two fronts:
> g++ -O2 -g -fPIC -I.. -I/Users/kabel/sage/sage/local -pipe -I. -I.. -I/Users/kabel/sage/sage/local -I/Users/kabel/sage/sage/local/include -I/Users/kabel/sage/sage/local/include -I/Users/kabel/sage/sage/local/include -I/usr/local/include -fno-implicit-templates -I.. -I/Users/kabel/sage/sage/local -DNDEBUG -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H \
> -o Singular \
> tesths.cc iparith.o mpsr_Tok.o claptmpl.o\
> grammar.o scanner.o attrib.o blackbox.o eigenval_ip.o extra.o fehelp.o feOpt.o ipassign.o ipconv.o ipid.o iplib.o ipprint.o ipshell.o newstruct.o lists.o sdb.o fglm.o interpolation.o silink.o ssiLink.o s_buff.o subexpr.o janet.o wrapper.o libparse.o sing_win.o gms.o pcv.o maps_ip.o walk.o walk_ip.o cntrlc.o misc_ip.o calcSVD.o pipeLink.o Minor.o MinorProcessor.o MinorInterface.o bigintm.o pyobject_setup.o denom_list.o minpoly.o countedref.o semaphore.o slInit_Static.o mpsr_Put.o mpsr_PutPoly.o mpsr_GetPoly.o mpsr_sl.o mpsr_Get.o mpsr_GetMisc.o mpsr_Error.o ndbm.o sing_dbm.o -dynamic -L/Users/kabel/sage/sage/local/kernel -L../kernel -lkernel -L/Users/kabel/sage/sage/local/lib -L/Users/kabel/sage/sage/local/lib -L/usr/local/lib -ldl -lm -lsingfac -lsingcf -lntl -lgmp -lreadline -ltermcap -lm -lomalloc -lpthread ../kernel/mmalloc.o
> ld: warning: directory not found for option '-L/Users/kabel/sage/sage/local/kernel'
> Undefined symbols for architecture x86_64:
> "__fmpq_poly_normalise", referenced from:
> kronSubQa(fmpq_poly_struct*, CanonicalForm const&, int, int) in libsingcf.a(facMul.o)
> reverseSubstQa(fmpq_poly_struct const*, int, int, Variable const&, fmpq_poly_struct const*) in libsingcf.a(facMul.o)
>
> /Users/kabel/sage/sage/local/kernel indeed shouldn't exist. somehow build and install
> folders have been mixed up.
> The missing symbols are from flint and yes we are missing -lflint in that command.
> The wrong folder problem is not fatal and may have been present for a while since it
> doesn't cause the build to break.
> The second one is fatal and of course we have merged the ticket to build singular
> against flint a couple of beta ago but no one had a problem so far.

Yep, all unresolved symbols are from FLINT. While there's no '-lflint'
as you noted, the real cause may be that the executable apparently gets
linked against a *static* lib (libsingcf.a) instead of a shared one, so
there aren't any dependencies recorded in it. (All symbols are just
indirectly used by the executable.)


> I'll look more deeply at your log.

Go ahead... ;-)


-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail

Dima Pasechnik

unread,
Aug 2, 2014, 6:07:38 AM8/2/14
to sage-r...@googlegroups.com
On 2014-08-02, Jan Keitel <jocalare...@gmail.com> wrote:
> I can't build this on a 2013 MacBook Air running Mac Os 10.9.4, because Singular fails to build:
>
> Error building Sage.
>
> The following package(s) may have failed to build:
>
> package: singular-3.1.6.p3
> log file: /Users/kabel/sage/sage/logs/pkgs/singular-3.1.6.p3.log
> build directory: /Users/kabel/sage/sage/local/var/tmp/sage/build/singular-3.1.6.p3
>

did you try building with
SAGE_UPGRADING=yes
which is needed if there are spkgs which need to be upgraded?

Jan Keitel

unread,
Aug 2, 2014, 6:32:06 AM8/2/14
to sage-r...@googlegroups.com
Hi Francois,

thank you for taking the time to look into this. I think I found the config.log you were looking for. It is now http://wwwth.mpp.mpg.de/members/jkeitel/config.log

Dima, no, I actually didn't try that. Is that still necessary even after a 'make distclean'?

Best,
Jan

leif

unread,
Aug 2, 2014, 6:36:41 AM8/2/14
to sage-r...@googlegroups.com
Francois Bissey wrote:
> In the singular build folder I need Singular/config.log which produced this:
> checking for FLINT >= 2.3... not found
> configure: WARNING: Unable to find FLINT (which is strongly recommended) on your machine: please use --with-flint=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)
>
> Other subconfig found flint so there is something going in there. It is already patched for
> such a problem so it must be a corner case that hasn't been encountered yet.

Well, at the MPG, probably some components of Singular know too much
about FLINT's speed, hence fail to locate it [1].


-leif

[1] http://xkcd.com/824/

Francois Bissey

unread,
Aug 2, 2014, 6:39:38 AM8/2/14
to sage-r...@googlegroups.com
OK this is the one I am after and the mystery gets more mysterious:
configure:8869: checking for FLINT >= 2.3
configure:8898: gcc -o conftest -O2 -g -fPIC -I/Users/kabel/sage/sage/local/include/flint -I/Users/kabel/sage/sage/local/include -I/Users/kabel/sage/sage/local/include -I/Users/kabel/sage/sage/local/include -I/usr/local/include -L/Users/kabel/sage/sage/local/lib -L/Users/kabel/sage/sage/local/lib -L/usr/local/lib conftest.c -lntl -lgmp -lreadline -ltermcap -lm -L/Users/kabel/sage/sage/local/lib -lflint -lmpfr -lmpir >&5
In file included from /Users/kabel/sage/sage/local/include/flint/fmpz.h:38:0,
from conftest.c:94:
/Users/kabel/sage/sage/local/include/flint/flint.h:74:2: error: #error GMP 5.0.0 or MPIR 2.6.0 or later are required
/Users/kabel/sage/sage/local/include/flint/flint.h:78:2: error: #error MPFR 3.0.0 or later is required

Do you have gmp or mpir or mpfr installed in /usr/local? If so which versions?

François

Jan Keitel

unread,
Aug 2, 2014, 6:47:25 AM8/2/14
to sage-r...@googlegroups.com
Oh, I'm sorry - it appears that I do:

Aloiss-MacBook-Air-2:lib kabel$ ls /usr/local/lib

ImageMagick-6.8.3 libgfortran.a libquadmath.a

gcc libgfortran.dylib libquadmath.dylib


libasan.1.dylib libgfortran.spec libsanitizer.spec

libasan.dylib libgmp.a libssp.0.dylib


libasan_preinit.o libgomp.1.dylib libssp.dylib

libatomic.1.dylib libgomp.a libssp.la

libatomic.a libgomp.dylib libssp_nonshared.a


libatomic.la libgomp.spec libstdc++.6.dylib

libcilkrts.5.dylib libitm.1.dylib libstdc++.a

libcilkrts.a libitm.a libstdc++.a-gdb.py

libcilkrts.dylib libitm.dylib libstdc++.dylib

libcilkrts.la libitm.la libstdc++.la

libgcc_ext.10.4.dylib libitm.spec libsupc++.a

libgcc_ext.10.5.dylib libmpc.a libsupc++.la

libgcc_s.1.dylib libmpc.la libubsan.0.dylib

libgcc_s_ppc64.1.dylib libmpfr.a libubsan.dylib

libgcc_s_x86_64.1.dylib libmpfr.la libubsan.la

libgfortran.3.dylib libquadmath.0.dylib

I never installed them there, apparently they were already on there (the files have December 2013 dates). How do I check their versions? And why did they not cause trouble for previous installations?
 

Francois Bissey

unread,
Aug 2, 2014, 6:55:12 AM8/2/14
to sage-r...@googlegroups.com
They almost certainly came with a gcc install. Leif was noting something
about linking about .a, it probably originated here.
Previously you have been lucky that nothing broke. But the check for flint
has bits “-I/usr/local/include” and “-L/usr/local/lib” which is how you picked
them up. I think you can check gmp's version in /usr/local/include/gmp.h
there is probably an indication for mpfr in mpfr.h as well.

François

Jan Keitel

unread,
Aug 2, 2014, 7:16:11 AM8/2/14
to sage-r...@googlegroups.com
Okay, found them:

gmp: 4.3.1
mpfr: 2.4.1
mpc: 0.8.1

Is there a way to force the sage installation not to use the globally installed versions?

Volker Braun

unread,
Aug 2, 2014, 7:17:47 AM8/2/14
to sage-r...@googlegroups.com
Can you try a serial build? There might be a race in the singular build system. I've never seen this on the OSX 10.9 buildbot. 

export MAKE='make -j1'
make

The ticket Trac #13331: Build Singular with FLINT support had already been merged in beta6

Jan Keitel

unread,
Aug 2, 2014, 7:22:58 AM8/2/14
to sage-r...@googlegroups.com
Sure, I'll do that right away. In fact, I think on this laptop beta5 might have been the last working version. Not sure, but I might have left one version out here.

Jan Keitel

unread,
Aug 2, 2014, 7:30:52 AM8/2/14
to sage-r...@googlegroups.com
Volker: The same error persists. I can attach the logs again if you're interested, but I'm not sure that there's anything new to be learned.

Volker Braun

unread,
Aug 2, 2014, 8:16:25 AM8/2/14
to sage-r...@googlegroups.com
IMHO everything should be configured with --enable-shared --disable-static...

Volker Braun

unread,
Aug 2, 2014, 8:27:22 AM8/2/14
to sage-r...@googlegroups.com
I've created http://trac.sagemath.org/ticket/16751 for this issue.



On Saturday, August 2, 2014 4:18:59 AM UTC-4, Jan Keitel wrote:

leif

unread,
Aug 2, 2014, 9:47:35 AM8/2/14
to sage-r...@googlegroups.com
Volker Braun wrote:
> IMHO everything should be configured with --enable-shared
> --disable-static...

I *knew* you'd take the bait.... B)


-leif
> it, send an email to sage-release...@googlegroups.com <javascript:>.
> >> To post to this group, send email to sage-r...@googlegroups.com
> <javascript:>.
> <http://groups.google.com/group/sage-release>.
> >> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
> >
> >
> > This email may be confidential and subject to legal privilege, it
> may
> > not reflect the views of the University of Canterbury, and it is not
> > guaranteed to be virus free. If you are not an intended recipient,
> > please notify the sender immediately and erase all copies of the
> message
> > and any attachments.
> >
> > Please refer to http://www.canterbury.ac.nz/emaildisclaimer
> <http://www.canterbury.ac.nz/emaildisclaimer> for more
> > information.
> >
>
>
> --
> () The ASCII Ribbon Campaign
> /\ Help Cure HTML E-Mail
>
> --
> You received this message because you are subscribed to the Google
> Groups "sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to sage-release...@googlegroups.com
> <mailto:sage-release...@googlegroups.com>.
> To post to this group, send email to sage-r...@googlegroups.com
> <mailto:sage-r...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/sage-release.
> For more options, visit https://groups.google.com/d/optout.


Volker Braun

unread,
Aug 2, 2014, 10:05:20 AM8/2/14
to sage-r...@googlegroups.com
Except that singular's configure doesn't even support that...

Dima Pasechnik

unread,
Aug 2, 2014, 1:26:04 PM8/2/14
to sage-r...@googlegroups.com
On 2014-08-02, Jan Keitel <jocalare...@gmail.com> wrote:
> ------=_Part_883_789377487.1406978171680
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable
>
> Okay, found them:
>
> gmp: 4.3.1
> mpfr: 2.4.1
> mpc: 0.8.1
>
> Is there a way to force the sage installation not to use the globally=20
> installed versions?

modify the PATH before running make so that it does not have /usr/local stuff in it...
(if this does not help, as there are/were packages that searched /usr/local for things
even though it's not in PATH, rename it to something else...)

HTH
Dima

>
> Am Samstag, 2. August 2014 12:55:12 UTC+2 schrieb Fran=C3=A7ois:
>>
>> They almost certainly came with a gcc install. Leif was noting something=
>=20
>> about linking about .a, it probably originated here.=20
>> Previously you have been lucky that nothing broke. But the check for flin=
> t=20
>> has bits =E2=80=9C-I/usr/local/include=E2=80=9D and =E2=80=9C-L/usr/local=
> /lib=E2=80=9D which is how you=20
>> picked=20
>> them up. I think you can check gmp's version in /usr/local/include/gmp.h=
>=20
>> there is probably an indication for mpfr in mpfr.h as well.=20
>>
>> Fran=C3=A7ois=20
>>
>> On 2/08/2014, at 22:47, Jan Keitel <jocalare...@gmail.com <javascript:>>=
>=20
>> wrote:=20
>>
>> > Oh, I'm sorry - it appears that I do:=20
>> >=20
>> > Aloiss-MacBook-Air-2:lib kabel$ ls /usr/local/lib=20
>> >=20
>> > ImageMagick-6.8.3 libgfortran.a libquadmath.a=20
>> >=20
>> > gcc libgfortran.dylib libquadmath.dylib=20
>> >=20
>> > i386 libgfortran.la libquadmath.la=20
>> >=20
>> > libasan.1.dylib libgfortran.spec libsanitizer.spec=20
>> >=20
>> > libasan.dylib libgmp.a libssp.0.dylib=20
>> >=20
>> > libasan.la libgmp.la libssp.a=20
>> >=20
>> > libasan_preinit.o libgomp.1.dylib libssp.dylib=20
>> >=20
>> > libatomic.1.dylib libgomp.a libssp.la=20
>> >=20
>> > libatomic.a libgomp.dylib libssp_nonshared.a=20
>> >=20
>> > libatomic.dylib libgomp.la libssp_nonshared.la=20
>> >=20
>> > libatomic.la libgomp.spec libstdc++.6.dylib=20
>> >=20
>> > libcilkrts.5.dylib libitm.1.dylib libstdc++.a=20
>> >=20
>> > libcilkrts.a libitm.a libstdc++.a-gdb.py=20
>> >=20
>> > libcilkrts.dylib libitm.dylib libstdc++.dylib=20
>> >=20
>> > libcilkrts.la libitm.la libstdc++.la=20
>> >=20
>> > libgcc_ext.10.4.dylib libitm.spec libsupc++.a=20
>> >=20
>> > libgcc_ext.10.5.dylib libmpc.a libsupc++.la=20
>> >=20
>> > libgcc_s.1.dylib libmpc.la libubsan.0.dylib=20
>> >=20
>> > libgcc_s_ppc64.1.dylib libmpfr.a libubsan.dylib=20
>> >=20
>> > libgcc_s_x86_64.1.dylib libmpfr.la libubsan.la=20
>> >=20
>> > libgfortran.3.dylib libquadmath.0.dylib=20
>> >=20
>> > I never installed them there, apparently they were already on there (th=
> e=20
>> files have December 2013 dates). How do I check their versions? And why d=
> id=20
>> they not cause trouble for previous installations?=20
>> > =20
>> > Am Samstag, 2. August 2014 12:39:38 UTC+2 schrieb Fran=C3=A7ois:=20
>> > OK this is the one I am after and the mystery gets more mysterious:=20
>> > configure:8869: checking for FLINT >=3D 2.3=20
>> > configure:8898: gcc -o conftest -O2 -g -fPIC=20
>> -I/Users/kabel/sage/sage/local/include/flint=20
>> -I/Users/kabel/sage/sage/local/include=20
>> -I/Users/kabel/sage/sage/local/include=20
>> -I/Users/kabel/sage/sage/local/include -I/usr/local/include=20
>> -L/Users/kabel/sage/sage/local/lib -L/Users/kabel/sage/sage/local/lib=20
>> -L/usr/local/lib conftest.c -lntl -lgmp -lreadline -ltermcap -lm =20
>> -L/Users/kabel/sage/sage/local/lib -lflint -lmpfr -lmpir >&5=20
>> > In file included from=20
>> /Users/kabel/sage/sage/local/include/flint/fmpz.h:38:0,=20
>> > from conftest.c:94:=20
>> > /Users/kabel/sage/sage/local/include/flint/flint.h:74:2: error: #error=
>=20
>> GMP 5.0.0 or MPIR 2.6.0 or later are required=20
>> > /Users/kabel/sage/sage/local/include/flint/flint.h:78:2: error: #error=
>=20
>> MPFR 3.0.0 or later is required=20
>> >=20
>> > Do you have gmp or mpir or mpfr installed in /usr/local? If so which=20
>> versions?=20
>> >=20
>> > Fran=C3=A7ois=20
>> >=20
>> > On 2/08/2014, at 22:32, Jan Keitel <jocalare...@gmail.com> wrote:=20
>> >=20
>> > > Hi Francois,=20
>> > >=20
>> > > thank you for taking the time to look into this. I think I found the=
>=20
>> config.log you were looking for. It is now=20
>> http://wwwth.mpp.mpg.de/members/jkeitel/config.log=20
>> > >=20
>> > > Dima, no, I actually didn't try that. Is that still necessary even=20
>> after a 'make distclean'?=20
>> > >=20
>> > > Best,=20
>> > > Jan=20
>> > >=20
>> > > Am Samstag, 2. August 2014 12:02:32 UTC+2 schrieb Fran=C3=A7ois:=20
>> > > In the singular build folder I need Singular/config.log which produce=
> d=20
>> this:=20
>> > > checking for FLINT >=3D 2.3... not found=20
>> > > configure: WARNING: Unable to find FLINT (which is strongly=20
>> recommended) on your machine: please use=20
>> --with-flint=3DPATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configu=
> re=20
>> --help if you do not understand what we are talking about)=20
>> > >=20
>> > > Other subconfig found flint so there is something going in there. It=
>=20
>> is already patched for=20
>> > > such a problem so it must be a corner case that hasn=E2=80=99t been=
>=20
>> encountered yet.=20
>> > >=20
>> > > Fran=C3=A7ois=20
>> > >=20
>> > > On 2/08/2014, at 21:52, Francois Bissey <francoi...@canterbury.ac.nz>=
>=20
>> wrote:=20
>> > >=20
>> > > > Hum... some configuration has gone bad on two fronts:=20
>> > > > g++ -O2 -g -fPIC -I.. -I/Users/kabel/sage/sage/local -pipe -I. -I.=
> .=20
>> -I/Users/kabel/sage/sage/local -I/Users/kabel/sage/sage/local/include=20
>> -I/Users/kabel/sage/sage/local/include=20
>> -I/Users/kabel/sage/sage/local/include -I/usr/local/include=20
>> -fno-implicit-templates -I.. -I/Users/kabel/sage/sage/local -DNDEBUG=20
>> -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H \=20
>> > > > -o Singular \=20
>> > > > tesths.cc iparith.o mpsr_Tok.o claptmpl.o\=20
>> > > > grammar.o scanner.o attrib.o blackbox.o eigenval_ip.o=20
>> extra.o fehelp.o feOpt.o ipassign.o ipconv.o ipid.o iplib.o ipprint.o=20
>> ipshell.o newstruct.o lists.o sdb.o fglm.o interpolation.o silink.o=20
>> ssiLink.o s_buff.o subexpr.o janet.o wrapper.o libparse.o sing_win.o gms.=
> o=20
>> pcv.o maps_ip.o walk.o walk_ip.o cntrlc.o misc_ip.o calcSVD.o pipeLink.o=
>=20
>> Minor.o MinorProcessor.o MinorInterface.o bigintm.o pyobject_setup.o=20
>> denom_list.o minpoly.o countedref.o semaphore.o slInit_Static.o mpsr_Put.=
> o=20
>> mpsr_PutPoly.o mpsr_GetPoly.o mpsr_sl.o mpsr_Get.o mpsr_GetMisc.o=20
>> mpsr_Error.o ndbm.o sing_dbm.o -dynamic=20
>> -L/Users/kabel/sage/sage/local/kernel -L../kernel -lkernel=20
>> -L/Users/kabel/sage/sage/local/lib -L/Users/kabel/sage/sage/local/lib=20
>> -L/usr/local/lib -ldl -lm -lsingfac -lsingcf -lntl -lgmp -lreadline=20
>> -ltermcap -lm -lomalloc -lpthread ../kernel/mmalloc.o=20
>> > > > ld: warning: directory not found for option=20
>> '-L/Users/kabel/sage/sage/local/kernel'=20
>> > > > Undefined symbols for architecture x86_64:=20
>> > > > "__fmpq_poly_normalise", referenced from:=20
>> > > > kronSubQa(fmpq_poly_struct*, CanonicalForm const&, int, int) i=
> n=20
>> libsingcf.a(facMul.o)=20
>> > > > reverseSubstQa(fmpq_poly_struct const*, int, int, Variable=20
>> const&, fmpq_poly_struct const*) in libsingcf.a(facMul.o)=20
>> > > >=20
>> > > > /Users/kabel/sage/sage/local/kernel indeed shouldn't exist. somehow=
>=20
>> build and install=20
>> > > > folders have been mixed up.=20
>> > > > The missing symbols are from flint and yes we are missing -lflint i=
> n=20
>> that command.=20
>> > > > The wrong folder problem is not fatal and may have been present for=
>=20
>> a while since it=20
>> > > > doesn't cause the build to break.=20
>> > > > The second one is fatal and of course we have merged the ticket to=
>=20
>> build singular=20
>> > > > against flint a couple of beta ago but no one had a problem so far.=
>=20
>> > > >=20
>> > > > I'll look more deeply at your log. I may need some config.log once =
> I=20
>> finished so don't=20
>> > > > delete anything.=20
>> > > >=20
>> > > > Fran=C3=A7ois=20
>> > > >=20
>> > > > On 2/08/2014, at 20:18, Jan Keitel <jocalare...@gmail.com> wrote:=
>=20
>> > > >=20
>> > > >> I can't build this on a 2013 MacBook Air running Mac Os 10.9.4,=20
>> because Singular fails to build:=20
>> > > >>=20
>> > > >> Error building Sage.=20
>> > > >>=20
>> > > >> The following package(s) may have failed to build:=20
>> > > >>=20
>> > > >> package: singular-3.1.6.p3=20
>> > > >> log file: /Users/kabel/sage/sage/logs/pkgs/singular-3.1.6.p3.log=
>=20
>> > > >> build directory:=20
>> /Users/kabel/sage/sage/local/var/tmp/sage/build/singular-3.1.6.p3=20
>> > > >>=20
>> > > >>=20
>> > > >> I'm attaching the log, but (I suppose that) the crucial lines are=
>=20
>> > > >>=20
>> > > >> ld: symbol(s) not found for architecture x86_64=20
>> > > >> collect2: error: ld returned 1 exit status=20
>> > > >> make[4]: *** [Singular] Error 1=20
>> > > >> make[3]: *** [install-nolns] Error 1=20
>> > > >>=20
>> > > >>=20
>> > > >> I've tried sage -f singular and make distclean, but the same error=
>=20
>> persists. This is with both beta7 and beta8. I did build in parallel with=
>=20
>> make -j4, but that shouldn't have had an effect when I tried sage -f=20
>> singular, right?=20
>> > > >>=20
>> > > >> Does anybody have an idea what's going wrong here? Sage used to=20
>> build just fine.=20
>> > > >>=20
>> > > >> Cheers,=20
>> > > >> Jan=20
>> > > >>=20
>> > > >> PS: Couldn't find a way to attach a file here, so I uploaded the=
>=20
>> log to http://wwwth.mpp.mpg.de/members/jkeitel/singular-3.1.6.p3.log=20
>> > > >>=20
>> > > >> --=20
>> > > >> You received this message because you are subscribed to the Google=
>=20
>> Groups "sage-release" group.=20
>> > > >> To unsubscribe from this group and stop receiving emails from it,=
>=20
>> send an email to sage-release...@googlegroups.com.=20
>> > > >> To post to this group, send email to sage-r...@googlegroups.com.=
>=20
>> > > >> Visit this group at http://groups.google.com/group/sage-release.=
>=20
>> > > >> For more options, visit https://groups.google.com/d/optout.=20
>> > > >=20
>> > > >=20
>> > > > This email may be confidential and subject to legal privilege, it=
>=20
>> may=20
>> > > > not reflect the views of the University of Canterbury, and it is no=
> t=20
>> > > > guaranteed to be virus free. If you are not an intended recipient,=
>=20
>> > > > please notify the sender immediately and erase all copies of the=20
>> message=20
>> > > > and any attachments.=20
>> > > >=20
>> > > > Please refer to http://www.canterbury.ac.nz/emaildisclaimer for=20
>> more=20
>> > > > information.=20
>> > > >=20
>> > > > --=20
>> > > > You received this message because you are subscribed to the Google=
>=20
>> Groups "sage-release" group.=20
>> > > > To unsubscribe from this group and stop receiving emails from it,=
>=20
>> send an email to sage-release...@googlegroups.com.=20
>> > > > To post to this group, send email to sage-r...@googlegroups.com.=20
>> > > > Visit this group at http://groups.google.com/group/sage-release.=20
>> > > > For more options, visit https://groups.google.com/d/optout.=20
>> > >=20
>> > >=20
>> > > This email may be confidential and subject to legal privilege, it may=
>=20
>> > > not reflect the views of the University of Canterbury, and it is not=
>=20
>> > > guaranteed to be virus free. If you are not an intended recipient,=20
>> > > please notify the sender immediately and erase all copies of the=20
>> message=20
>> > > and any attachments.=20
>> > >=20
>> > > Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more=
>=20
>> > > information.=20
>> > >=20
>> > > --=20
>> > > You received this message because you are subscribed to the Google=20
>> Groups "sage-release" group.=20
>> > > To unsubscribe from this group and stop receiving emails from it, sen=
> d=20
>> an email to sage-release...@googlegroups.com.=20
>> > > To post to this group, send email to sage-r...@googlegroups.com.=20
>> > > Visit this group at http://groups.google.com/group/sage-release.=20
>> > > For more options, visit https://groups.google.com/d/optout.=20
>> >=20
>> >=20
>> > This email may be confidential and subject to legal privilege, it may=
>=20
>> > not reflect the views of the University of Canterbury, and it is not=20
>> > guaranteed to be virus free. If you are not an intended recipient,=20
>> > please notify the sender immediately and erase all copies of the messag=
> e=20
>> > and any attachments.=20
>> >=20
>> > Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more=20
>> > information.=20
>> >=20
>> > --=20
>> > You received this message because you are subscribed to the Google=20
>> Groups "sage-release" group.=20
>> > To unsubscribe from this group and stop receiving emails from it, send=
>=20
>> an email to sage-release...@googlegroups.com <javascript:>.=20
>> > To post to this group, send email to sage-r...@googlegroups.com=20
>> <javascript:>.=20
>> > Visit this group at http://groups.google.com/group/sage-release.=20
>> > For more options, visit https://groups.google.com/d/optout.=20
>>
>>
>> This email may be confidential and subject to legal privilege, it may=20
>> not reflect the views of the University of Canterbury, and it is not=20
>> guaranteed to be virus free. If you are not an intended recipient,=20
>> please notify the sender immediately and erase all copies of the message=
>=20
>> and any attachments.=20
>>
>> Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more=20
>> information.=20
>>
>
> --=20
> You received this message because you are subscribed to the Google Groups "=
> sage-release" group.
> To unsubscribe from this group and stop receiving emails from it, send an e=
> mail to sage-release...@googlegroups.com.
> To post to this group, send email to sage-r...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-release.
> For more options, visit https://groups.google.com/d/optout.
>
> ------=_Part_883_789377487.1406978171680
> Content-Type: text/html; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable
>
><div dir=3D"ltr">Okay, found them:<div><br></div><div>gmp: 4.3.1</div><div>=
> mpfr: 2.4.1</div><div>mpc: 0.8.1</div><div><br></div><div>Is there a way to=
> force the sage installation not to use the globally installed versions?<br=
>><br>Am Samstag, 2. August 2014 12:55:12 UTC+2 schrieb Fran=C3=A7ois:<block=
> quote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-le=
> ft: 1px #ccc solid;padding-left: 1ex;">They almost certainly came with a gc=
> c install. Leif was noting something
><br>about linking about .a, it probably originated here.
><br>Previously you have been lucky that nothing broke. But the check for fl=
> int
><br>has bits =E2=80=9C-I/usr/local/include=E2=80=9D and =E2=80=9C-L/usr/loc=
> al/lib=E2=80=9D which is how you picked
><br>them up. I think you can check gmp's version in /usr/local/include/gmp.=
> h
><br>there is probably an indication for mpfr in mpfr.h as well.
><br>
><br>Fran=C3=A7ois
><br>
><br>On 2/08/2014, at 22:47, Jan Keitel &lt;<a href=3D"javascript:" target=
>=3D"_blank" gdf-obfuscated-mailto=3D"byr3yAnFaLEJ" onmousedown=3D"this.href=
>=3D'javascript:';return true;" onclick=3D"this.href=3D'javascript:';return =
> true;">jocalare...@gmail.com</a>&gt; wrote:
><br>
><br>&gt; Oh, I'm sorry - it appears that I do:
><br>&gt;=20
><br>&gt; Aloiss-MacBook-Air-2:lib kabel$ ls /usr/local/lib
><br>&gt;=20
><br>&gt; ImageMagick-6.8.3 libgfortran.a libquadmath.a
><br>&gt;=20
><br>&gt; gcc libgfortran.dylib libquadmath.dylib
><br>&gt;=20
><br>&gt; i386 <a href=3D"http://libgfortran.la" target=3D"_blank" onmousedo=
> wn=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibgfortran.l=
> a\46sa\75D\46sntz\0751\46usg\75AFQjCNH1anHbYYDqinM1GP6vll3v9u3vHA';return t=
> rue;" onclick=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Fli=
> bgfortran.la\46sa\75D\46sntz\0751\46usg\75AFQjCNH1anHbYYDqinM1GP6vll3v9u3vH=
> A';return true;">libgfortran.la</a> <a href=3D"http://libquadmath.la" targe=
> t=3D"_blank" onmousedown=3D"this.href=3D'http://www.google.com/url?q\75http=
> %3A%2F%2Flibquadmath.la\46sa\75D\46sntz\0751\46usg\75AFQjCNFsGiy1qX8U66EEd8=
> h4H5UHTSPrdQ';return true;" onclick=3D"this.href=3D'http://www.google.com/u=
> rl?q\75http%3A%2F%2Flibquadmath.la\46sa\75D\46sntz\0751\46usg\75AFQjCNFsGiy=
> 1qX8U66EEd8h4H5UHTSPrdQ';return true;">libquadmath.la</a>
><br>&gt;=20
><br>&gt; libasan.1.dylib libgfortran.spec libsanitizer.spec
><br>&gt;=20
><br>&gt; libasan.dylib libgmp.a libssp.0.dylib
><br>&gt;=20
><br>&gt; <a href=3D"http://libasan.la" target=3D"_blank" onmousedown=3D"thi=
> s.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibasan.la\46sa\75D\46=
> sntz\0751\46usg\75AFQjCNEo-vPBU5g83n1G_zcCMxDIIrwOWw';return true;" onclick=
>=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibasan.la\46sa=
> \75D\46sntz\0751\46usg\75AFQjCNEo-vPBU5g83n1G_zcCMxDIIrwOWw';return true;">=
> libasan.la</a> <a href=3D"http://libgmp.la" target=3D"_blank" onmousedown=
>=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibgmp.la\46sa\=
> 75D\46sntz\0751\46usg\75AFQjCNE-_g3IcZm2jZLzbhUKro2OI1A1Dw';return true;" o=
> nclick=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibgmp.la=
> \46sa\75D\46sntz\0751\46usg\75AFQjCNE-_g3IcZm2jZLzbhUKro2OI1A1Dw';return tr=
> ue;">libgmp.la</a> libssp.a
><br>&gt;=20
><br>&gt; libasan_preinit.o libgomp.1.dylib libssp.dylib
><br>&gt;=20
><br>&gt; libatomic.1.dylib libgomp.a <a href=3D"http://libssp.la" target=3D=
> "_blank" onmousedown=3D"this.href=3D'http://www.google.com/url?q\75http%3A%=
> 2F%2Flibssp.la\46sa\75D\46sntz\0751\46usg\75AFQjCNE7J4OO_ZAbMYVb9KJ8EJ4tLOy=
> H8g';return true;" onclick=3D"this.href=3D'http://www.google.com/url?q\75ht=
> tp%3A%2F%2Flibssp.la\46sa\75D\46sntz\0751\46usg\75AFQjCNE7J4OO_ZAbMYVb9KJ8E=
> J4tLOyH8g';return true;">libssp.la</a>
><br>&gt;=20
><br>&gt; libatomic.a libgomp.dylib libssp_nonshared.a
><br>&gt;=20
><br>&gt; libatomic.dylib <a href=3D"http://libgomp.la" target=3D"_blank" on=
> mousedown=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibgom=
> p.la\46sa\75D\46sntz\0751\46usg\75AFQjCNFPuVc9p18JcfNo2xgBUJcf3pFOPg';retur=
> n true;" onclick=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2=
> Flibgomp.la\46sa\75D\46sntz\0751\46usg\75AFQjCNFPuVc9p18JcfNo2xgBUJcf3pFOPg=
> ';return true;">libgomp.la</a> <a href=3D"http://libssp_nonshared.la" targe=
> t=3D"_blank" onmousedown=3D"this.href=3D'http://www.google.com/url?q\75http=
> %3A%2F%2Flibssp_nonshared.la\46sa\75D\46sntz\0751\46usg\75AFQjCNGpUoMKTKVSN=
> Kt8dmmpi44Sq2tilQ';return true;" onclick=3D"this.href=3D'http://www.google.=
> com/url?q\75http%3A%2F%2Flibssp_nonshared.la\46sa\75D\46sntz\0751\46usg\75A=
> FQjCNGpUoMKTKVSNKt8dmmpi44Sq2tilQ';return true;">libssp_nonshared.la</a>
><br>&gt;=20
><br>&gt; <a href=3D"http://libatomic.la" target=3D"_blank" onmousedown=3D"t=
> his.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibatomic.la\46sa\75=
> D\46sntz\0751\46usg\75AFQjCNHULPJfFlI7B37ogRdbit2Vc0CIBQ';return true;" onc=
> lick=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibatomic.l=
> a\46sa\75D\46sntz\0751\46usg\75AFQjCNHULPJfFlI7B37ogRdbit2Vc0CIBQ';return t=
> rue;">libatomic.la</a> libgomp.spec libstdc++.6.dylib
><br>&gt;=20
><br>&gt; libcilkrts.5.dylib libitm.1.dylib libstdc++.a
><br>&gt;=20
><br>&gt; libcilkrts.a libitm.a libstdc++.a-gdb.py
><br>&gt;=20
><br>&gt; libcilkrts.dylib libitm.dylib libstdc++.dylib
><br>&gt;=20
><br>&gt; <a href=3D"http://libcilkrts.la" target=3D"_blank" onmousedown=3D"=
> this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibcilkrts.la\46sa\=
> 75D\46sntz\0751\46usg\75AFQjCNFcpOQjRTRAigp5ip_D3ujDZ7DZfg';return true;" o=
> nclick=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibcilkrt=
> s.la\46sa\75D\46sntz\0751\46usg\75AFQjCNFcpOQjRTRAigp5ip_D3ujDZ7DZfg';retur=
> n true;">libcilkrts.la</a> <a href=3D"http://libitm.la" target=3D"_blank" o=
> nmousedown=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibit=
> m.la\46sa\75D\46sntz\0751\46usg\75AFQjCNFoh4Se8j8taVNu8IVy0eEf8Ugz5A';retur=
> n true;" onclick=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2=
> Flibitm.la\46sa\75D\46sntz\0751\46usg\75AFQjCNFoh4Se8j8taVNu8IVy0eEf8Ugz5A'=
> ;return true;">libitm.la</a> libstdc++.la
><br>&gt;=20
><br>&gt; libgcc_ext.10.4.dylib libitm.spec libsupc++.a
><br>&gt;=20
><br>&gt; libgcc_ext.10.5.dylib libmpc.a libsupc++.la
><br>&gt;=20
><br>&gt; libgcc_s.1.dylib <a href=3D"http://libmpc.la" target=3D"_blank" on=
> mousedown=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Flibmpc=
> .la\46sa\75D\46sntz\0751\46usg\75AFQjCNHX1CL9B_WQBDkIhM3B70vRaAPJlg';return=
> true;" onclick=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2F=
> libmpc.la\46sa\75D\46sntz\0751\46usg\75AFQjCNHX1CL9B_WQBDkIhM3B70vRaAPJlg';=
> return true;">libmpc.la</a> libubsan.0.dylib
><br>&gt;=20
><br>&gt; libgcc_s_ppc64.1.dylib libmpfr.a libubsan.dylib
><br>&gt;=20
><br>&gt; libgcc_s_x86_64.1.dylib <a href=3D"http://libmpfr.la" target=3D"_b=
> lank" onmousedown=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%=
> 2Flibmpfr.la\46sa\75D\46sntz\0751\46usg\75AFQjCNFk_gx-cEDs5H5el5PYuxF98ji5S=
> g';return true;" onclick=3D"this.href=3D'http://www.google.com/url?q\75http=
> %3A%2F%2Flibmpfr.la\46sa\75D\46sntz\0751\46usg\75AFQjCNFk_gx-cEDs5H5el5PYux=
> F98ji5Sg';return true;">libmpfr.la</a> <a href=3D"http://libubsan.la" targe=
> t=3D"_blank" onmousedown=3D"this.href=3D'http://www.google.com/url?q\75http=
> %3A%2F%2Flibubsan.la\46sa\75D\46sntz\0751\46usg\75AFQjCNFOxHozFvW11IfkEw6aV=
> 7juotBaUw';return true;" onclick=3D"this.href=3D'http://www.google.com/url?=
> q\75http%3A%2F%2Flibubsan.la\46sa\75D\46sntz\0751\46usg\75AFQjCNFOxHozFvW11=
> IfkEw6aV7juotBaUw';return true;">libubsan.la</a>
><br>&gt;=20
><br>&gt; libgfortran.3.dylib libquadmath.0.dylib
><br>&gt;=20
><br>&gt; I never installed them there, apparently they were already on ther=
> e (the files have December 2013 dates). How do I check their versions? And =
> why did they not cause trouble for previous installations?
><br>&gt; &nbsp;
><br>&gt; Am Samstag, 2. August 2014 12:39:38 UTC+2 schrieb Fran=C3=A7ois:
><br>&gt; OK this is the one I am after and the mystery gets more mysterious=
>:=20
><br>&gt; configure:8869: checking for FLINT &gt;=3D 2.3=20
><br>&gt; configure:8898: gcc -o conftest -O2 -g &nbsp;-fPIC -I/Users/kabel/=
> sage/sage/<wbr>local/include/flint -I/Users/kabel/sage/sage/<wbr>local/incl=
> ude -I/Users/kabel/sage/sage/<wbr>local/include -I/Users/kabel/sage/sage/<w=
> br>local/include &nbsp;-I/usr/local/include -L/Users/kabel/sage/sage/<wbr>l=
> ocal/lib -L/Users/kabel/sage/sage/<wbr>local/lib &nbsp;-L/usr/local/lib con=
> ftest.c -lntl -lgmp -lreadline -ltermcap -lm &nbsp; -L/Users/kabel/sage/sag=
> e/<wbr>local/lib -lflint -lmpfr -lmpir &gt;&amp;5=20
><br>&gt; In file included from /Users/kabel/sage/sage/local/<wbr>include/fl=
> int/fmpz.h:38:0,=20
><br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from=
> conftest.c:94:=20
><br>&gt; /Users/kabel/sage/sage/local/<wbr>include/flint/flint.h:74:2: erro=
> r: #error GMP 5.0.0 or MPIR 2.6.0 or later are required=20
><br>&gt; /Users/kabel/sage/sage/local/<wbr>include/flint/flint.h:78:2: erro=
> r: #error MPFR 3.0.0 or later is required=20
><br>&gt;=20
><br>&gt; Do you have gmp or mpir or mpfr installed in /usr/local? If so whi=
> ch versions?=20
><br>&gt;=20
><br>&gt; Fran=C3=A7ois=20
><br>&gt;=20
><br>&gt; On 2/08/2014, at 22:32, Jan Keitel &lt;<a>jocalare...@gmail.com</a=
>>&gt; wrote:=20
><br>&gt;=20
><br>&gt; &gt; Hi Francois,=20
><br>&gt; &gt;=20
><br>&gt; &gt; thank you for taking the time to look into this. I think I fo=
> und the config.log you were looking for. It is now <a href=3D"http://wwwth.=
> mpp.mpg.de/members/jkeitel/config.log" target=3D"_blank" onmousedown=3D"thi=
> s.href=3D'http://www.google.com/url?q\75http%3A%2F%2Fwwwth.mpp.mpg.de%2Fmem=
> bers%2Fjkeitel%2Fconfig.log\46sa\75D\46sntz\0751\46usg\75AFQjCNG71JS-MeIgHj=
> RVsZs4-qU24oRYdw';return true;" onclick=3D"this.href=3D'http://www.google.c=
> om/url?q\75http%3A%2F%2Fwwwth.mpp.mpg.de%2Fmembers%2Fjkeitel%2Fconfig.log\4=
> 6sa\75D\46sntz\0751\46usg\75AFQjCNG71JS-MeIgHjRVsZs4-qU24oRYdw';return true=
> ;">http://wwwth.mpp.mpg.de/<wbr>members/jkeitel/config.log</a>=20
><br>&gt; &gt;=20
><br>&gt; &gt; Dima, no, I actually didn't try that. Is that still necessary=
> even after a 'make distclean'?=20
><br>&gt; &gt;=20
><br>&gt; &gt; Best,=20
><br>&gt; &gt; Jan=20
><br>&gt; &gt;=20
><br>&gt; &gt; Am Samstag, 2. August 2014 12:02:32 UTC+2 schrieb Fran=C3=A7o=
> is:=20
><br>&gt; &gt; In the singular build folder I need Singular/config.log which=
> produced this:=20
><br>&gt; &gt; checking for FLINT &gt;=3D 2.3... not found=20
><br>&gt; &gt; configure: WARNING: Unable to find FLINT (which is strongly r=
> ecommended) on your machine: please use --with-flint=3DPATH_TO_DIR_<wbr>CON=
> TAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understa=
> nd what we are talking about)=20
><br>&gt; &gt;=20
><br>&gt; &gt; Other subconfig found flint so there is something going in th=
> ere. It is already patched for=20
><br>&gt; &gt; such a problem so it must be a corner case that hasn=E2=80=99=
> t been encountered yet.=20
><br>&gt; &gt;=20
><br>&gt; &gt; Fran=C3=A7ois=20
><br>&gt; &gt;=20
><br>&gt; &gt; On 2/08/2014, at 21:52, Francois Bissey &lt;<a>francoi...@can=
> terbury.ac.nz</a>&gt; wrote:=20
><br>&gt; &gt;=20
><br>&gt; &gt; &gt; Hum... some configuration has gone bad on two fronts:=20
><br>&gt; &gt; &gt; g++ -O2 -g &nbsp;-fPIC -I.. -I/Users/kabel/sage/sage/loc=
> al -pipe -I. -I.. -I/Users/kabel/sage/sage/local -I/Users/kabel/sage/sage/<=
> wbr>local/include -I/Users/kabel/sage/sage/<wbr>local/include -I/Users/kabe=
> l/sage/sage/<wbr>local/include &nbsp;-I/usr/local/include &nbsp;-fno-implic=
> it-templates -I.. -I/Users/kabel/sage/sage/local -DNDEBUG -DOM_NDEBUG -Dx86=
> _64Mac_darwin -DHAVE_CONFIG_H \=20
><br>&gt; &gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -o Singular \=20
><br>&gt; &gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tesths.cc iparith.o m=
> psr_Tok.o claptmpl.o\=20
><br>&gt; &gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; grammar.o scanner.o a=
> ttrib.o blackbox.o eigenval_ip.o extra.o fehelp.o feOpt.o ipassign.o ipconv=
> .o ipid.o iplib.o ipprint.o ipshell.o newstruct.o lists.o sdb.o fglm.o inte=
> rpolation.o silink.o ssiLink.o s_buff.o subexpr.o janet.o wrapper.o libpars=
> e.o sing_win.o gms.o pcv.o maps_ip.o walk.o walk_ip.o cntrlc.o misc_ip.o ca=
> lcSVD.o pipeLink.o Minor.o MinorProcessor.o MinorInterface.o bigintm.o pyob=
> ject_setup.o denom_list.o minpoly.o countedref.o semaphore.o slInit_Static.=
> o mpsr_Put.o mpsr_PutPoly.o mpsr_GetPoly.o mpsr_sl.o mpsr_Get.o mpsr_GetMis=
> c.o mpsr_Error.o ndbm.o sing_dbm.o -dynamic -L/Users/kabel/sage/sage/<wbr>l=
> ocal/kernel -L../kernel -lkernel -L/Users/kabel/sage/sage/<wbr>local/lib -L=
> /Users/kabel/sage/sage/<wbr>local/lib &nbsp;-L/usr/local/lib &nbsp;-ldl -lm=
> -lsingfac -lsingcf -lntl -lgmp -lreadline -ltermcap -lm &nbsp; -lomalloc -=
> lpthread &nbsp;../kernel/mmalloc.o=20
><br>&gt; &gt; &gt; ld: warning: directory not found for option '-L/Users/ka=
> bel/sage/sage/<wbr>local/kernel'=20
><br>&gt; &gt; &gt; Undefined symbols for architecture x86_64:=20
><br>&gt; &gt; &gt; &nbsp;"__fmpq_poly_normalise", referenced from:=20
><br>&gt; &gt; &gt; &nbsp; &nbsp; &nbsp;kronSubQa(fmpq_poly_struct*, Canonic=
> alForm const&amp;, int, int) in libsingcf.a(facMul.o)=20
><br>&gt; &gt; &gt; &nbsp; &nbsp; &nbsp;reverseSubstQa(fmpq_poly_<wbr>struct=
> const*, int, int, Variable const&amp;, fmpq_poly_struct const*) in libsing=
> cf.a(facMul.o)=20
><br>&gt; &gt; &gt;=20
><br>&gt; &gt; &gt; /Users/kabel/sage/sage/local/<wbr>kernel indeed shouldn'=
> t exist. somehow build and install=20
><br>&gt; &gt; &gt; folders have been mixed up.=20
><br>&gt; &gt; &gt; The missing symbols are from flint and yes we are missin=
> g -lflint in that command.=20
><br>&gt; &gt; &gt; The wrong folder problem is not fatal and may have been =
> present for a while since it=20
><br>&gt; &gt; &gt; doesn't cause the build to break.=20
><br>&gt; &gt; &gt; The second one is fatal and of course we have merged the=
> ticket to build singular=20
><br>&gt; &gt; &gt; against flint a couple of beta ago but no one had a prob=
> lem so far.=20
><br>&gt; &gt; &gt;=20
><br>&gt; &gt; &gt; I'll look more deeply at your log. I may need some confi=
> g.log once I finished so don't=20
><br>&gt; &gt; &gt; delete anything.=20
><br>&gt; &gt; &gt;=20
><br>&gt; &gt; &gt; Fran=C3=A7ois=20
><br>&gt; &gt; &gt;=20
><br>&gt; &gt; &gt; On 2/08/2014, at 20:18, Jan Keitel &lt;<a>jocalare...@gm=
> ail.com</a>&gt; wrote:=20
><br>&gt; &gt; &gt;=20
><br>&gt; &gt; &gt;&gt; I can't build this on a 2013 MacBook Air running Mac=
> Os 10.9.4, because Singular fails to build:=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt; Error building Sage.=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt; The following package(s) may have failed to build:=
>=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt; package: singular-3.1.6.p3=20
><br>&gt; &gt; &gt;&gt; log file: /Users/kabel/sage/sage/logs/<wbr>pkgs/sing=
> ular-3.1.6.p3.log=20
><br>&gt; &gt; &gt;&gt; build directory: /Users/kabel/sage/sage/local/<wbr>v=
> ar/tmp/sage/build/singular-3.<wbr>1.6.p3=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt; I'm attaching the log, but (I suppose that) the cruc=
> ial lines are=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt; ld: symbol(s) not found for architecture x86_64=20
><br>&gt; &gt; &gt;&gt; collect2: error: ld returned 1 exit status=20
><br>&gt; &gt; &gt;&gt; make[4]: *** [Singular] Error 1=20
><br>&gt; &gt; &gt;&gt; make[3]: *** [install-nolns] Error 1=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt; I've tried sage -f singular and make distclean, but =
> the same error persists. This is with both beta7 and beta8. I did build in =
> parallel with make -j4, but that shouldn't have had an effect when I tried =
> sage -f singular, right?=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt; Does anybody have an idea what's going wrong here? S=
> age used to build just fine.=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt; Cheers,=20
><br>&gt; &gt; &gt;&gt; Jan=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt; PS: Couldn't find a way to attach a file here, so I =
> uploaded the log to <a href=3D"http://wwwth.mpp.mpg.de/members/jkeitel/sing=
> ular-3.1.6.p3.log" target=3D"_blank" onmousedown=3D"this.href=3D'http://www=
> .google.com/url?q\75http%3A%2F%2Fwwwth.mpp.mpg.de%2Fmembers%2Fjkeitel%2Fsin=
> gular-3.1.6.p3.log\46sa\75D\46sntz\0751\46usg\75AFQjCNGrL8HLzC3PUV2Xl7qzJcs=
> 9bw5IMg';return true;" onclick=3D"this.href=3D'http://www.google.com/url?q\=
> 75http%3A%2F%2Fwwwth.mpp.mpg.de%2Fmembers%2Fjkeitel%2Fsingular-3.1.6.p3.log=
> \46sa\75D\46sntz\0751\46usg\75AFQjCNGrL8HLzC3PUV2Xl7qzJcs9bw5IMg';return tr=
> ue;">http://wwwth.mpp.mpg.de/<wbr>members/jkeitel/singular-3.1.<wbr>6.p3.lo=
> g</a>=20
><br>&gt; &gt; &gt;&gt;=20
><br>&gt; &gt; &gt;&gt; --=20
><br>&gt; &gt; &gt;&gt; You received this message because you are subscribed=
> to the Google Groups "sage-release" group.=20
><br>&gt; &gt; &gt;&gt; To unsubscribe from this group and stop receiving em=
> ails from it, send an email to <a>sage-release...@googlegroups.<wbr>com</a>=
> .=20
><br>&gt; &gt; &gt;&gt; To post to this group, send email to <a>sage-r...@go=
> oglegroups.com</a>.=20
><br>&gt; &gt; &gt;&gt; Visit this group at <a href=3D"http://groups.google.=
> com/group/sage-release" target=3D"_blank" onmousedown=3D"this.href=3D'http:=
> //groups.google.com/group/sage-release';return true;" onclick=3D"this.href=
>=3D'http://groups.google.com/group/sage-release';return true;">http://group=
> s.google.com/<wbr>group/sage-release</a>.=20
><br>&gt; &gt; &gt;&gt; For more options, visit <a href=3D"https://groups.go=
> ogle.com/d/optout" target=3D"_blank" onmousedown=3D"this.href=3D'https://gr=
> oups.google.com/d/optout';return true;" onclick=3D"this.href=3D'https://gro=
> ups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>opt=
> out</a>.=20
><br>&gt; &gt; &gt;=20
><br>&gt; &gt; &gt;=20
><br>&gt; &gt; &gt; This email may be confidential and subject to legal priv=
> ilege, it may=20
><br>&gt; &gt; &gt; not reflect the views of the University of Canterbury, a=
> nd it is not=20
><br>&gt; &gt; &gt; guaranteed to be virus free. If you are not an intended =
> recipient,=20
><br>&gt; &gt; &gt; please notify the sender immediately and erase all copie=
> s of the message=20
><br>&gt; &gt; &gt; and any attachments.=20
><br>&gt; &gt; &gt;=20
><br>&gt; &gt; &gt; Please refer to <a href=3D"http://www.canterbury.ac.nz/e=
> maildisclaimer" target=3D"_blank" onmousedown=3D"this.href=3D'http://www.go=
> ogle.com/url?q\75http%3A%2F%2Fwww.canterbury.ac.nz%2Femaildisclaimer\46sa\7=
> 5D\46sntz\0751\46usg\75AFQjCNE0fYruqX-7FWejHXFXTNUdb1wywQ';return true;" on=
> click=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Fwww.canter=
> bury.ac.nz%2Femaildisclaimer\46sa\75D\46sntz\0751\46usg\75AFQjCNE0fYruqX-7F=
> WejHXFXTNUdb1wywQ';return true;">http://www.canterbury.ac.nz/<wbr>emaildisc=
> laimer</a> for more=20
><br>&gt; &gt; &gt; information.=20
><br>&gt; &gt; &gt;=20
><br>&gt; &gt; &gt; --=20
><br>&gt; &gt; &gt; You received this message because you are subscribed to =
> the Google Groups "sage-release" group.=20
><br>&gt; &gt; &gt; To unsubscribe from this group and stop receiving emails=
> from it, send an email to <a>sage-release...@googlegroups.<wbr>com</a>.=20
><br>&gt; &gt; &gt; To post to this group, send email to <a>sage-r...@google=
> groups.com</a>.=20
><br>&gt; &gt; &gt; Visit this group at <a href=3D"http://groups.google.com/=
> group/sage-release" target=3D"_blank" onmousedown=3D"this.href=3D'http://gr=
> oups.google.com/group/sage-release';return true;" onclick=3D"this.href=3D'h=
> ttp://groups.google.com/group/sage-release';return true;">http://groups.goo=
> gle.com/<wbr>group/sage-release</a>.=20
><br>&gt; &gt; &gt; For more options, visit <a href=3D"https://groups.google=
> .com/d/optout" target=3D"_blank" onmousedown=3D"this.href=3D'https://groups=
> .google.com/d/optout';return true;" onclick=3D"this.href=3D'https://groups.=
> google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout<=
> /a>.=20
><br>&gt; &gt;=20
><br>&gt; &gt;=20
><br>&gt; &gt; This email may be confidential and subject to legal privilege=
> , it may=20
><br>&gt; &gt; not reflect the views of the University of Canterbury, and it=
> is not=20
><br>&gt; &gt; guaranteed to be virus free. If you are not an intended recip=
> ient,=20
><br>&gt; &gt; please notify the sender immediately and erase all copies of =
> the message=20
><br>&gt; &gt; and any attachments.=20
><br>&gt; &gt;=20
><br>&gt; &gt; Please refer to <a href=3D"http://www.canterbury.ac.nz/emaild=
> isclaimer" target=3D"_blank" onmousedown=3D"this.href=3D'http://www.google.=
> com/url?q\75http%3A%2F%2Fwww.canterbury.ac.nz%2Femaildisclaimer\46sa\75D\46=
> sntz\0751\46usg\75AFQjCNE0fYruqX-7FWejHXFXTNUdb1wywQ';return true;" onclick=
>=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Fwww.canterbury.=
> ac.nz%2Femaildisclaimer\46sa\75D\46sntz\0751\46usg\75AFQjCNE0fYruqX-7FWejHX=
> FXTNUdb1wywQ';return true;">http://www.canterbury.ac.nz/<wbr>emaildisclaime=
> r</a> for more=20
><br>&gt; &gt; information.=20
><br>&gt; &gt;=20
><br>&gt; &gt; --=20
><br>&gt; &gt; You received this message because you are subscribed to the G=
> oogle Groups "sage-release" group.=20
><br>&gt; &gt; To unsubscribe from this group and stop receiving emails from=
> it, send an email to <a>sage-release...@googlegroups.<wbr>com</a>.=20
><br>&gt; &gt; To post to this group, send email to <a>sage-r...@googlegroup=
> s.com</a>.=20
><br>&gt; &gt; Visit this group at <a href=3D"http://groups.google.com/group=
> /sage-release" target=3D"_blank" onmousedown=3D"this.href=3D'http://groups.=
> google.com/group/sage-release';return true;" onclick=3D"this.href=3D'http:/=
> /groups.google.com/group/sage-release';return true;">http://groups.google.c=
> om/<wbr>group/sage-release</a>.=20
><br>&gt; &gt; For more options, visit <a href=3D"https://groups.google.com/=
> d/optout" target=3D"_blank" onmousedown=3D"this.href=3D'https://groups.goog=
> le.com/d/optout';return true;" onclick=3D"this.href=3D'https://groups.googl=
> e.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.=
>=20
><br>&gt;=20
><br>&gt;=20
><br>&gt; This email may be confidential and subject to legal privilege, it =
> may=20
><br>&gt; not reflect the views of the University of Canterbury, and it is n=
> ot=20
><br>&gt; guaranteed to be virus free. If you are not an intended recipient,=
>=20
><br>&gt; please notify the sender immediately and erase all copies of the m=
> essage=20
><br>&gt; and any attachments.=20
><br>&gt;=20
><br>&gt; Please refer to <a href=3D"http://www.canterbury.ac.nz/emaildiscla=
> imer" target=3D"_blank" onmousedown=3D"this.href=3D'http://www.google.com/u=
> rl?q\75http%3A%2F%2Fwww.canterbury.ac.nz%2Femaildisclaimer\46sa\75D\46sntz\=
> 0751\46usg\75AFQjCNE0fYruqX-7FWejHXFXTNUdb1wywQ';return true;" onclick=3D"t=
> his.href=3D'http://www.google.com/url?q\75http%3A%2F%2Fwww.canterbury.ac.nz=
> %2Femaildisclaimer\46sa\75D\46sntz\0751\46usg\75AFQjCNE0fYruqX-7FWejHXFXTNU=
> db1wywQ';return true;">http://www.canterbury.ac.nz/<wbr>emaildisclaimer</a>=
> for more=20
><br>&gt; information.=20
><br>&gt;=20
><br>&gt; --=20
><br>&gt; You received this message because you are subscribed to the Google=
> Groups "sage-release" group.
><br>&gt; To unsubscribe from this group and stop receiving emails from it, =
> send an email to <a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-m=
> ailto=3D"byr3yAnFaLEJ" onmousedown=3D"this.href=3D'javascript:';return true=
> ;" onclick=3D"this.href=3D'javascript:';return true;">sage-release...@<wbr>=
> googlegroups.com</a>.
><br>&gt; To post to this group, send email to <a href=3D"javascript:" targe=
> t=3D"_blank" gdf-obfuscated-mailto=3D"byr3yAnFaLEJ" onmousedown=3D"this.hre=
> f=3D'javascript:';return true;" onclick=3D"this.href=3D'javascript:';return=
> true;">sage-r...@googlegroups.com</a>.
><br>&gt; Visit this group at <a href=3D"http://groups.google.com/group/sage=
> -release" target=3D"_blank" onmousedown=3D"this.href=3D'http://groups.googl=
> e.com/group/sage-release';return true;" onclick=3D"this.href=3D'http://grou=
> ps.google.com/group/sage-release';return true;">http://groups.google.com/<w=
> br>group/sage-release</a>.
><br>&gt; For more options, visit <a href=3D"https://groups.google.com/d/opt=
> out" target=3D"_blank" onmousedown=3D"this.href=3D'https://groups.google.co=
> m/d/optout';return true;" onclick=3D"this.href=3D'https://groups.google.com=
> /d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.
><br>
><br>
><br>This email may be confidential and subject to legal privilege, it may
><br>not reflect the views of the University of Canterbury, and it is not
><br>guaranteed to be virus free. If you are not an intended recipient,
><br>please notify the sender immediately and erase all copies of the messag=
> e
><br>and any attachments.
><br>
><br>Please refer to <a href=3D"http://www.canterbury.ac.nz/emaildisclaimer"=
> target=3D"_blank" onmousedown=3D"this.href=3D'http://www.google.com/url?q\=
> 75http%3A%2F%2Fwww.canterbury.ac.nz%2Femaildisclaimer\46sa\75D\46sntz\0751\=
> 46usg\75AFQjCNE0fYruqX-7FWejHXFXTNUdb1wywQ';return true;" onclick=3D"this.h=
> ref=3D'http://www.google.com/url?q\75http%3A%2F%2Fwww.canterbury.ac.nz%2Fem=
> aildisclaimer\46sa\75D\46sntz\0751\46usg\75AFQjCNE0fYruqX-7FWejHXFXTNUdb1wy=
> wQ';return true;">http://www.canterbury.ac.nz/<wbr>emaildisclaimer</a> for =
> more
><br>information.
><br></blockquote></div></div>
>
><p></p>
>
> -- <br />
> You received this message because you are subscribed to the Google Groups &=
> quot;sage-release&quot; group.<br />
> To unsubscribe from this group and stop receiving emails from it, send an e=
> mail to <a href=3D"mailto:sage-release...@googlegroups.com">sage-r=
> elease+un...@googlegroups.com</a>.<br />
> To post to this group, send email to <a href=3D"mailto:sage-release@googleg=
> roups.com">sage-r...@googlegroups.com</a>.<br />
> Visit this group at <a href=3D"http://groups.google.com/group/sage-release"=
>>http://groups.google.com/group/sage-release</a>.<br />
> For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
> s://groups.google.com/d/optout</a>.<br />
>
> ------=_Part_883_789377487.1406978171680--
>

leif

unread,
Aug 4, 2014, 10:20:04 AM8/4/14
to sage-r...@googlegroups.com

[Reposting, since my reply apparently got stuck somewhere.]

-------- Original Message --------
Subject: Re: [sage-release] Sage 6.3.beta8 released
Date: Sat, 02 Aug 2014 13:32:51 +0200
From: leif <not.r...@online.de>
To: sage-r...@googlegroups.com

Jan Keitel wrote:
> Okay, found them:
>
> gmp: 4.3.1
> mpfr: 2.4.1
> mpc: 0.8.1

These shouldn't get picked up (in this case, only the header files
matter anyway), since $SAGE_LOCAL/{include,lib} come first in the -I and
-L directives:

configure:8898: gcc -o conftest -O2 -g -fPIC
-I/Users/kabel/sage/sage/local/include/flint
-I/Users/kabel/sage/sage/local/include
-I/Users/kabel/sage/sage/local/include
-I/Users/kabel/sage/sage/local/include -I/usr/local/include
-L/Users/kabel/sage/sage/local/lib -L/Users/kabel/sage/sage/local/lib
-L/usr/local/lib conftest.c -lntl -lgmp -lreadline -ltermcap -lm
-L/Users/kabel/sage/sage/local/lib -lflint -lmpfr -lmpir >&5
In file included from
/Users/kabel/sage/sage/local/include/flint/fmpz.h:38:0,
from conftest.c:94:
/Users/kabel/sage/sage/local/include/flint/flint.h:74:2: error: #error
GMP 5.0.0 or MPIR 2.6.0 or later are required
/Users/kabel/sage/sage/local/include/flint/flint.h:78:2: error: #error
MPFR 3.0.0 or later is required
configure:8898: $? = 1


It would be interesting to see GCC's verbose output (in particular, the
list of include folders) as well as the preprocessed source of that
conftest.c, but I guess it's not that easy to add the appropriate flags
there.


> Is there a way to force the sage installation not to use the globally
> installed versions?

It shouldn't at all. You could move or remove them temporarily though.


-leif


> Am Samstag, 2. August 2014 12:55:12 UTC+2 schrieb François:
>
> They almost certainly came with a gcc install. Leif was noting
> something
> about linking about .a, it probably originated here.
> Previously you have been lucky that nothing broke. But the check for
> flint
> has bits “-I/usr/local/include” and “-L/usr/local/lib” which is how
> you picked
> them up. I think you can check gmp's version in
> /usr/local/include/gmp.h
> there is probably an indication for mpfr in mpfr.h as well.
>
> François
>
> On 2/08/2014, at 22:47, Jan Keitel <jocalare...@gmail.com
> <javascript:>> wrote:
>
> > Oh, I'm sorry - it appears that I do:
> >
> > Aloiss-MacBook-Air-2:lib kabel$ ls /usr/local/lib
> >
> > ImageMagick-6.8.3 libgfortran.a libquadmath.a
> >
> > gcc libgfortran.dylib libquadmath.dylib
> >
> > i386 libgfortran.la <http://libgfortran.la> libquadmath.la
> <http://libquadmath.la>
> >
> > libasan.1.dylib libgfortran.spec libsanitizer.spec
> >
> > libasan.dylib libgmp.a libssp.0.dylib
> >
> > libasan.la <http://libasan.la> libgmp.la <http://libgmp.la> libssp.a
> >
> > libasan_preinit.o libgomp.1.dylib libssp.dylib
> >
> > libatomic.1.dylib libgomp.a libssp.la <http://libssp.la>
> >
> > libatomic.a libgomp.dylib libssp_nonshared.a
> >
> > libatomic.dylib libgomp.la <http://libgomp.la>
> libssp_nonshared.la <http://libssp_nonshared.la>
> >
> > libatomic.la <http://libatomic.la> libgomp.spec libstdc++.6.dylib
> >
> > libcilkrts.5.dylib libitm.1.dylib libstdc++.a
> >
> > libcilkrts.a libitm.a libstdc++.a-gdb.py
> >
> > libcilkrts.dylib libitm.dylib libstdc++.dylib
> >
> > libcilkrts.la <http://libcilkrts.la> libitm.la <http://libitm.la>
> libstdc++.la
> >
> > libgcc_ext.10.4.dylib libitm.spec libsupc++.a
> >
> > libgcc_ext.10.5.dylib libmpc.a libsupc++.la
> >
> > libgcc_s.1.dylib libmpc.la <http://libmpc.la> libubsan.0.dylib
> >
> > libgcc_s_ppc64.1.dylib libmpfr.a libubsan.dylib
> >
> > libgcc_s_x86_64.1.dylib libmpfr.la <http://libmpfr.la>
> libubsan.la <http://libubsan.la>
> >
> > libgfortran.3.dylib libquadmath.0.dylib
> >
> > I never installed them there, apparently they were already on
> there (the files have December 2013 dates). How do I check their
> versions? And why did they not cause trouble for previous
> installations?
> >
> > Am Samstag, 2. August 2014 12:39:38 UTC+2 schrieb François:
> > OK this is the one I am after and the mystery gets more mysterious:
> > configure:8869: checking for FLINT >= 2.3
> > configure:8898: gcc -o conftest -O2 -g -fPIC
> -I/Users/kabel/sage/sage/local/include/flint
> -I/Users/kabel/sage/sage/local/include
> -I/Users/kabel/sage/sage/local/include
> -I/Users/kabel/sage/sage/local/include -I/usr/local/include
> -L/Users/kabel/sage/sage/local/lib
> -L/Users/kabel/sage/sage/local/lib -L/usr/local/lib conftest.c
> -lntl -lgmp -lreadline -ltermcap -lm
> -L/Users/kabel/sage/sage/local/lib -lflint -lmpfr -lmpir >&5
> > In file included from
> /Users/kabel/sage/sage/local/include/flint/fmpz.h:38:0,
> > from conftest.c:94:
> > /Users/kabel/sage/sage/local/include/flint/flint.h:74:2: error:
> #error GMP 5.0.0 or MPIR 2.6.0 or later are required
> > /Users/kabel/sage/sage/local/include/flint/flint.h:78:2: error:
> #error MPFR 3.0.0 or later is required
> >
> > Do you have gmp or mpir or mpfr installed in /usr/local? If so
> which versions?
> >
> > François
> >
> > On 2/08/2014, at 22:32, Jan Keitel <jocalare...@gmail.com> wrote:
> >
> > > Hi Francois,
> > >
> > > thank you for taking the time to look into this. I think I
> found the config.log you were looking for. It is now
> http://wwwth.mpp.mpg.de/members/jkeitel/config.log
> <http://wwwth.mpp.mpg.de/members/jkeitel/config.log>
> > >
> > > Dima, no, I actually didn't try that. Is that still necessary
> even after a 'make distclean'?
> > >
> > > Best,
> > > Jan
> > >
> > > Am Samstag, 2. August 2014 12:02:32 UTC+2 schrieb François:
> > > In the singular build folder I need Singular/config.log which
> produced this:
> > > checking for FLINT >= 2.3... not found
> > > configure: WARNING: Unable to find FLINT (which is strongly
> recommended) on your machine: please use
> --with-flint=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also
> ./configure --help if you do not understand what we are talking about)
> > >
> > > Other subconfig found flint so there is something going in
> there. It is already patched for
> > > such a problem so it must be a corner case that hasn’t been
> encountered yet.
> > >
> > > François
> > >
> > > On 2/08/2014, at 21:52, Francois Bissey
> <francoi...@canterbury.ac.nz> wrote:
> > >
> > > > Hum... some configuration has gone bad on two fronts:
> > > > g++ -O2 -g -fPIC -I.. -I/Users/kabel/sage/sage/local -pipe
> -I. -I.. -I/Users/kabel/sage/sage/local
> -I/Users/kabel/sage/sage/local/include
> -I/Users/kabel/sage/sage/local/include
> -I/Users/kabel/sage/sage/local/include -I/usr/local/include
> -fno-implicit-templates -I.. -I/Users/kabel/sage/sage/local
> -DNDEBUG -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H \
> > > > -o Singular \
> > > > tesths.cc iparith.o mpsr_Tok.o claptmpl.o\
> > > > grammar.o scanner.o attrib.o blackbox.o
> eigenval_ip.o extra.o fehelp.o feOpt.o ipassign.o ipconv.o ipid.o
> iplib.o ipprint.o ipshell.o newstruct.o lists.o sdb.o fglm.o
> interpolation.o silink.o ssiLink.o s_buff.o subexpr.o janet.o
> wrapper.o libparse.o sing_win.o gms.o pcv.o maps_ip.o walk.o
> walk_ip.o cntrlc.o misc_ip.o calcSVD.o pipeLink.o Minor.o
> MinorProcessor.o MinorInterface.o bigintm.o pyobject_setup.o
> denom_list.o minpoly.o countedref.o semaphore.o slInit_Static.o
> mpsr_Put.o mpsr_PutPoly.o mpsr_GetPoly.o mpsr_sl.o mpsr_Get.o
> mpsr_GetMisc.o mpsr_Error.o ndbm.o sing_dbm.o -dynamic
> -L/Users/kabel/sage/sage/local/kernel -L../kernel -lkernel
> -L/Users/kabel/sage/sage/local/lib
> -L/Users/kabel/sage/sage/local/lib -L/usr/local/lib -ldl -lm
> -lsingfac -lsingcf -lntl -lgmp -lreadline -ltermcap -lm -lomalloc
> -lpthread ../kernel/mmalloc.o
> > > > ld: warning: directory not found for option
> '-L/Users/kabel/sage/sage/local/kernel'
> > > > Undefined symbols for architecture x86_64:
> > > > "__fmpq_poly_normalise", referenced from:
> > > > kronSubQa(fmpq_poly_struct*, CanonicalForm const&, int,
> int) in libsingcf.a(facMul.o)
> > > > reverseSubstQa(fmpq_poly_struct const*, int, int,
> Variable const&, fmpq_poly_struct const*) in libsingcf.a(facMul.o)
> > > >
> > > > /Users/kabel/sage/sage/local/kernel indeed shouldn't exist.
> somehow build and install
> > > > folders have been mixed up.
> > > > The missing symbols are from flint and yes we are missing
> -lflint in that command.
> > > > The wrong folder problem is not fatal and may have been
> present for a while since it
> > > > doesn't cause the build to break.
> > > > The second one is fatal and of course we have merged the
> ticket to build singular
> > > > against flint a couple of beta ago but no one had a problem
> so far.
> > > >
> > > > I'll look more deeply at your log. I may need some config.log
> once I finished so don't
> > > > delete anything.
> > > >
> > > > François
> > > >
> > > > On 2/08/2014, at 20:18, Jan Keitel <jocalare...@gmail.com>
> wrote:
> > > >
> > > >> I can't build this on a 2013 MacBook Air running Mac Os
> 10.9.4, because Singular fails to build:
> > > >>
> > > >> Error building Sage.
> > > >>
> > > >> The following package(s) may have failed to build:
> > > >>
> > > >> package: singular-3.1.6.p3
> > > >> log file:
> /Users/kabel/sage/sage/logs/pkgs/singular-3.1.6.p3.log
> > > >> build directory:
> /Users/kabel/sage/sage/local/var/tmp/sage/build/singular-3.1.6.p3
> > > >>
> > > >>
> > > >> I'm attaching the log, but (I suppose that) the crucial
> lines are
> > > >>
> > > >> ld: symbol(s) not found for architecture x86_64
> > > >> collect2: error: ld returned 1 exit status
> > > >> make[4]: *** [Singular] Error 1
> > > >> make[3]: *** [install-nolns] Error 1
> > > >>
> > > >>
> > > >> I've tried sage -f singular and make distclean, but the same
> error persists. This is with both beta7 and beta8. I did build in
> parallel with make -j4, but that shouldn't have had an effect when I
> tried sage -f singular, right?
> > > >>
> > > >> Does anybody have an idea what's going wrong here? Sage used
> to build just fine.
> > > >>
> > > >> Cheers,
> > > >> Jan
> > > >>
> > > >> PS: Couldn't find a way to attach a file here, so I uploaded

leif

unread,
Aug 4, 2014, 10:20:04 AM8/4/14
to sage-r...@googlegroups.com
Jan Keitel wrote:
> Okay, found them:
>
> gmp: 4.3.1
> mpfr: 2.4.1
> mpc: 0.8.1

These shouldn't get picked up (in this case, only the header files
matter anyway), since $SAGE_LOCAL/{include,lib} come first in the -I and
-L directives:

configure:8898: gcc -o conftest -O2 -g -fPIC
-I/Users/kabel/sage/sage/local/include/flint
-I/Users/kabel/sage/sage/local/include
-I/Users/kabel/sage/sage/local/include
-I/Users/kabel/sage/sage/local/include -I/usr/local/include
-L/Users/kabel/sage/sage/local/lib -L/Users/kabel/sage/sage/local/lib
-L/usr/local/lib conftest.c -lntl -lgmp -lreadline -ltermcap -lm
-L/Users/kabel/sage/sage/local/lib -lflint -lmpfr -lmpir >&5
In file included from
/Users/kabel/sage/sage/local/include/flint/fmpz.h:38:0,
from conftest.c:94:
/Users/kabel/sage/sage/local/include/flint/flint.h:74:2: error: #error
GMP 5.0.0 or MPIR 2.6.0 or later are required
/Users/kabel/sage/sage/local/include/flint/flint.h:78:2: error: #error
MPFR 3.0.0 or later is required
configure:8898: $? = 1


It would be interesting to see GCC's verbose output (in particular, the
list of include folders) as well as the preprocessed source of that
conftest.c, but I guess it's not that easy to add the appropriate flags
there.


> Is there a way to force the sage installation not to use the globally
> installed versions?

It shouldn't at all. You could move or remove them temporarily though.


-leif


> Am Samstag, 2. August 2014 12:55:12 UTC+2 schrieb François:
>
> They almost certainly came with a gcc install. Leif was noting
> something
> about linking about .a, it probably originated here.
> Previously you have been lucky that nothing broke. But the check for
> flint
> has bits “-I/usr/local/include” and “-L/usr/local/lib” which is how
> you picked
> them up. I think you can check gmp's version in
> /usr/local/include/gmp.h
> there is probably an indication for mpfr in mpfr.h as well.
>
> François
>
> On 2/08/2014, at 22:47, Jan Keitel <jocalare...@gmail.com
> <javascript:>> wrote:
>
> > Oh, I'm sorry - it appears that I do:
> >
> > Aloiss-MacBook-Air-2:lib kabel$ ls /usr/local/lib
> >
> > ImageMagick-6.8.3 libgfortran.a libquadmath.a
> >
> > gcc libgfortran.dylib libquadmath.dylib
> >
> > libasan.1.dylib libgfortran.spec libsanitizer.spec
> >
> > libasan.dylib libgmp.a libssp.0.dylib
> >
> > libasan.la <http://libasan.la> libgmp.la <http://libgmp.la> libssp.a
> >
> > libasan_preinit.o libgomp.1.dylib libssp.dylib
> >
> > libatomic.1.dylib libgomp.a libssp.la <http://libssp.la>
> >
> > libatomic.a libgomp.dylib libssp_nonshared.a
> >
> > libatomic.la <http://libatomic.la> libgomp.spec libstdc++.6.dylib
> >
> > libcilkrts.5.dylib libitm.1.dylib libstdc++.a
> >
> > libcilkrts.a libitm.a libstdc++.a-gdb.py
> >
> > libcilkrts.dylib libitm.dylib libstdc++.dylib
> >
> libstdc++.la
> >
> > libgcc_ext.10.4.dylib libitm.spec libsupc++.a
> >
> > libgcc_ext.10.5.dylib libmpc.a libsupc++.la
> >
> > libgcc_s.1.dylib libmpc.la <http://libmpc.la> libubsan.0.dylib
> >
> > libgcc_s_ppc64.1.dylib libmpfr.a libubsan.dylib
> >
> > libgcc_s_x86_64.1.dylib libmpfr.la <http://libmpfr.la>
> libubsan.la <http://libubsan.la>
> >
Reply all
Reply to author
Forward
0 new messages