http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar
needless to say, sqrt5.cs.washington.edu is down again...
Just tried to download this; it stopped downloading (w/o an error) at 146MB. Trying again.
Justin
--
Justin C. Walker, Curmudgeon-At-Large, Director
Institute for the Enhancement of the Director's Income
--------
The path of least resistance:
it's not just for electricity any more.
--------
Second download worked.
The build (with "-j8") failed in MPIR, because "could not find a working compiler".
I can provide the log if needed.
Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
I'm beginning to like the cut of his jibberish.
-----------
Did you set CFLAGS="-march=native"?
It finally finished the build fine. (This is on an old ibook just
barely fast enough to be running lion.)
I'm starting the testall now.
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
with
Finished sage -testall. All tests passed on the ibook.
On Apr 4, 2012, at 09:40 , David Joyner wrote:
> On Wed, Apr 4, 2012 at 6:26 AM, David Joyner <wdjo...@gmail.com> wrote:
>> On Tue, Apr 3, 2012 at 9:11 AM, Jeroen Demeyer <jdem...@cage.ugent.be> wrote:
>>> Could somebody with an OS X 10.7 machine please try to build the
>>> following from source, preferably with SAGE_CHECK=yes:
>>>
>>> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar
>>>
>>
>> It finally finished the build fine. (This is on an old ibook just
>> barely fast enough to be running lion.)
>> I'm starting the testall now.
>>
>
> Finished sage -testall. All tests passed on the ibook.
What version of 10.7 are you running? I'm on 10.7.1, and can't get it to build with the "stock" tarball.
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out of things is what separates us from the animals.
Well, except the weasel."
- Homer J Simpson
--------
10.7.3. But I think it's on the slowest oldest ibook that will run lion:-)
>
> Justin
>
> --
> Justin C. Walker, Curmudgeon-At-Large
> Director
> Institute for the Enhancement of the Director's Income
> --------
> "Weaseling out of things is what separates us from the animals.
> Well, except the weasel."
> - Homer J Simpson
> --------
>
>
> On Wed, Apr 4, 2012 at 4:10 PM, Justin C. Walker <jus...@mac.com> wrote:
>> Hi, David,
>>
>> On Apr 4, 2012, at 09:40 , David Joyner wrote:
>>
>>> On Wed, Apr 4, 2012 at 6:26 AM, David Joyner <wdjo...@gmail.com> wrote:
>>>> On Tue, Apr 3, 2012 at 9:11 AM, Jeroen Demeyer <jdem...@cage.ugent.be> wrote:
>>>>> Could somebody with an OS X 10.7 machine please try to build the
>>>>> following from source, preferably with SAGE_CHECK=yes:
>>>>>
>>>>> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/sage-5.0.beta12-gcc.tar
>>>>>
>>>>
>>>> It finally finished the build fine. (This is on an old ibook just
>>>> barely fast enough to be running lion.)
>>>> I'm starting the testall now.
>>>>
>>>
>>> Finished sage -testall. All tests passed on the ibook.
>>
>> What version of 10.7 are you running? I'm on 10.7.1, and can't get it to build with the "stock" tarball.
>
>
> 10.7.3. But I think it's on the slowest oldest ibook that will run lion:-)
Newer 10.7 OS on older system; I'm the reverse. What does 'About This Mac' say your processor is?
Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
--
Democracy is two wolves and a lamb
voting on what to have for lunch.
Liberty is a well-armed lamb contesting
the vote.
> Also send me spkg/logs/mpir-2.1.3.p10.log
Enclosed.
> Did you set CFLAGS="-march=native"?
I did not set it explicitly.
Following (finally) Leif's suggestion from the b10 thread, I restarted the b12 build ( after removing spkg/build/mpir...). It got farther, with the mpir build completing successfully. It's ongoing, and I'll report the results here when the build+test have completed.
BTW, the specific suggestion I followed was to change the ".._supported" function to return an empty string.
I'm enclosing both logs (-clean is the unmodified version; -leif is the latter).
BTW2: is "SAGE_CHECK=yes" used during the build or testing?
Justin
Enter a sage shell:
$ ./sage --sh
Now manually extract the mpir spkg and ./configure it:
$ cd spkg/standard
$ tar xjf mpir-2.1.3.p10.spkg
$ cd mpir-2.1.3.p10/src
$ ./configure
Send me the output and config.log
2Ghz intel core 2 duo
I think I should win a prize or something:-)
> Justin
>
> --
> Justin C. Walker, Curmudgeon at Large
> Institute for the Absorption of Federal Funds
> --
> Democracy is two wolves and a lamb
> voting on what to have for lunch.
> Liberty is a well-armed lamb contesting
> the vote.
>
>
>
The log file you sent me is with Apple's compiler, not Sage's GCC.
To clarify: this should be done within the Sage install which failed to
build MPIR before. It seems that GCC has been built successfully, but
that MPIR cannot be built with that new GCC. So I would like to see
what vanilla MPIR does when compiled with that GCC.
Could you also send me the output of
$ gcc -print-prog-name=as
$ as --version
I have a student who is trying to build on 10.7 on a 2-year old laptop.
Does he need to define SAGE_PORT=yes when trying to compile this
version? I assume he needs to use this version rather than the normal
beta12, right?
Thanks,
Jason
It may depend on the version of XCode he has installed.
> Does he need to define SAGE_PORT=yes when trying to compile this version?
If it immediately fails, then obviously yes.
> I assume he needs to use this version rather than the normal beta12, right?
I think he could build the normal beta12, but he would be testing
something completely different, right? (The normal one would likely
build, but fail a lot of tests due to compiler bugs, depending on
XCode version.) Jereon's specifically interested in having this
tarball tested.
william
> Thanks,
>
> Jason
>
>
>
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
If it would be helpful, I can do another run this weekend after you
make some suggestions for getting this to work.
Thanks
-Bruce
SAGE_CHECK=yes
MAKE=make -j4
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
Mac OS X Lion 10.7.3 (11D50b)
Processor 2.3 GHz Intel Core i5
bash-3.2$ gcc -print-prog-name=as
/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as
bash-3.2$ as --version
FATAL:/Developer/usr/bin/../libexec/as/x86_64/as: I don't understand '-' flag!
-----------------------------------
On Apr 3, 6:11 am, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:
> Could somebody with an OS X 10.7 machine please try to build the
> following from source, preferably with SAGE_CHECK=yes:
>
> http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta1...
For me it fails much earlier:
checking for x86_64-apple-darwin11.3.0-gcc...
/Users/wstein/sage/install/sage-5.0.beta12-gcc/spkg/build/gcc-4.6.3/gcc-build/./gcc/xgcc
-B/Users/wstein/sage/install/sage-5.0.beta12-gcc/spkg/build/gcc-4.6.3/gcc-build/./gcc/
-B/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/bin/
-B/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/lib/
-isystem /Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/include
-isystem /Users/wstein/sage/install/sage-5.0.beta12-gcc/local/x86_64-apple-darwin11.3.0/sys-include
checking for suffix of object files... configure: error: in
`/Users/wstein/sage/install/sage-5.0.beta12-gcc/spkg/build/gcc-4.6.3/gcc-build/x86_64-apple-darwin11.3.0/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[4]: *** [configure-stage1-target-libgcc] Error 1
make[3]: *** [stage1-bubble] Error 2
make[2]: *** [all] Error 2
real 4m10.944s
user 6m58.470s
sys 1m27.258s
************************************************************************
Error installing package gcc-4.6.3
---
deep:sage-5.0.beta12-gcc wstein$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
build 5658) (LLVM build 2335.15.00)
Copyright (C) 2007 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.
See:
http://wstein.org/home/wstein/tmp/install-5.0.beta12-gcc.log
$ export CC=clang
$ make
and report whether that works.
It works! The build completed fine, and I just ran the tests in
libs/pari and they all passed. I'm waiting for the docs to build and
the rest of "make ptestlong" to run.
William
There is exactly one test failure in running the full "make ptestlong"
test suite after a clean build of Sage on OS X 10.7! It's in Polybori
(see below). That's it. Absolutely everything else passes. This
means the goal of getting Sage ported to 10.7 enough for the Sage-5.0
release is "99.999999%" there.
sage -t --long -force_lib devel/sage/sage/rings/polynomial/pbori.pyx
^[[?1034h**********************************************************************
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/devel/sage-main/sage/rings/polynomial/pbori.pyx",
line 120:
sage: for f in I2.groebner_basis():
f
Exception raised:
Traceback (most recent call last):
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_0[12]>", line 1, in <module>
for f in I2.groebner_basis():###line 120:
sage: for f in I2.groebner_basis():
File "pbori.pyx", line 4852, in
sage.rings.polynomial.pbori.BooleanPolynomialIdeal.groebner_basis
(sage/rings/polynomial/pbori.cpp:28192)
sig_on()
RuntimeError: Aborted
**********************************************************************
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/devel/sage-main/sage/rings/polynomial/pbori.pyx",
line 4839:
sage: I.groebner_basis()
Exception raised:
Traceback (most recent call last):
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
File "/Users/wstein/sage/install/sage-5.0.beta12-gcc/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_152[11]>", line 1, in <module>
I.groebner_basis()###line 4839:
sage: I.groebner_basis()
File "pbori.pyx", line 4852, in
sage.rings.polynomial.pbori.BooleanPolynomialIdeal.groebner_basis
(sage/rings/polynomial/pbori.cpp:28192)
sig_on()
RuntimeError: Aborted
------------------------------------------------------------------------
--
Hi,There is exactly one test failure in running the full "make ptestlong"
test suite after a clean build of Sage on OS X 10.7! It's in Polybori
I just built on a "clean" 2009 Macbook Air with updated OS X 10.7.3
and the latest XCode, and it took 291 minutes, built fine, and passed
absolutely *all* tests (including polybori).
-- William
> On my MacBook Pro [OS 10.7.3, 2.66 GHz Intel Core 2 Duo, 4 GB] it built fine
> (after 12 hours), and "make ptestlong" gave rise to no failures at all. In
> particular,
>
> sage -t --long -force_lib "devel/sage/sage/rings/polynomial/pbori.pyx"
> [7.0 s]
>
> ----------------------------------------------------------------------
> All tests passed!
> Total time for all tests: 7.0 seconds
>
> Francis Clarke
>
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
--
William, could you please post the output of the following commands on
that system:
$ which cc
$ which gcc
$ which clang
$ cc --version
$ gcc --version
$ clang --version
A fix for this problem should be #12820.
./sage -f
http://boxen.math.washington.edu/home/jdemeyer/spkg/mpir-2.4.0.p2.spkg
and send me spkg/logs/mpir-2.4.0.p2.log
(regardless of whether the install succeeded)
> On Sun, Apr 8, 2012 at 2:12 AM, Francis Clarke
> <francis....@gmail.com> wrote:
>>
>>
>> On Friday, 6 April 2012 23:21:45 UTC+1, William wrote:
>>>
>>> Hi,
>>>
>>> There is exactly one test failure in running the full "make ptestlong"
>>> test suite after a clean build of Sage on OS X 10.7! It's in Polybori
>>
>
> I just built on a "clean" 2009 Macbook Air with updated OS X 10.7.3
> and the latest XCode, and it took 291 minutes, built fine, and passed
> absolutely *all* tests (including polybori).
I tried sage-b13-lion, and the build blew up at the ECM package (I'll send the log to Jeroen). I don't mind making the requirement that, for 10.7, the user must upgrade to 10.7.3/Xcode 4.3[.?]; but, personally, I can't make that move until I have a better understanding of the implications for my files and "the cloud".
I think that is the one potential gotcha in making the requirement, but it is necessary, given the poor state of the initial releases of the OS and Xcode.
The amount of effort that Sage developers have expended on this is impressive, and a credit to the team. If this works as well as it seems, I think it's high time to move on.
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.