Alright, I see. Thanks. I only didn't know that. I thought PKGBUILDs are available only to those in AUR, since they ask you explicitly whether you want to edit them during installation.
We are getting somewhere since I compiles through Singular. However, it then failed at the conway_polynomial... It complains OSError: [Errno 13] Permission denied: '/build' I checked the permission of .../sage-mathematics/src/sage-5.9/spkg/build/ and it seems okay. attached it the logs and the PKGBUILD (I changed the extension to txt, cos google complains about the type and did not allow the upload). Thanks in advance On Saturday, May 11, 2013 2:16:03 AM UTC-7, arojas wrote: > > > > On Saturday, May 11, 2013 10:33:01 AM UTC+2, Pong wrote: >> >> The one in community is 5.8 (not 5.9) and isn't it a binary package? >> I'm looking at the one from AUR which is 5.10 beta. >> >> > Binary packages also have PKGBUILDs. You can download them, modify them as > you need and recompile. Check the wiki > https://wiki.archlinux.org/index.php/Arch_Build_System > -- 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.
# $Id: PKGBUILD 87136 2013-03-27 19:52:53Z dwallace $ # Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> # Contributor: Antonio Rojas < nqn1976 @ gmail.com > # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Osman Ugus <ugu...@yahoo.com> # Contributor: Stefan Husmann <stefan-husm...@t-online.de> # Special thanks to Nareto for moving the compile from the .install to the PKGBUILD pkgname=sage-mathematics pkgver=5.9 pkgrel=1 pkgdesc='SAGE: Open Source Mathematics Software, a viable free alternative to Magma, Maple, Mathematica, and Matlab.' url='http://www.sagemath.org' arch=('i686' 'x86_64') license=('GPL') #depends=('xz' 'java-environment=7' 'desktop-file-utils' 'libxmu' 'libtiff' 'sqlite' 'libjpeg-turbo') depends=('desktop-file-utils') makedepends=('gcc-fortran' ) optdepends=('imagemagick: some plotting functionality benefits from it' 'texlive-core: some plotting functionality benefits from it, also to use SageTeX' 'openssh: to use the notebook in secure mode' 'ffmpeg: to show animations') options=('!makeflags') install="${pkgname}.install" source=("http://sage.math.washington.edu/home/release/sage-${pkgver}/sage-${pkgver}.tar" 'SAGE-notebook.desktop') md5sums=('fc5b401174ee1efa7aea163e804c2b42' 'b82f94383829eee26648feb977e2d89b') build() { cd sage-${pkgver} # fix "missing sage.all error" during build unset CFLAGS unset CXXFLAGS # fix build errors unset LDFLAGS # enable multiple threads while building, is this really needed? check if uses MAKEFLAGS export SAGE_BUILD_THREADS=$(lscpu | awk '/^CPU\(s\):/ { print $2 }') export MAKE="make -j${SAGE_BUILD_THREADS}" # use archlinux's fortran rather then the one that ships with sage to compile sage's fortran export FC=/usr/bin/gfortran export CPP=/usr/bin/cpp # disable building with debugging support export SAGE_DEBUG='no' # enable fat binaries (disables processor specific optimizations) # comment out if you're only building it for yourself export SAGE_FAT_BINARY='yes' # can't write to root in a clean chroot export DOT_SAGE='/build/src/' # only build sage, no documents #make build make ./sage --bdist "$pkgver" } << COMMENT check() { cd sage-${pkgver} # uncomment if we want to run all the tests (warning: very long) #make ptestlong } COMMENT package() { cd sage-${pkgver} # cp because make install is experimental and will corrupt the install install -d ${pkgdir}/opt/sage cp -dpr --no-preserve=ownership dist/sage-"$pkgver-$CARCH-Linux/"* ${pkgdir}/opt/sage/ # move SageTeX files to more appropriate directory install -d ${pkgdir}/usr/share mv ${pkgdir}/opt/sage/local/share/texmf \ ${pkgdir}/usr/share desktop-file-install ${srcdir}/SAGE-notebook.desktop \ --dir ${pkgdir}/usr/share/applications # create link to main binary install -d ${pkgdir}/usr/bin ln -s /opt/sage/sage ${pkgdir}/usr/bin/sage # remove build logs rm -f ${pkgdir}/opt/sage/*.log rm -rf ${pkgdir}/opt/sage/spkg/logs # remove source packages, since they are rarely needed, they are 300mb in size (compressed) rm -f ${pkgdir}/opt/sage/spkg/base/*spkg rm -f ${pkgdir}/opt/sage/spkg/standard/*spkg } # vim :set ts=2 sw=2 et: md5sums=('b91d6c20798f396a9c875527c78b3587' 'b82f94383829eee26648feb977e2d89b') md5sums=('708520904f2d42039c714ac72a631948' 'b82f94383829eee26648feb977e2d89b')
conway_polynomials-0.4.p0.log
Description: Binary data