On 8/10/07, Pete Chvany <[EMAIL PROTECTED]> wrote:
> William--
>
> Thanks, I will work through these issues and let you know what the
> results are.

Actually, I think in each case the result is "I (william) need to fix
something",
so there really isn't much for you to do at present.

> I've been meaning to make a more formal set of installation
> instructions and scripts for a while now--partly for my own sanity,
> partly so if Arthur has to take over at some point, the ins and outs
> will be clearer, and partly in hopes of contributing to the SAGE
> community if I come up with anything elegant or useful, either in
> scripting or documentation. That's partly why I'm being so detailed
> in my notes and questions on this build ... I have more time than
> usual, since the year hasn't started yet.

Great, many thanks!

>
> Thanks again.
>
> Pete
>
> On Aug 10, 2007, at 11:03 AM, William Stein wrote:
>
> > (I've cc'd this to FriCAS since Axiom and FriCAS are mentioned below
> > in reference to OS X.)
> > On 8/10/07, Pete Chvany <[EMAIL PROTECTED]> wrote:
> >> Hi William--
> >>
> >> Shakedown cruise of SAGE 2.7.3 installation continues. I've got four
> >> final optional packages I'm trying to set up, with various error
> >> conditions. I've included my findings below for
> >>
> >> polymake
> >> twistedweb
> >> axiom
> >> biopython
> >>
> >
> > Forget about twistedweb, since it's now included standard in SAGE
> > anyways -- i.e., you already have it. Evidently, I neglected to
> > remove it
> > from the list of optional packages, but will do so for the next
> > release.
> >
> >
> >> ++++++++++++++++++
> >>
> >> Errors building polymake:
> >>
> >> Making SAGE/Python scripts relocatable...
> >> Making script relocatable
> >> bzip2: (stdin) is not a bzip2 file.
> >> tar: Child returned status 2
> >> tar: Error exit delayed from previous errors
> >> Download the cddlib-094b.spkg and place it in '/usr/local/bin/sage/
> >> spkg/standard/'
> >>
> >> real    0m34.284s
> >> user    0m13.400s
> >> sys     0m13.931s
> >> sage: An error occured while installing polymake-2.2.p2
> >> Please email William Stein <[EMAIL PROTECTED]> explaining the
> >> problem and send him the relevant part of
> >> of /usr/local/bin/sage/install.log.  Don't send the whole thing.
> >> If you want to try to fix the problem, yourself *don't* just cd to
> >> /usr/local/bin/sage/spkg/build/polymake-2.2.p2 and type 'make'.
> >> Instead (using bash) type "source local/bin/sage-env" from the
> >> directory
> >> /usr/local/bin/sage
> >> in order to set all environment variables correctly, then cd to
> >> /usr/local/bin/sage/spkg/build/polymake-2.2.p2
> >>
> >> ****
> >>
> >> The cddlib package IS in the correct location:
> >>
> >> [mathmac11:sage/spkg/standard] root# ls cdd*
> >> cddlib-094b.spkg
> >> [mathmac11:sage/spkg/standard] root#
> >
> >
> >>
> >>
> >> *****
> >>
> >> SAGE_ROOT is set:
> >>
> >> # Set SAGE_ROOT to the location of the sage install.
> >> SAGE_ROOT="/usr/local/bin/sage"
> >>
> >> ran the sage-env command in bash from the main directory, cd'd to the
> >> polymake directory. Confirmed that it should install polymake in the
> >> default location it suggested.
> >>
> >> Error from the polymake build:
> >>
> >> ld -r -o cdd_interface.o cdd_interface-tmp.o ../../external/cdd/
> >> libcddgmp.a
> >> ld: can't open: ../../external/cdd/libcddgmp.a (No such file or
> >> directory, errno = 2)
> >> make[2]: *** [cdd_interface.o] Error 1
> >> make[1]: *** [all] Error 2
> >> make: *** [all] Error 2
> >>
> >> There is also a cddlib file in the spkg/build directory; I've looked
> >> for something else to download from the optional spkg directory on
> >> the SAGE web site but I'm not finding cddlib as a separate entity.
> >
> > That's definitely a bug.  The problem resulted from the
> > massive reorganization of the internal structure of the standard
> > SAGE packages.  I forgot that some of the optional packages
> > build process depends on the internal structure of the standard
> > packages.  I've replicated the above problem and will be able
> > to fix it.
> >
> > By the way, I hope you automate building all the optional SAGE
> > packages.   It would be a great contribution to SAGE if you
> > could just do that every once in a while and report any problems
> > you find.
> >
> >> +++++++++++++++++++++++++++++++++
> >>
> >> Errors building twistedweb:
> >
> > No worries, that's in SAGE already now.
> >>
> >> ++++++++++++++++++++++++++
> >>
> >> Errors with Axiom:
> >>
> > [...]
> >
> > I won't say anything further about this because:
> >   (1) My understanding is that Axiom has never been ported to OSX;
> > they only support
> > Linux and Windows.  So it's shouldn't work on OS X.
> >   (2) FriCAS (a fork of Axiom) is very likely going to replace Axiom
> > in SAGE.  And
> > my impression of the amazing skills of they guy who started the
> > FriCAS project
> > with all things related to build processes suggests FriCAS will
> > support OS X
> > in the near future.
> >
> >> cp: ../bin/gcl: No such file or directory
> >> make[2]: *** [command] Error 1
> >> make[1]: *** [/usr/local/bin/sage/spkg/build/axiom4sage-0.1/build/
> >> powerpc-apple-darwin8.10.0/bin/gcl] Error 2
> >> make: *** [all-recursive] Error 1
> >> ***********************************************************
> >> Failed to make Axiom.
> >> ***********************************************************
> >> Make sure you have the xorg-dev, gettext, and msgfmt libraries
> >> installed.
> >>
> >> real    1m41.649s
> >> user    0m24.137s
> >> sys     1m3.966s
> >> sage: An error occured while installing axiom4sage-0.1
> >> Please email William Stein <[EMAIL PROTECTED]> explaining the
> >> problem and send him the relevant part of
> >> of /usr/local/bin/sage/install.log.  Don't send the whole thing.
> >> If you want to try to fix the problem, yourself *don't* just cd to
> >> /usr/local/bin/sage/spkg/build/axiom4sage-0.1 and type 'make'.
> >> Instead (using bash) type "source local/bin/sage-env" from the
> >> directory
> >> /usr/local/bin/sage
> >> in order to set all environment variables correctly, then cd to
> >> /usr/local/bin/sage/spkg/build/axiom4sage-0.1
> >> mathmac11:/usr/local/bin root#
> >>
> >> Changing to the specific Axiom build directory, and accepting
> >> defaults for the following two queries:
> >>
> >> Reversed (or previously applied) patch detected!  Assume -R? [n]
> >> Apply anyway? [n] 0
> >>
> >> Making all in src/lib
> >> rm -f stamp
> >> echo timestamp > stamp
> >> Making all in lsp
> >> 7 applying toploop patch to unixport/init_gcl.lsp
> >> patching file init_gcl.lsp.in
> >> Reversed (or previously applied) patch detected!  Assume -R? [n]
> >> Apply anyway? [n]
> >> Skipping patch.
> >> 1 out of 1 hunk ignored -- saving rejects to file init_gcl.lsp.in.rej
> >> make[1]: *** [/usr/local/bin/sage/spkg/build/axiom4sage-0.1/build/
> >> powerpc-apple-darwin8.10.0/bin/gcl] Error 1
> >> make: *** [all-recursive] Error 1
> >>
> >> Answering "y" to the question about previously applied patch and -R,
> >> the process gets much further but fails with the same error about the
> >> file /bin/gcl noted above:
> >>
> >> ++++++++++++++++++++++++++
> >>
> >> biopython install:
> >>
> >> This has hung on me several times running, over the last couple of
> >> days. Here's how it reports to the terminal screen this time:
> >
> > This is a known problem.  We are trying to find a hack to get
> > around it,
> > but nobody has found one yet.  I believe if you just hit return a few
> > times when it appears to "hang", then it will contiue fine to the end
> > of the build.
> >
> >> copying build/lib.macosx-10.3-ppc-2.5/mx/Tools/mxTools/mxTools.so -
> >> > /
> >> usr/local/bin/sage/local/lib/python2.5/site-packages/mx/Tools/mxTools
> >> copying build/lib.macosx-10.3-ppc-2.5/mx/Tools/mxTools/xmap.so -> /
> >> usr/local/bin/sage/local/lib/python2.5/site-packages/mx/Tools/mxTools
> >> writing byte-compilation script '/tmp/tmpYffmvO.py'
> >> /usr/local/bin/sage/local/bin/python -O /tmp/tmpYffmvO.py
> >> removing /tmp/tmpYffmvO.py
> >> running install_data
> >> running install_egg_info
> >> Removing /usr/local/bin/sage/local/lib/python2.5/site-packages/
> >> egenix_mx_base-2.0.6-py2.5.egg-info
> >> Writing /usr/local/bin/sage/local/lib/python2.5/site-packages/
> >> egenix_mx_base-2.0.6-py2.5.egg-info
> >> running install
> >>
> >> It will sit there for hours.
> >>
> >> ++++++++++++++++++++++++
> >>
> >> Thanks for any info or suggestions.
> >>
> >> Pete
> >>
> >
> >
> > --
> > William Stein
> > Associate Professor of Mathematics
> > University of Washington
> > http://www.williamstein.org
>
>


-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to