[sage-devel] Re: View issues
It was a TeX/user error. I had an old version of TikZ that was causing conflicts. On Thursday, September 29, 2022 at 11:48:33 AM UTC-4 Ben Salisbury wrote: > This example works for me as expected. > > On Wednesday, September 28, 2022 at 4:56:29 AM UTC-4 Sébastien Labbé wrote: > >> With the new latex_standalone.py module in sage misc, you have access to >> more control on the options to construct a tikzpicture within a latex file >> with standalone document class. See the documentation here: >> >> https://doc.sagemath.org/html/en/reference/misc/sage/misc/latex_standalone.html >> >> I am curious that you test whether the following example taken from the >> above documentation works for you: >> >> g = graphs.PetersenGraph() >> s = latex(g) >> from sage.misc.latex_standalone import TikzPicture >> t = TikzPicture(s, standalone_config=["border=4mm"], usepackage=[ >> 'tkz-graph']) >> t >> t.pdf() >> >> >> On Tuesday, September 27, 2022 at 9:16:03 PM UTC+2 Ben Salisbury wrote: >> >>> Hi all, >>> >>> I'm having trouble with the view method. For example, >>> >>> sage: G = graphs.PetersenGraph() >>> sage: view(G) >>> >>> produced the following error. >>> >>> An error occurred. >>> This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) >>> (preloaded format=pdflatex 2022.9.9) 17 SEP 2022 18:58 >>> entering extended mode >>> restricted \write18 enabled. >>> %&-line parsing enabled. >>> **\nonstopmode \input{sage.tex} >>> (./sage.tex >>> (/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls >>> Document Class: article 2021/10/04 v1.4n Standard LaTeX document class >>> (/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo >>> File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option) >>> ) >>> \c@part=\count185 >>> \c@section=\count186 >>> \c@subsection=\count187 >>> \c@subsubsection=\count188 >>> \c@paragraph=\count189 >>> \c@subparagraph=\count190 >>> \c@figure=\count191 >>> \c@table=\count192 >>> \abovecaptionskip=\skip47 >>> \belowcaptionskip=\skip48 >>> \bibindent=\dimen138 >>> ) >>> (/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsmath.sty >>> Package: amsmath 2021/10/15 v2.17l AMS math features >>> \@mathmargin=\skip49 >>> >>> >>> >>> ! Undefined control sequence. >>> \@outputpage ...istfalse \@parboxrestore \shipout >>> \vbox >>> {\set@typeset@protec... >>> l.118 \end{document} >>> >>> (That makes 100 errors; please try again.) >>> Here is how much of TeX's memory you used: >>> 17546 strings out of 478268 >>> 364860 string characters out of 5846348 >>> 670991 words of memory out of 500 >>> 35436 multiletter control sequences out of 15000+60 >>> 472216 words of font info for 40 fonts, out of 800 for 9000 >>> 1141 hyphenation exceptions out of 8191 >>> 94i,9n,104p,428b,907s stack positions out of >>> 1i,1000n,2p,20b,20s >>> >>> ! ==> Fatal error occurred, no output PDF file produced! >>> >>> Latex error >>> >>> Is there a known error or is my installation messed up (or something >>> else)? >>> >>> Best, >>> Ben >>> >> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/deaca60e-4f45-4ea3-9160-5db16c274604n%40googlegroups.com.
[sage-devel] Re: View issues
This example works for me as expected. On Wednesday, September 28, 2022 at 4:56:29 AM UTC-4 Sébastien Labbé wrote: > With the new latex_standalone.py module in sage misc, you have access to > more control on the options to construct a tikzpicture within a latex file > with standalone document class. See the documentation here: > > https://doc.sagemath.org/html/en/reference/misc/sage/misc/latex_standalone.html > > I am curious that you test whether the following example taken from the > above documentation works for you: > > g = graphs.PetersenGraph() > s = latex(g) > from sage.misc.latex_standalone import TikzPicture > t = TikzPicture(s, standalone_config=["border=4mm"], usepackage=[ > 'tkz-graph']) > t > t.pdf() > > > On Tuesday, September 27, 2022 at 9:16:03 PM UTC+2 Ben Salisbury wrote: > >> Hi all, >> >> I'm having trouble with the view method. For example, >> >> sage: G = graphs.PetersenGraph() >> sage: view(G) >> >> produced the following error. >> >> An error occurred. >> This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) >> (preloaded format=pdflatex 2022.9.9) 17 SEP 2022 18:58 >> entering extended mode >> restricted \write18 enabled. >> %&-line parsing enabled. >> **\nonstopmode \input{sage.tex} >> (./sage.tex (/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls >> Document Class: article 2021/10/04 v1.4n Standard LaTeX document class >> (/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo >> File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option) >> ) >> \c@part=\count185 >> \c@section=\count186 >> \c@subsection=\count187 >> \c@subsubsection=\count188 >> \c@paragraph=\count189 >> \c@subparagraph=\count190 >> \c@figure=\count191 >> \c@table=\count192 >> \abovecaptionskip=\skip47 >> \belowcaptionskip=\skip48 >> \bibindent=\dimen138 >> ) >> (/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsmath.sty >> Package: amsmath 2021/10/15 v2.17l AMS math features >> \@mathmargin=\skip49 >> >> >> >> ! Undefined control sequence. >> \@outputpage ...istfalse \@parboxrestore \shipout >> \vbox >> {\set@typeset@protec... >> l.118 \end{document} >> >> (That makes 100 errors; please try again.) >> Here is how much of TeX's memory you used: >> 17546 strings out of 478268 >> 364860 string characters out of 5846348 >> 670991 words of memory out of 500 >> 35436 multiletter control sequences out of 15000+60 >> 472216 words of font info for 40 fonts, out of 800 for 9000 >> 1141 hyphenation exceptions out of 8191 >> 94i,9n,104p,428b,907s stack positions out of >> 1i,1000n,2p,20b,20s >> >> ! ==> Fatal error occurred, no output PDF file produced! >> >> Latex error >> >> Is there a known error or is my installation messed up (or something >> else)? >> >> Best, >> Ben >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/684abf78-cfe5-4781-9ac0-c8a86c050855n%40googlegroups.com.
Re: [sage-devel] View issues
I didn't know about this debug option. Turns out that, when copying the TeX output to a fresh file, the error still appears. I think I've pared it down to an issue with the preview package, which is very annoying. Even though preview comes packaged with TeX Live, I updated to the latest version on CTAN and it still did not work. In fact, I'm getting the same problem on three different Mac machines. At the risk of turning this into a LaTeX thread, is anyone using Linux or Windows experiencing the same issue? On Tuesday, September 27, 2022 at 4:58:02 PM UTC-4 John H Palmieri wrote: > If you do `view(G, debug=True)`, it will first print out the entire LaTeX > file that it's using. You could paste that into an actual file and see if > you can pin down what the error is, and whether it's coming from your TeX > installation or somewhere else. > > > On Tuesday, September 27, 2022 at 12:32:38 PM UTC-7 dim...@gmail.com > wrote: > >> On Tue, Sep 27, 2022 at 8:16 PM Ben Salisbury wrote: >> > >> > Hi all, >> > >> > I'm having trouble with the view method. For example, >> > >> > sage: G = graphs.PetersenGraph() >> > sage: view(G) >> >> works for me with Sage 9.8.beta0 >> >> > >> > produced the following error. >> > >> > An error occurred. >> > This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) >> (preloaded format=pdflatex 2022.9.9) 17 SEP 2022 18:58 >> > entering extended mode >> > restricted \write18 enabled. >> > %&-line parsing enabled. >> > **\nonstopmode \input{sage.tex} >> > (./sage.tex >> (/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls >> > Document Class: article 2021/10/04 v1.4n Standard LaTeX document class >> > (/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo >> > File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option) >> > ) >> > \c@part=\count185 >> > \c@section=\count186 >> > \c@subsection=\count187 >> > \c@subsubsection=\count188 >> > \c@paragraph=\count189 >> > \c@subparagraph=\count190 >> > \c@figure=\count191 >> > \c@table=\count192 >> > \abovecaptionskip=\skip47 >> > \belowcaptionskip=\skip48 >> > \bibindent=\dimen138 >> > ) >> > (/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsmath.sty >> > Package: amsmath 2021/10/15 v2.17l AMS math features >> > \@mathmargin=\skip49 >> > >> > >> > >> > ! Undefined control sequence. >> > \@outputpage ...istfalse \@parboxrestore \shipout >> > \vbox {\set@typeset@protec... >> > l.118 \end{document} >> > >> > (That makes 100 errors; please try again.) >> > Here is how much of TeX's memory you used: >> > 17546 strings out of 478268 >> > 364860 string characters out of 5846348 >> > 670991 words of memory out of 500 >> > 35436 multiletter control sequences out of 15000+60 >> > 472216 words of font info for 40 fonts, out of 800 for 9000 >> > 1141 hyphenation exceptions out of 8191 >> > 94i,9n,104p,428b,907s stack positions out of >> 1i,1000n,2p,20b,20s >> > >> > ! ==> Fatal error occurred, no output PDF file produced! >> > >> > Latex error >> > >> > Is there a known error or is my installation messed up (or something >> else)? >> > >> > Best, >> > Ben >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "sage-devel" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to sage-devel+...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/bb617109-e9a3-4a91-b3ac-4238c15f40f4n%40googlegroups.com >> . >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/f154b1ba-f1d8-4d40-bb6a-c4634a93ad08n%40googlegroups.com.
[sage-devel] View issues
Hi all, I'm having trouble with the view method. For example, sage: G = graphs.PetersenGraph() sage: view(G) produced the following error. An error occurred. This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex 2022.9.9) 17 SEP 2022 18:58 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **\nonstopmode \input{sage.tex} (./sage.tex (/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls Document Class: article 2021/10/04 v1.4n Standard LaTeX document class (/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo File: size10.clo 2021/10/04 v1.4n Standard LaTeX file (size option) ) \c@part=\count185 \c@section=\count186 \c@subsection=\count187 \c@subsubsection=\count188 \c@paragraph=\count189 \c@subparagraph=\count190 \c@figure=\count191 \c@table=\count192 \abovecaptionskip=\skip47 \belowcaptionskip=\skip48 \bibindent=\dimen138 ) (/usr/local/texlive/2022/texmf-dist/tex/latex/amsmath/amsmath.sty Package: amsmath 2021/10/15 v2.17l AMS math features \@mathmargin=\skip49 ! Undefined control sequence. \@outputpage ...istfalse \@parboxrestore \shipout \vbox {\set@typeset@protec... l.118 \end{document} (That makes 100 errors; please try again.) Here is how much of TeX's memory you used: 17546 strings out of 478268 364860 string characters out of 5846348 670991 words of memory out of 500 35436 multiletter control sequences out of 15000+60 472216 words of font info for 40 fonts, out of 800 for 9000 1141 hyphenation exceptions out of 8191 94i,9n,104p,428b,907s stack positions out of 1i,1000n,2p,20b,20s ! ==> Fatal error occurred, no output PDF file produced! Latex error Is there a known error or is my installation messed up (or something else)? Best, Ben -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/bb617109-e9a3-4a91-b3ac-4238c15f40f4n%40googlegroups.com.
Re: [sage-devel] m4ri fails on m2 MacBook air
I could have swore that I did that command (at least once!). Those threads above also suggest Xcode CLT needs to be > version 13, which I have. Nevertheless, I ran through the whole process from start to finish again, and this time it worked! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/71dcc609-7eae-48e2-93fa-eb2123754bf8n%40googlegroups.com.
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
Success!!! Thank you for all your help! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/d1e11e65-904e-4596-88ea-41ad27f33357%40googlegroups.com.
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
Another build failure (seemingly at the same spot). The log file is attached. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/36fcf6a6-23ec-414b-a3d1-85bec40110bc%40googlegroups.com. Found local metadata for matplotlib-2.2.4.p0 Using cached file /Users/salis1bt/sage-git/upstream/matplotlib-2.2.4.tar.bz2 matplotlib-2.2.4.p0 Setting up build directory for matplotlib-2.2.4.p0 Finished extraction Applying patches from ../patches... Applying ../patches/install-jquery-ui.patch patching file setupext.py Applying ../patches/python38.patch patching file setup.py Applying ../patches/setup.py.patch patching file setup.py Hunk #1 succeeded at 67 (offset -18 lines). Host system: Darwin mth153844pe212 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64 C compiler: clang C compiler version: Apple LLVM version 10.0.1 (clang-1001.0.46.4) Target: x86_64-apple-darwin18.7.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin Package 'matplotlib' is currently not installed No legacy uninstaller found for 'matplotlib'; nothing to do NOTE: Set SAGE_MATPLOTLIB_GUI to anything but 'no' to try to build the Matplotlib GUI. Not building any matplotlib graphical backends. Installing matplotlib-2.2.4.p0 Installing package matplotlib using pip2 Waiting for shared lock to run /Users/salis1bt/sage-git/local/bin/python2 -m pip install --ignore-installed --verbose --no-deps --no-index --isolated --no-build-isolation --root=/Users/salis1bt/sage-git/local/var/tmp/sage/build/matplotlib-2.2.4.p0/inst . ... ok Ignoring indexes: https://pypi.org/simple Created temporary directory: /private/var/folders/d0/bbf0zvnn43b4_fhtkznp_yycgp/T/pip-ephem-wheel-cache-oNzjr7 Created temporary directory: /private/var/folders/d0/bbf0zvnn43b4_fhtkznp_yycgp/T/pip-req-tracker-dHGWmX Created requirements tracker '/private/var/folders/d0/bbf0zvnn43b4_fhtkznp_yycgp/T/pip-req-tracker-dHGWmX' Created temporary directory: /private/var/folders/d0/bbf0zvnn43b4_fhtkznp_yycgp/T/pip-install-qEM64Y Processing /Users/salis1bt/sage-git/local/var/tmp/sage/build/matplotlib-2.2.4.p0/src Created temporary directory: /private/var/folders/d0/bbf0zvnn43b4_fhtkznp_yycgp/T/pip-req-build-MO0CpL Added file:///Users/salis1bt/sage-git/local/var/tmp/sage/build/matplotlib-2.2.4.p0/src to build tracker '/private/var/folders/d0/bbf0zvnn43b4_fhtkznp_yycgp/T/pip-req-tracker-dHGWmX' Running setup.py (path:/private/var/folders/d0/bbf0zvnn43b4_fhtkznp_yycgp/T/pip-req-build-MO0CpL/setup.py) egg_info for package from file:///Users/salis1bt/sage-git/local/var/tmp/sage/build/matplotlib-2.2.4.p0/src Running command python setup.py egg_info Edit setup.cfg to change the build options BUILDING MATPLOTLIB matplotlib: yes [2.2.4] python: yes [2.7.15 (default, Oct 1 2019, 13:49:17) [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)]] platform: yes [darwin] REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [version 1.16.1] install_requires: yes [handled by setuptools] libagg: yes [pkg-config information for 'libagg' could not be found. Using local copy.] freetype: yes [version 2.9.1] png: no [The C/C++ header for libpng (png.h) could not be found. You may need to install the development package.] qhull: yes [pkg-config information for 'libqhull' could not be found. Using local copy.] OPTIONAL SUBPACKAGES sample_data: yes [installing] toolkits: yes [installing] OPTIONAL BACKEND EXTENSIONS macosx: no [skipping due to configuration] qt5agg: no [PySide2 not found; PyQt5 not found] qt4agg: no [PySide not found; PyQt4 not found] gtk3agg: no [Requires pygobject to be installed.] gtk3cairo: no [Requires cairocffi or pycairo to be installed.] gtkagg: no [skipping due to configuration] tkagg: yes [installing; run-time loading from Python Tcl / Tk]
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
Running 'brew install gcc' works without an error. mth153844pe212:sage-git salis1bt$ brew install gcc ==> Downloading https://homebrew.bintray.com/bottles/gcc-9.2.0_1.mojave.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/12/12951cda5ca32814387a1106fdaea9c4d4dd55e9c27f0dc7c044ab5e00dca695?__gda__=exp=1569950472~hmac=0f53b63ceb2e77eb83370ba311eb6c172d0cba3273717771f1e3c78c 100.0% ==> Pouring gcc-9.2.0_1.mojave.bottle.tar.gz /usr/local/Cellar/gcc/9.2.0_1: 1,462 files, 292.2MB Moreover, now both gfortran and gfortran-9 are now in my PATH. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/b29a335e-ab41-4b53-9a9a-a45aea35978f%40googlegroups.com.
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
Same error as before. mth153844pe212:sage-git salis1bt$ brew update Updated 1 tap (homebrew/core). ==> Updated Formulae django-completion kubeseal mth153844pe212:sage-git salis1bt$ brew uninstall gcc Error: No such keg: /usr/local/Cellar/gcc mth153844pe212:sage-git salis1bt$ brew install gfortran Error: No available formula with the name "gfortran" GNU Fortran is part of the GCC formula: brew install gcc -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/c17bc26d-6b79-4f41-bd60-f5095c961a4b%40googlegroups.com.
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
No such luck. mth153844pe212:sage-git salis1bt$ brew update Updated 1 tap (homebrew/core). No changes to formulae. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/10dd-f370-45b8-b95f-f2f2a673ac6b%40googlegroups.com.
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
I had uninstalled and did a distclean before posting the last post, and brew install gfortran still does not work. mth153844pe212:sage-git salis1bt$ brew uninstall gcc Error: No such keg: /usr/local/Cellar/gcc mth153844pe212:sage-git salis1bt$ brew install gfortran Error: No available formula with the name "gfortran" GNU Fortran is part of the GCC formula: brew install gcc -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/940dc8d6-d1e8-430c-a9b6-0ef2f99d5f71%40googlegroups.com.
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
I've uninstalled the Homebrew install of gcc. I had posted that before because, upon attempting to install gfortran using Homebrew, I get Error: No available formula with the name "gfortran" GNU Fortran is part of the GCC formula: brew install gcc For completeness, in case something else is causing a conflict, here are my Homebrew packages. mth153844pe212:sage-git salis1bt$ brew list arb gdbm icu4c libffi little-cms2 openblas pixman webp cairo gettext ilmbase libheif lua openexr python x265 flint glib imagemagick libmpc lzo openjpeg python@2 xz fontconfig gmp isl libomp matplotlib openssl qt freetype gnuplot jpeg libpng mpfr openssl@1.1 readline fribidi graphite2 libcerf libtiff ntl pango shared-mime-info gd harfbuzz libde265 libtool numpy pcre sqlite Note that I attempted to build Sage again after uninstalling gcc with Homebrew, and the build still fails. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/596ee366-a13e-463c-a115-35d6e851ff8e%40googlegroups.com.
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
mth153844pe212:sage-git salis1bt$ brew install gcc Warning: gcc 9.2.0 is already installed and up-to-date To reinstall 9.2.0, run `brew reinstall gcc` On Wednesday, September 25, 2019 at 3:54:08 PM UTC-4, John H Palmieri wrote: > > Could you also trying using Homebrew to install gfortran? > > > On Wednesday, September 25, 2019 at 12:09:55 PM UTC-7, Ben Salisbury wrote: >> >> Ok, I tried the Homebrew route, and still the build failed. First, the >> computer successfully executed the following: >> >> brew install dimpase/science/flint >> brew install dimpase/science/arb >> brew tap brewsci/bio >> brew install matplotlib >> >> Then I tried to build Sage again, after a distclean, and another >> matplotlib error came up. Log file is attached. >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/5b089fcb-ffe1-4b7d-bc62-b7ce6b97ff0b%40googlegroups.com.
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
Ok, I tried the Homebrew route, and still the build failed. First, the computer successfully executed the following: brew install dimpase/science/flint brew install dimpase/science/arb brew tap brewsci/bio brew install matplotlib Then I tried to build Sage again, after a distclean, and another matplotlib error came up. Log file is attached. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/16b424ed-0b93-4a27-9006-55a9e1dcf4cf%40googlegroups.com.
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
Here are the outputs: mth153844pe212:~ salis1bt$ otool -L /Users/salis1bt/sage-git/local/lib/ libdfftpack.dylib /Library/Developer/CommandLineTools/usr/bin/objdump: '/Users/salis1bt/sage-git/local/lib/libdfftpack.dylib': No such file or directory mth153844pe212:~ salis1bt$ otool -L /Users/salis1bt/sage-git/local/lib/ libfftpack.dylib /Library/Developer/CommandLineTools/usr/bin/objdump: '/Users/salis1bt/sage-git/local/lib/libfftpack.dylib': No such file or directory mth153844pe212:~ salis1bt$ otool -L /Users/salis1bt/sage-git/local/lib/ libgfortran.dylib /Users/salis1bt/sage-git/local/lib/libgfortran.dylib: /Users/salis1bt/sage-git/local/lib/libgfortran.4.dylib (compatibility version 5.0.0, current version 5.0.0) /Users/salis1bt/sage-git/local/lib/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1) /Users/salis1bt/sage-git/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) As far as Homebrew is concerned, I wouldn't say I'm a regular user, but I have used it. I'll try that approach now. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/e59c6ed2-578b-4f6d-822a-946bbf86bc65%40googlegroups.com.
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
Sorry, I had left for the day when these messages came in yesterday. Given the output of the otool - L /Users/salis1bt/sage-git/local/bin/gfortran, should I still do those brew installs? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/dd98f3ce-262e-4ed4-a3d2-ba351dde5fb8%40googlegroups.com.
Re: [sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
mth153844pe212:~ salis1bt$ otool -L /Users/salis1bt/sage-git/local/bin/ gfortran /Users/salis1bt/sage-git/local/bin/gfortran: /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0 .0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9 .4) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1) -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/249d2e5d-579b-4340-8c6e-60301616e2c3%40googlegroups.com.
[sage-devel] Re: Build failure at matplotlib-2.2.4 and sagenb-1.1.2 on OS X
I'll try "./sage -f libpng". In the meantime, I've attached the log file requested. Also: mth153844pe212:~ salis1bt$ git --version git version 2.20.1 (Apple Git-117) mth153844pe212:~ salis1bt$ gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx -include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/ include/c++/4.2.1 Apple LLVM version 10.0.1 (clang-1001.0.46.4) Target: x86_64-apple-darwin18.7.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/89658673-6673-4e8f-a961-ee4fa39b314c%40googlegroups.com. # Sphinx version: 1.8.5 # Python version: 2.7.15 (CPython) # Docutils version: 0.14 # Jinja2 version: 2.10 # Last messages: # Running Sphinx v1.8.5 # making output directory... # building [mo]: targets for 0 po files that are out of date # building [html]: targets for 19 source files that are out of date # updating environment: # 19 added, 0 changed, 0 removed # reading sources... [ 5%] index # reading sources... [ 10%] misc/introspect # reading sources... [ 15%] misc/misc # Loaded extensions: # sphinx.ext.mathjax (1.8.5) from /Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/ext/mathjax.pyc # alabaster (0.7.12) from /Users/salis1bt/sage-git/local/lib/python2.7/site-packages/alabaster/__init__.pyc # sphinx.ext.viewcode (1.8.5) from /Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/ext/viewcode.pyc # sphinx.ext.autodoc (1.8.5) from /Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/ext/autodoc/__init__.pyc # sphinx.ext.todo (1.8.5) from /Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/ext/todo.pyc Traceback (most recent call last): File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/cmd/build.py", line 304, in build_main app.build(args.force_all, filenames) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/application.py", line 341, in build self.builder.build_update() File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 347, in build_update len(to_build)) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 360, in build updated_docnames = set(self.read()) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 468, in read self._read_serial(docnames) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 490, in _read_serial self.read_doc(docname) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 534, in read_doc doctree = read_doc(self.app, self.env, self.env.doc2path(docname)) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/io.py", line 318, in read_doc pub.publish() File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/docutils/core.py", line 217, in publish self.settings) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/docutils/readers/__init__.py", line 72, in read self.parse() File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/docutils/readers/__init__.py", line 78, in parse self.parser.parse(self.input, document) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/sphinx/parsers.py", line 88, in parse self.statemachine.run(inputstring, document, inliner=self.inliner) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 171, in run input_source=document['source']) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/docutils/statemachine.py", line 239, in run context, state, transitions) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/docutils/statemachine.py", line 460, in check_line return method(match, context, next_state) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 2753, in underline self.section(title, source, style, lineno - 1, messages) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 327, in section self.new_subsection(title, lineno, messages) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection node=section_node, match_titles=True) File "/Users/salis1bt/sage-git/local/lib/python2.7/site-packages/docutils/parsers/rst/states.py", line 282, in
Re: [sage-devel] Make fail on OS X
That did the trick. Thanks! Best, Ben > On Jun 14, 2016, at 12:48 PM, Volker Braun <vbraun.n...@gmail.com> wrote: > > Delete the "local" directory and then rebuild > > On Tuesday, June 14, 2016 at 6:22:33 PM UTC+2, Ben Salisbury wrote: > Hi all, > > I recently attempted to update to the latest development version of Sage. > However, I had to stop the process during the `make distclean` stage using > `Cmd+C`. (This is something I thought I had done before, so thought nothing > of it.) Now, nothing will make within the sage-git directory. > > mth-pe206h-mac01:sage-git salis1bt$ export MAKE="make -j4" > mth-pe206h-mac01:sage-git salis1bt$ export SAGE_NUM_THREADS=4 > mth-pe206h-mac01:sage-git salis1bt$ export SAGE_PARALLEL_SPKG_BUILD=yes > export SAGE_PORT=yes > mth-pe206h-mac01:sage-git salis1bt$ make distclean && make > make -j4 build/make/Makefile > ./bootstrap -d > rm -rf config configure build/make/Makefile-auto.in > ./bootstrap: line 29: aclocal: command not found > Bootstrap failed, downloading required files instead. > Traceback (most recent call last): > File "/Users/salis1bt/sage-git/build/bin/sage-download-file", line 25, in > >import sage_bootstrap > File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/__init__.py", > line 2, in >from sage_bootstrap.config import Configuration > File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/config.py", line > 34, in >import logging > File "/Users/salis1bt/sage-git/local/lib/python/logging/__init__.py", line > 26, in >import sys, os, time, cStringIO, traceback, warnings, weakref, collections > File "/Users/salis1bt/sage-git/local/lib/python/collections.py", line 9, in > >from operator import itemgetter as _itemgetter, eq as _eq > ImportError: > dlopen(/Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so, > 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString > Referenced from: > /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so > Expected in: flat namespace > in /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so > Error: downloading configure-169.tar.gz failed > make[1]: *** [configure] Error 1 > make: *** [build-clean] Error 2 > > > mth-pe206h-mac01:sage-git salis1bt$ make doc > make -j4 build/make/Makefile > ./bootstrap -d > rm -rf config configure build/make/Makefile-auto.in > ./bootstrap: line 29: aclocal: command not found > Bootstrap failed, downloading required files instead. > Traceback (most recent call last): > File "/Users/salis1bt/sage-git/build/bin/sage-download-file", line 25, in > >import sage_bootstrap > File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/__init__.py", > line 2, in >from sage_bootstrap.config import Configuration > File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/config.py", line > 34, in >import logging > File "/Users/salis1bt/sage-git/local/lib/python/logging/__init__.py", line > 26, in >import sys, os, time, cStringIO, traceback, warnings, weakref, collections > File "/Users/salis1bt/sage-git/local/lib/python/collections.py", line 9, in > >from operator import itemgetter as _itemgetter, eq as _eq > ImportError: > dlopen(/Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so, > 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString > Referenced from: > /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so > Expected in: flat namespace > in /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so > Error: downloading configure-169.tar.gz failed > make[1]: *** [configure] Error 1 > make: *** [doc] Error 2 > > > mth-pe206h-mac01:sage-git salis1bt$ make doc-clean > make -j4 build/make/Makefile > ./bootstrap -d > rm -rf config configure build/make/Makefile-auto.in > ./bootstrap: line 29: aclocal: command not found > Bootstrap failed, downloading required files instead. > Traceback (most recent call last): > File "/Users/salis1bt/sage-git/build/bin/sage-download-file", line 25, in > >import sage_bootstrap > File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/__init__.py", > line 2, in >from sage_bootstrap.config import Configuration > File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/config.py", line > 34, in >import logging > File "/Users/salis1bt/sage-git/local/lib/python/logging/__init__.py", line > 26, in >import sys, os, time, cStringIO, traceback, warnings, weakref, collection
[sage-devel] Make fail on OS X
Hi all, I recently attempted to update to the latest development version of Sage. However, I had to stop the process during the `make distclean` stage using `Cmd+C`. (This is something I thought I had done before, so thought nothing of it.) Now, nothing will make within the sage-git directory. mth-pe206h-mac01:sage-git salis1bt$ export MAKE="make -j4" mth-pe206h-mac01:sage-git salis1bt$ export SAGE_NUM_THREADS=4 mth-pe206h-mac01:sage-git salis1bt$ export SAGE_PARALLEL_SPKG_BUILD=yes export SAGE_PORT=yes mth-pe206h-mac01:sage-git salis1bt$ make distclean && make make -j4 build/make/Makefile ./bootstrap -d rm -rf config configure build/make/Makefile-auto.in ./bootstrap: line 29: aclocal: command not found Bootstrap failed, downloading required files instead. Traceback (most recent call last): File "/Users/salis1bt/sage-git/build/bin/sage-download-file", line 25, in import sage_bootstrap File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/__init__.py", line 2, in from sage_bootstrap.config import Configuration File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/config.py", line 34, in import logging File "/Users/salis1bt/sage-git/local/lib/python/logging/__init__.py", line 26, in import sys, os, time, cStringIO, traceback, warnings, weakref, collections File "/Users/salis1bt/sage-git/local/lib/python/collections.py", line 9, in from operator import itemgetter as _itemgetter, eq as _eq ImportError: dlopen(/Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload /operator.so, 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString Referenced from: /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/ operator.so Expected in: flat namespace in /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so Error: downloading configure-169.tar.gz failed make[1]: *** [configure] Error 1 make: *** [build-clean] Error 2 mth-pe206h-mac01:sage-git salis1bt$ make doc make -j4 build/make/Makefile ./bootstrap -d rm -rf config configure build/make/Makefile-auto.in ./bootstrap: line 29: aclocal: command not found Bootstrap failed, downloading required files instead. Traceback (most recent call last): File "/Users/salis1bt/sage-git/build/bin/sage-download-file", line 25, in import sage_bootstrap File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/__init__.py", line 2, in from sage_bootstrap.config import Configuration File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/config.py", line 34, in import logging File "/Users/salis1bt/sage-git/local/lib/python/logging/__init__.py", line 26, in import sys, os, time, cStringIO, traceback, warnings, weakref, collections File "/Users/salis1bt/sage-git/local/lib/python/collections.py", line 9, in from operator import itemgetter as _itemgetter, eq as _eq ImportError: dlopen(/Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload /operator.so, 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString Referenced from: /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/ operator.so Expected in: flat namespace in /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so Error: downloading configure-169.tar.gz failed make[1]: *** [configure] Error 1 make: *** [doc] Error 2 mth-pe206h-mac01:sage-git salis1bt$ make doc-clean make -j4 build/make/Makefile ./bootstrap -d rm -rf config configure build/make/Makefile-auto.in ./bootstrap: line 29: aclocal: command not found Bootstrap failed, downloading required files instead. Traceback (most recent call last): File "/Users/salis1bt/sage-git/build/bin/sage-download-file", line 25, in import sage_bootstrap File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/__init__.py", line 2, in from sage_bootstrap.config import Configuration File "/Users/salis1bt/sage-git/build/bin/../sage_bootstrap/config.py", line 34, in import logging File "/Users/salis1bt/sage-git/local/lib/python/logging/__init__.py", line 26, in import sys, os, time, cStringIO, traceback, warnings, weakref, collections File "/Users/salis1bt/sage-git/local/lib/python/collections.py", line 9, in from operator import itemgetter as _itemgetter, eq as _eq ImportError: dlopen(/Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload /operator.so, 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString Referenced from: /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/ operator.so Expected in: flat namespace in /Users/salis1bt/sage-git/local/lib/python2.7/lib-dynload/operator.so Error: downloading configure-169.tar.gz failed make[1]: *** [configure] Error 1 make: *** [doc-clean] Error 2 I've tried `./configure', but that doesn't help either: mth-pe206h-mac01:sage-git salis1bt$ ./configure -bash: ./configure: No such file or directory My system is currently running OS X 10.11.5, the latest version of xcode/command line tools, python version 2.7.10. Any ideas how to fix this without completely starting
[sage-devel] Re: jmol/java on OS X 10.10.2
Volker was correct. Previously, when trying to run jmol, I received a pop-up message saying I had to install the latest version of java, so I did. However, this was not the JDK version of Java. I received a new pop-up message when running $ java -version No Java runtime present, requesting install. The JDK version has now been installed and jmol is working properly. $ java -version java version 1.8.0_40 Java(TM) SE Runtime Environment (build 1.8.0_40-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode) sage: L = RootSystem(['A',3,1]).ambient_space() sage: W = L.weyl_group() sage: L.plot(alcoves=[W.one()], reflection_hyperplanes=False, bounding_box=2 ) Launched jmol viewer for Graphics3d Object Thank you very much for the help! Best, Ben -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] jmol/java on OS X 10.10.2
Hi, I'm trying to view 3d objects (which I have been able to do in the past), but now I'm receiving the following error. sage: L = RootSystem(['A',3,1]).ambient_space() sage: W = L.weyl_group() sage: L.plot(alcoves=[W.one()], reflection_hyperplanes=False, bounding_box=2 ) --- RuntimeError Traceback (most recent call last) ipython-input-11-a1ad95f04cc0 in module() 1 L.plot(alcoves=[W.one()], reflection_hyperplanes=False, bounding_box =Integer(2)) /Users/Ben/sage-git/local/lib/python2.7/site-packages/IPython/core/ displayhook.pyc in __call__(self, result) 230 self.start_displayhook() 231 self.write_output_prompt() -- 232 format_dict, md_dict = self.compute_format_data(result) 233 self.update_user_ns(result) 234 self.fill_exec_result(result) /Users/Ben/sage-git/local/lib/python2.7/site-packages/IPython/core/ displayhook.pyc in compute_format_data(self, result) 136 137 -- 138 return self.shell.display_formatter.format(result) 139 140 def write_format_data(self, format_dict, md_dict=None): /Users/Ben/sage-git/local/lib/python2.7/site-packages/sage/repl/display/formatter.pyc in format(self, obj, include, exclude) 126 sage: shell.quit() 127 -- 128 return self.dm.displayhook(obj) 129 130 /Users/Ben/sage-git/local/lib/python2.7/site-packages/sage/repl/rich_output/ display_manager.pyc in displayhook(self, obj) 714 self._backend.set_underscore_variable(obj) 715 plain_text, rich_output = self._rich_output_formatter(obj, dict()) -- 716 return self._backend.displayhook(plain_text, rich_output) 717 718 def display_immediately(self, obj, **rich_repr_kwds): /Users/Ben/sage-git/local/lib/python2.7/site-packages/sage/repl/rich_output/ backend_ipython.pyc in displayhook(self, plain_text, rich_output) 224 return ({u'text/plain': msg}, {}) 225 elif isinstance(rich_output, OutputSceneJmol): -- 226 msg = self.launch_jmol(rich_output, plain_text.text.get ()) 227 return ({u'text/plain': msg}, {}) 228 elif isinstance(rich_output, OutputSceneWavefront): /Users/Ben/sage-git/local/lib/python2.7/site-packages/sage/repl/rich_output/ backend_ipython.pyc in launch_jmol(self, output_jmol, plain_text) 323 jdata = JmolData() 324 if not jdata.is_jvm_available() and not DOCTEST_MODE: -- 325 raise RuntimeError('jmol cannot run, no suitable java version found') 326 launch_script = output_jmol.launch_script_filename() 327 from sage.env import SAGE_LOCAL RuntimeError: jmol cannot run, no suitable java version found I'm currently running Sage 6.6rc0 and I have double checked that I have Java installed. Any ideas for how to get Sage to recognize my Java? Thanks in advance for the help! Best, Ben -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Solved
It was suggested to me to try export SAGE_PORT=yes and this actually did the trick! -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0
Okay, so it seems I cannot just run xcode-select --install to override the current version. $ xcode-select --install xcode-select: error: command line tools are already installed, use Software Update to install updates I looked at my Software Updates, and it seems that part of the update last week was an update to Command Line Tools. https://lh5.googleusercontent.com/-DaTEmt6m974/VQoJUYshyVI/APw/qAYXr9Ukbjs/s1600/Screen%2BShot%2B2015-03-18%2Bat%2B4.23.26%2BPM.png Though I know I had installed beta4 on 3-12, so I'm not sure why I'm getting this new error now. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0
It's possible... though I had just recompiled Sage 6.6beta4 last Thursday without any issues. Here is my current output: $ xcode-select --version xcode-select version 2339. In the meantime, I will try to reinstall command line tools and recompile. My guess is that the problem has to do with the recent update to OS X 10.10.2. I did the update at the end of last week without considering the ramifications... Best, Ben -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0
Hmmm that's both encouraging and discouraging. I've already tried 'make distclean' to start fresh. Is there another way? -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0
Hi, I did run make distclean make during both failed builds. Best, Ben On Wednesday, March 18, 2015 at 11:39:48 AM UTC-7, Volker Braun wrote: This looks like it ought to work. The thing I can think of is that we install both a static and shared libgd, and if the linker ever used the static version to resolve (part) of the dependencies then its going to be tough to figure out anything. Does make distclean make change anything (will take some time to compile). On Wednesday, March 18, 2015 at 2:10:56 AM UTC+1, Ben Salisbury wrote: Sorry for the delay; I had retried the install again... with no luck. The install log file was too large to attach. Here is a link: https://drive.google.com/file/d/0B0GKOwXupX1ub3NoMkxPRy1zcDQ/view?usp=sharing The output from the requested commands are $ otool -L local/lib/python2.7/site-packages/sage/matrix/ matrix_mod2_dense.so local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so: libcsage.dylib (compatibility version 0.0.0, current version 0.0.0) /Users/Ben/sage-git/local/lib/libgmp.16.dylib (compatibility version 17.0.0, current version 17.0.0) /Users/Ben/sage-git/local/lib/libm4ri-0.0.20140914.dylib (compatibility version 0.0.0, current version 0.0.0) /Users/Ben/sage-git/local/lib/libgd.3.dylib (compatibility version 4.0.0 , current version 4.0.0) /Users/Ben/sage-git/local/lib/libpng12.0.dylib (compatibility version 52.0.0, current version 52.0.0) /Users/Ben/sage-git/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) /Users/Ben/sage-git/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) and $ nm local/lib/libgd.dylib | grep gdImageCreateFromPng 0001329c T _gdImageCreateFromPng 0001334b T _gdImageCreateFromPngCtx 000132ed T _gdImageCreateFromPngPtr 00015402 T _gdImageCreateFromPngSource Thanks for the help! ~Ben -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0
Sorry for the delay; I had retried the install again... with no luck. The install log file was too large to attach. Here is a link: https://drive.google.com/file/d/0B0GKOwXupX1ub3NoMkxPRy1zcDQ/view?usp=sharing The output from the requested commands are $ otool -L local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so: libcsage.dylib (compatibility version 0.0.0, current version 0.0.0) /Users/Ben/sage-git/local/lib/libgmp.16.dylib (compatibility version 17.0.0 , current version 17.0.0) /Users/Ben/sage-git/local/lib/libm4ri-0.0.20140914.dylib (compatibility version 0.0.0, current version 0.0.0) /Users/Ben/sage-git/local/lib/libgd.3.dylib (compatibility version 4.0.0, current version 4.0.0) /Users/Ben/sage-git/local/lib/libpng12.0.dylib (compatibility version 52.0. 0, current version 52.0.0) /Users/Ben/sage-git/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) /Users/Ben/sage-git/local/lib/libgcc_s.1.dylib (compatibility version 1.0.0 , current version 1.0.0) and $ nm local/lib/libgd.dylib | grep gdImageCreateFromPng 0001329c T _gdImageCreateFromPng 0001334b T _gdImageCreateFromPngCtx 000132ed T _gdImageCreateFromPngPtr 00015402 T _gdImageCreateFromPngSource Thanks for the help! ~Ben -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout. libgd-2.1.0.p0.log Description: Binary data
Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0
I was just trying to build in the develop branch. I wasn't currently working on any particular patch. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0
Hi. I am also having the same problem. I've attached the requested log file. Please help! On Monday, March 16, 2015 at 9:27:57 AM UTC-7, Volker Braun wrote: Need the build log. On Monday, March 16, 2015 at 3:52:49 PM UTC+1, Andrew Bernard wrote: Here is the error: File sage/matrix/matrix_mod2_dense.pxd, line 7, in init sage.matrix.matrix_integer_dense (build/cythonized/sage/matrix/matrix_integer_dense.c:47607) ImportError: dlopen(/Users/andro/src/sage-6.5/local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so, 2): Symbol not found: _gdImageCreateFromPng Referenced from: /Users/andro/src/sage-6.5/local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so Expected in: flat namespace in /Users/andro/src/sage-6.5/local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout. libgd-2.1.0.p0.log Description: Binary data
[sage-devel] Re: VOTE: code of conduct - ends Monday at midnight, PST.
[X] Yes -- adopt the code of conduct stated below (*) [ ] No -- do not adopt the code of conduct stated below ~Ben -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Code of Conduct
[X ] Yes, this is a great idea. About time! To a newcomer, some of the posts may make the Sage community look aggressive and end up steering them in another direction. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Build failed on OS X 10.9.2
I tried reinstalling sage-git, and that solved my problem. Thanks all for the help! -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Build failed on OS X 10.9.2
I can compile C programs after all. $ gcc -o helloworld helloworld.c $ ./helloworld Hello World! -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.
[sage-devel] Re: Build failed on OS X 10.9.2
The error message before the export is attached. Best, Ben -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out. $ make ./bootstrap -d rm -rf config configure build/Makefile-auto.in ./bootstrap: line 29: aclocal: command not found Bootstrap failed, downloading required files instead. cd build \ ../build/pipestatus \ env SAGE_PARALLEL_SPKG_BUILD='' ./install all 21 \ tee -a ../logs/install.log *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** Apple_PubSub_Socket_Render=/tmp/launch-mbgam5/Render HOME=/Users/Ben LANG=en_US.UTF-8 LOGNAME=Ben MAKE=make MAKEFLAGS= MAKELEVEL=1 MFLAGS= PATH=/Users/Ben/sage-git/src/bin:/Users/Ben/sage-git/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/texbin PWD=/Users/Ben/sage-git/build PYTHONPATH=/Users/Ben/sage-git/local SAGE_EXTCODE=/Users/Ben/sage-git/local/share/sage/ext SAGE_LOCAL=/Users/Ben/sage-git/local SAGE_LOGS=/Users/Ben/sage-git/logs/pkgs SAGE_PARALLEL_SPKG_BUILD= SAGE_ROOT=/Users/Ben/sage-git SAGE_SPKG_INST=/Users/Ben/sage-git/local/var/lib/sage/installed SAGE_SRC=/Users/Ben/sage-git/src SAGE_VERSION=6.2.beta3 SHELL=/bin/bash SHLVL=4 SSH_AUTH_SOCK=/tmp/launch-RPiG9v/Listeners TERM=xterm-256color TERM_PROGRAM=Apple_Terminal TERM_PROGRAM_VERSION=326 TERM_SESSION_ID=8E5D66EA-7287-4CF2-9282-B06AE6812CE9 TMPDIR=/var/folders/lc/fdbtv85n00v1z4npg92j_v80gn/T/ USER=Ben _=/usr/bin/env __CF_USER_TEXT_ENCODING=0x1F5:0:0 __CHECKFIX1436934=1 *** make base checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... x86_64-apple-darwin13.1.0 checking host system type... x86_64-apple-darwin13.1.0 checking for ar... yes checking for m4... yes checking for ranlib... yes checking for strip... yes checking for GNU or BSD tar... /usr/bin/tar checking for latex... yes checking for perl... /usr/bin/perl checking for Perl version 5.8.0 or later... yes checking for dpkg... no checking for dpkg-architecture... no checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/Users/Ben/sage-git': configure: error: C compiler cannot create executables See `config.log' for more details If you would like to try to build Sage anyway (to help porting), export the variable 'SAGE_PORT' to something non-empty. make[2]: *** [/Users/Ben/sage-git/local/var/lib/sage/installed/prereq] Error 1 make[1]: *** [all] Error 2 real0m1.225s user0m0.279s sys 0m0.342s *** Error building Sage. The following package(s) may have failed to build: package: mpir-2.6.0.p4 log file: /Users/Ben/sage-git/logs/pkgs/mpir-2.6.0.p4.log build directory: /Users/Ben/sage-git/local/var/tmp/sage/build/mpir-2.6.0.p4 The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. make: *** [build] Error 1
[sage-devel] Re: Build failed on OS X 10.9.2
I did, but I don't quite know what I'm looking for. The file is attached. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out. config.log Description: Binary data
[sage-devel] Re: Build failed on OS X 10.9.2
Okay, I deleted all Xcode files, reinstalled, and reinstalled command line tools. $ gcc -v Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr -- with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.1.0 Thread model: posix $ as -v Apple Inc version cctools-846.2.4, GNU assembler version 1.38 $ ld -v @(#)PROGRAM:ld PROJECT:ld64-224.1 configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 armv6m armv7m armv7em LTO support using: LLVM version 3.3svn, from Apple Clang 5.0 (build 500.2.79 ) However, now a new problem has arisen. First, I had to use export SAGE_PORT='yes' for the build to attempt at all. Then, very quickly, the build fails at the following. Error installing package mpir-2.6.0.p4 I have attached the log file for mpir-2.6.0.p4. Thanks again for the help!! Best, Ben -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.
[sage-devel] Re: Build failed on OS X 10.9.2
Well here is the log file. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out. mpir.log Description: Binary data
[sage-devel] Build failed on OS X 10.9.2
Hi all, I am having recurring issues compiling the developmental version of sage (through sage-git) on OS X Mavericks. The error I currently have is sh: line 1: 7312 Trace/BPT trap: 5 /Applications/Xcode.app/Contents/ Developer/usr/bin/xcodebuild -sdk / -find as 2 /dev/null as: error: unable to find utility as, not a developer tool or in PATH error: command 'gcc' failed with exit status 1 This was obtained after running 'make' in the develop branch in the sage-git folder. I have Xcode installed with Command Line Tools (which is how I had a working version originally). To be sure, I've run xcode-select --install which yields a server error. So I went to the Apple Developer Site and downloaded the tools separately and installed them. I also tried running export SAGE_PORT='yes' and running 'make' again with no luck (which was suggested and previously worked per https://groups.google.com/forum/#!searchin/sage-devel/semigroup/sage-devel/ID7DgZ0eN6Q/8qMaFsXFVsQJ. Moreover, running 'sage -b' yields the same outcome. Does anyone have any suggestions? I have attached my config.log file from the sage-git folder. (The last working build I have of Sage is 6.1.beta5.) Best, Ben -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out. config.log Description: Binary data
[sage-devel] Re: trouble building sage with semigroup package installed
I do have XCode installed. Executing the command export SAGE_PORT='yes' also worked for me, too. Thank you! Best, Ben On Tuesday, February 4, 2014 3:20:55 AM UTC-5, Anne Schilling wrote: Hi! For some reason I cannot run make any longer to build the new version of sage. I have the semigroupe package installed. I would actually be ok deinstalling it, tried to delete it in /Applications/sage/upstream/semigroupe-2.0-2.spkg but it keeps reappearing. How do I deinstall an optional package once installed? Same is true for the package cchache, which it cannot find. I am not sure why I had this installed (as Simon pointed out, it should have been ccache)! Thanks! Anne -- sage anne$ more /Applications/sage/logs/pkgs/cchache.log Attempting to download package cchache Checking online list of optional packages. [.] Checking online list of experimental packages. [.] Checking online list of standard packages. [.] Checking online list of huge packages. [.] Checking online list of archive packages. [.] Error: could not find a package matching cchache on http://www.sagemath.org/ -- sage anne$ more /Applications/sage/logs/pkgs/semigroupe-2.0-2.log Attempting to download package semigroupe-2.0-2 Trying to download http://trac.sagemath.org/sage_trac/raw-attachment/ticket/8360/semigroupe-2.0-2.spkg [] semigroupe-2.0-2 Extracting package /Applications/sage/upstream/semigroupe-2.0-2.spkg -rw-r--r-- 1 anne admin 912682 Sep 17 15:46 /Applications/sage/upstream/semigroupe-2.0-2.spkg Finished extraction Host system: Darwin lolita-4.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/Applications/sage/local/libexec/gcc/x86_64-apple-darwin10.8.0/4.7.3/lto-wrapper Target: x86_64-apple-darwin10.8.0 Configured with: ../src/configure --prefix=/Applications/sage/local --with-local-prefix=/Applications/sage/local --with-gmp=/Applications/sage/local --with-mpfr=/Applications/sage/local --with-mpc=/Applications/sage/local --with-system-zlib --disable-multilib --disable-nls Thread model: posix gcc version 4.7.3 (GCC) sage-run received unknown option: -hg usage: sage [options] Try 'sage -h' for more information. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make -j4 sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking build system type... i386-apple-darwin10.8.0 checking host system type... i386-apple-darwin10.8.0 checking for style of include used by make -j4... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands +=... yes checking for ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from gcc object... ok checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking how to run the C preprocessor... cpp checking for ANSI C header files... yes checking for
[sage-devel] Re: trouble building sage with semigroup package installed
Hi! I am also having an issue building the latest version of Sage. An oddity is that while is does not build on my laptop, is does build on my desktop (both of which are running OS X 10.9.1). Here is my output: Bens-MacBook-Pro-3:sage-git Ben$ git checkout develop Switched to branch 'develop' Bens-MacBook-Pro-3:sage-git Ben$ git status # On branch develop nothing to commit, working directory clean Bens-MacBook-Pro-3:sage-git Ben$ make cd build \ ../build/pipestatus \ env SAGE_PARALLEL_SPKG_BUILD='' ./install all 21 \ tee -a ../logs/install.log *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** Apple_PubSub_Socket_Render=/tmp/launch-fMNQqU/Render HOME=/Users/Ben LANG=en_US.UTF-8 LOGNAME=Ben MAKE=make MAKEFLAGS= MAKELEVEL=1 MFLAGS= PATH=/Users/Ben/sage-git/src/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/ bin:/usr/local/git/bin:/usr/texbin PWD=/Users/Ben/sage-git/build PYTHONPATH=/Users/Ben/sage-git/local SAGE_EXTCODE=/Users/Ben/sage-git/local/share/sage/ext SAGE_LOCAL=/Users/Ben/sage-git/local SAGE_LOGS=/Users/Ben/sage-git/logs/pkgs SAGE_PARALLEL_SPKG_BUILD= SAGE_ROOT=/Users/Ben/sage-git SAGE_SPKG_INST=/Users/Ben/sage-git/local/var/lib/sage/installed SAGE_SRC=/Users/Ben/sage-git/src SAGE_VERSION=6.1.beta5 SHELL=/bin/bash SHLVL=4 SSH_AUTH_SOCK=/tmp/launch-0j6hfa/Listeners TERM=xterm-256color TERM_PROGRAM=Apple_Terminal TERM_PROGRAM_VERSION=326 TERM_SESSION_ID=130A95A7-3DA8-4374-BE56-01EE2E282B5A TMPDIR=/var/folders/lc/fdbtv85n00v1z4npg92j_v80gn/T/ USER=Ben _=/usr/bin/env __CF_USER_TEXT_ENCODING=0x1F5:0:0 __CHECKFIX1436934=1 *** make base /Users/Ben/sage-git/build/pipestatus ./prereq.sh 21 tee -a /Users/Ben/sage-git/logs/pkgs/prereq.log Starting prerequisite check. Machine: Darwin Bens-MacBook-Pro-3.local 13.0.0 Darwin Kernel Version 13.0.0 : Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 make configure || \ bash -c 'source src/bin/sage-env; sage-download-file $SAGE_UPSTREAM/configure/configure-`cat build/pkgs/configure/package-version.txt`.tar.gz | tar zxmf -' make[4]: `configure' is up to date. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-apple-darwin13.0.0 checking host system type... x86_64-apple-darwin13.0.0 checking for ar... yes checking for m4... yes checking for ranlib... yes checking for strip... yes checking for latex... yes checking for perl... /usr/bin/perl checking for Perl version 5.8.0 or later... yes checking for dpkg... no checking for dpkg-architecture... no checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/Users/Ben/sage-git': configure: error: C compiler cannot create executables See `config.log' for more details You do not have all of the prerequisites needed to build Sage from source. See the errors above. If you would like to try the build anyway (to help porting) export the variable 'SAGE_PORT' to something non-empty. make[2]: *** [/Users/Ben/sage-git/local/var/lib/sage/installed/prereq] Error 1 make[1]: *** [all] Error 2 real 0m1.240s user 0m0.295s sys 0m0.420s *** Error building Sage. The following package(s) may have failed to build: The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. make: *** [build] Error 1 -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.
Re: [sage-devel] OS X Mavericks
I am also having an issue building on OS X 10.9, though (I admit) I am trying to build the 5.13beta1 version. My build fails at the polybori step: Error installing PolyBoRi. real 1m14.940s user 1m8.348s sys 0m4.921s Error installing package polybori-0.8.3 Log file is available at https://www.dropbox.com/s/ift6cmsilov8sqd/polybori-0.8.3.log. Any solutions or suggestions? (I'm making with 'make -k' now.) Ben -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.
Re: [sage-devel] Errors in doctest on OS X 10.8.2
I finally retested using 5.9 Beta 1 and all tests passed. Thank you! -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[sage-devel] Errors in doctest on OS X 10.8.2
When I doctest a particular Sage enhancement, I receive errors that I do not know how to handle. For example, consider the following: ** File /Users/Ben/sage-5.8.beta1/devel/sage-combinat/sage/combinat/crystals/infinity_crystals.py, line 401: sage: b.e_string([2,1,1,1,1,1,1]).pp() Expected: 1 1 1 1 2 3 3 3 3 -2 -2 -2 2 3 3 Got nothing 0 ** Lines 391-404 in the .py file read: sage: B = InfinityCrystalOfTableaux(['A',2]) sage: b = B.highest_weight_vector(); b.pp() 1 1 2 sage: b.f_string([2,1,1,2,2,2]).pp() 1 1 1 1 1 2 3 2 3 3 3 sage: B = InfinityCrystalOfTableaux(['G',2]) sage: b = B(rows=[[1,1,1,1,1,2,3,3,0,-3,-1,-1,-1],[2,3,3,3]]) sage: b.e_string([2,1,1,1,1,1,1]).pp() 1 1 1 1 2 3 3 3 3 -2 -2 -2 2 3 3 sage: b.e_string([2,1,1,1,1,1,1,1]) The output in the test is certainly not nothing nor 0. Please advise. Moreover, I have received this error on just about every doctest I've run, and Anne Schilling and Travis Scrimshaw cannot reproduce the same error when they run the test on their machine: ** File /Users/Ben/sage-5.8.beta1/devel/sage-combinat/sage/combinat/crystals/infinity_crystals.py, iled example: sig_on_count() Expected: 0 Got nothing ** I'm running Sage 5.8 beta1 on a MacBook Pro Retina with OS X 10.8.2. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[sage-combinat-devel] Re: Kashiwara's B(infinity)
Thanks very much!! My hope is to implement types B, C, D, and G. If I'm successful, I will be sure to write back. Thanks again for the help Ben -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.
[sage-combinat-devel] Kashiwara's B(infinity)
Hi. I'm new to programming, but I would like to attempt to create a Sage code for Kashiwara's B(infinity) crystal using Hong and Lee's semistandard Young tableaux description. My plan is to base my work on the crystal code already developed (i.e., definition of e(i) and f(i), translation to tableaux, LaTeX output, etc.), however I'm finding very difficult to track down where these definition lie in the Sage code. Could someone please point me in the right direction to start this endeavor? Even better, is there already a code for the Young tableaux description of B(infinity) implemented that I have overlooked? Thanks for the help and consideration! Best, Ben -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.