Sage used to build fine on OpenSolaris - in fact, I used to host a
buildbot, which I could still do, although having a dynamic IP, it is a bit
more tricky than when I had a static one.
But now it seems to be failing very early on in the process, complaining
that "-j12" is an invalid option to "configure", yet I typed make, and
"make -j12" has always been ok.
I now see after typing "make"
1) One of my environment variables is
MAKE=make -j12
2) Running
$make
It appears to run a standard configure script
checking whether make -j12 sets $(MAKE)... yes
checking whether make -j12 supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for root user... no
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
Next it seems to be sending the -j12 option to configure !!! Why?? This
makes no sense to me.
configure: error: unrecognized option: `-j12'
Try `./configure --help' for more information
It seems someone has really screwed up the use of "configure" and
"Makefile" in Sage. It should not have both, which is what it seems to
have, but furthermore is using them in a ways that appears to break for me.
drkirkby@hawk:~/sage-6.9.beta5$ make
make -j12 configure
make[1]: Entering directory `/export/home/drkirkby/sage-6.9.beta5'
make[1]: `configure' is up to date.
make[1]: Leaving directory `/export/home/drkirkby/sage-6.9.beta5'
build/bin/sage-logger \
"cd build/make && ./install 'all'" logs/install.log
Installing GCC because you have g++ version 4.6.0.
gcc-4.6.* has known bugs affecting Sage.
FOURTI2=4ti2-1.6.5
ARB=arb-2.6.0
ATLAS=atlas-3.10.2
AUTOTOOLS=autotools-20141105
BACKPORTS_SSL_MATCH_HOSTNAME=backports_ssl_match_hostname-3.4.0.2
BENZENE=benzene-20130630
BLISS=bliss-0.72.p1
BOEHM_GC=boehm_gc-7.2d.p0
BOOST_CROPPED=boost_cropped-1.52.0
BRIAL=brial-0.8.4.3
BUCKYGEN=buckygen-1.0
BZIP2=bzip2-1.0.6.20140317
CBC=cbc-2.9.4
CCACHE=ccache-3.2.2
CDDLIB=cddlib-094g.p0
CEPHES=cephes-2.8.p1
CERTIFI=certifi-14.05.14
CLIQUER=cliquer-1.21.p2
CMAKE=cmake-3.2.3
COMBINATORIAL_DESIGNS=combinatorial_designs-20140630
COMPILERWRAPPER=compilerwrapper-1.2
CONFIGURE=configure-111
CONWAY_POLYNOMIALS=conway_polynomials-0.4.p0
CRYPTOMINISAT=cryptominisat-2.9.6
CSDP=csdp-6.2
CVXOPT=cvxopt-1.1.7
CYTHON=cython-0.23.1
D3JS=d3js-3.4.8
DATABASE_CREMONA_ELLCURVE=database_cremona_ellcurve-20150519
DATABASE_GAP=database_gap-4.7.8
DATABASE_ODLYZKO_ZETA=database_odlyzko_zeta-20061209
DATABASE_PARI=database_pari-20140908
DATABASE_STEIN_WATKINS=database_stein_watkins-20110713
DATABASE_STEIN_WATKINS_MINI=database_stein_watkins_mini-20070827
DATABASE_SYMBOLIC_DATA=database_symbolic_data-20070206
DATEUTIL=dateutil-2.2
DOCUTILS=docutils-0.12
DOT2TEX=dot2tex-2.9.0.p0
ECL=ecl-15.3.7p0
ECLIB=eclib-20150827
ECM=ecm-6.4.4
ELLIPTIC_CURVES=elliptic_curves-0.8
FFLAS_FFPACK=fflas_ffpack-1.6.0.p1
FLINT=flint-2.5.2
FLINTQS=flintqs-20070817.p8
FREETYPE=freetype-2.6
FRICAS=fricas-1.2.4
GAMBIT=gambit-14.1.0
GAP=gap-4.7.8
GAP_PACKAGES=gap_packages-4.7.8
GAP3=gap3-jm5.p0
GCC=gcc-4.9.2.p1
GDB=gdb-7.8
GF2X=gf2x-1.1.p1
GFAN=gfan-0.5.p0
GIAC=giac-1.2.0.19
GIACPY=giacpy-0.5.1
GIT=git-2.3.0
GIT_TRAC=git_trac-20150522
GIVARO=givaro-3.7.1
GLPK=glpk-4.55.p0
GMP=gmp-5.1.3
GRAPHS=graphs-20150724.p6
GSL=gsl-1.16
ICONV=iconv-1.14
IGRAPH=igraph-0.7.1
IML=iml-1.0.4p1
IPYTHON=ipython-3.2.1
JINJA2=jinja2-2.7.3
JMOL=jmol-14.2.11_2015.01.20
JSONSCHEMA=jsonschema-2.4.0
LATTE_INT=latte_int-1.7.3
LCALC=lcalc-1.23.p14
LIBFPLLL=libfplll-4.0.4
LIBGAP=libgap-4.7.8
LIBGD=libgd-2.1.1.p0
LIBOGG=libogg-1.3.1
LIBPNG=libpng-1.2.51.p0
LIBTHEORA=libtheora-1.1.1
LIDIA=lidia-2.3.0+latte-patches-2014-10-04
LINBOX=linbox-1.3.2.p1
LRCALC=lrcalc-1.1.7
LRSLIB=lrslib-051
M4RI=m4ri-20140914
M4RIE=m4rie-20140914
MARKUPSAFE=markupsafe-0.23
MATHJAX=mathjax-2.5
MATPLOTLIB=matplotlib-1.4.3
MAXIMA=maxima-5.35.1.p2
MCQD=mcqd-1.0
MISTUNE=mistune-0.5.1
MODULAR_DECOMPOSITION=modular_decomposition-20100607
MPC=mpc-1.0.2.p0
MPFI=mpfi-1.5.1
MPFR=mpfr-3.1.2.p0
MPIR=mpir-2.7.0
MPMATH=mpmath-0.18
NAUTY=nauty-25r9
NCURSES=ncurses-5.9.20131221
NETWORKX=networkx-1.8.1
NORMALIZ=normaliz-2.12.1.p0
NOSE=nose-1.3.3
NTL=ntl-9.3.0.p0
NUMPY=numpy-1.8.1.p0
OPENSSL=openssl-1.0.2d
PALP=palp-2.1.p1
PARI=pari-2.8-1637-g489005a.p1
PARI_GALDATA=pari_galdata-20080411
PARI_SEADATA_SMALL=pari_seadata_small-20090618
PATCH=patch-2.7.1
PEXPECT=pexpect-2.0.p6
PILLOW=pillow-2.2.2
PIP=pip-6.1.1
PKGCONF=pkgconf-0.9.7
PKGCONFIG=pkgconfig-1.1.0
PLANARITY=planarity-2.2.0
PLANTRI=plantri-4.5
POLYTOPES_DB=polytopes_db-20120220
PPL=ppl-1.1
PYCRYPTO=pycrypto-2.6.1.p0
PYGMENTS=pygments-2.0.2.p0
PYNAC=pynac-0.3.9.2
PYPARSING=pyparsing-2.0.1
PYTHON_IGRAPH=python_igraph-0.7.0
PYTHON2=python2-2.7.9
PYTHON3=python3-3.4.3
PYZMQ=pyzmq-14.3.0
QEPCAD=qepcad-B.1.69
R=r-3.2.2.p0
RATPOINTS=ratpoints-2.1.3.p3
READLINE=readline-6.3.008
RPY2=rpy2-2.3.8
RUBIKS=rubiks-20070912.p18
RW=rw-0.7
SACLIB=saclib-2.2.6
SAGE_MODE=sage_mode-0.14
SAGENB=sagenb-0.11.4
SAGETEX=sagetex-2.3.4
SCIPY=scipy-0.14.0
SCONS=scons-1.2.0
SETUPTOOLS=setuptools-18.1
SINGULAR=singular-3.1.7p1.p0
SIX=six-1.9.0
SPHINX=sphinx-1.2.2.p0
SQLITE=sqlite-3.8.4.3
SYMMETRICA=symmetrica-2.0.p9
SYMPOW=sympow-1.018.1.p11
SYMPY=sympy-0.7.6
TACHYON=tachyon-0.98.9.p5
TERMCAP=termcap-1.3.1.p3
THREEJS=threejs-r70
TIDES=tides-2.0
TOPCOM=topcom-0.17.4.p0
TORNADO=tornado-4.1
VALGRIND=valgrind-3.10.0
ZEROMQ=zeromq-4.0.5
ZLIB=zlib-1.2.8.p0
ZN_POLY=zn_poly-0.9.p11
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
_=/usr/bin/env
_AST_FEATURES=UNIVERSE - att
A__z="*SHLVL
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-e3F2Z7SXOP,guid=3e523c959d9266910ff15cfd55dc19b5
DESKTOP_SESSION=gnome
DISPLAY=:0.0
DTSTARTIMS=False
EDITOR=vi
G_BROKEN_FILENAMES=yes
G_FILENAME_ENCODING=@locale,UTF-8
GDM_KEYBOARD_LAYOUT=us
GDM_LANG=en_US.UTF-8
GDMSESSION=gnome
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_SOCKET=/var/tmp/keyring-mMbN5V/socket
GTK_IM_MODULE=iiim
GTK_RC_FILES=/etc/gtk/gtkrc:/export/home/drkirkby/.gtkrc-1.2-gnome2
HOME=/export/home/drkirkby
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/usr/local/gcc-4.6.0/lib:/usr/local/gcc-4.6.0/lib/amd64
LOGNAME=drkirkby
MAIL=/var/mail/drkirkby
MAKE=make -j12
MAKEFLAGS=
MAKELEVEL=1
MFLAGS=
ORBIT_SOCKETDIR=/var/tmp/orbit-drkirkby
PATH=/export/home/drkirkby/sage-6.9.beta5/build/bin:/export/home/drkirkby/sage-6.9.beta5/src/bin:/export/home/drkirkby/sage-6.9.beta5/local/bin:/usr/local/bins-for-sage:/usr/local/gcc-4.6.0-delayed/bin:/usr/local/bin:/usr/local/texlive/2010/bin/i386-solaris/:/usr/bin:/usr/sbin
PREREQ_OPTIONS=--disable-compiler-checks
PWD=/export/home/drkirkby/sage-6.9.beta5/build/make
PYTHONPATH=/export/home/drkirkby/sage-6.9.beta5/local
SAGE_EXTCODE=/export/home/drkirkby/sage-6.9.beta5/local/share/sage/ext
SAGE_LOCAL=/export/home/drkirkby/sage-6.9.beta5/local
SAGE_LOGS=/export/home/drkirkby/sage-6.9.beta5/logs/pkgs
SAGE_ORIG_PATH_SET=True
SAGE_ORIG_PATH=/usr/local/bins-for-sage:/usr/local/gcc-4.6.0-delayed/bin:/usr/local/bin:/usr/local/texlive/2010/bin/i386-solaris/:/usr/bin:/usr/sbin
SAGE_PARALLEL_SPKG_BUILD=yes
SAGE_ROOT=/export/home/drkirkby/sage-6.9.beta5
SAGE_SPKG_INST=/export/home/drkirkby/sage-6.9.beta5/local/var/lib/sage/installed
SAGE_SRC=/export/home/drkirkby/sage-6.9.beta5/src
SAGE_VERSION=6.9.beta5
SESSION_MANAGER=local/hawk:/tmp/.ICE-unix/21394
SESSIONTYPE=1
SHELL=/bin/bash
SHLVL=4
SSH_AGENT_PID=21486
SSH_AUTH_SOCK=/var/tmp/keyring-mMbN5V/socket.ssh
TERM=xterm
USER=drkirkby
USERNAME=drkirkby
WINDOWID=74306895
XAUTHORITY=/var/run/gdm/auth-for-drkirkby-HjaWAb/database
XDG_SESSION_COOKIE=b757f66a441cdee9ea218d154ae5d81d-1440487859.585437-238204952
XMODIFIERS=@im=iiimx
***********************************************
make[1]: Entering directory
`/export/home/drkirkby/sage-6.9.beta5/build/make'
make -j12
/export/home/drkirkby/sage-6.9.beta5/local/var/lib/sage/installed/prereq
make[2]: Entering directory
`/export/home/drkirkby/sage-6.9.beta5/build/make'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... gawk
checking whether make -j12 sets $(MAKE)... yes
checking whether make -j12 supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for root user... no
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: error: unrecognized option: `-j12'
Try `./configure --help' for more information
If you would like to try to build Sage anyway (to help porting),
export the variable 'SAGE_PORT' to something non-empty.
make[2]: ***
[/export/home/drkirkby/sage-6.9.beta5/local/var/lib/sage/installed/prereq]
Error 1
make[2]: Leaving directory `/export/home/drkirkby/sage-6.9.beta5/build/make'
make[1]: *** [all-toolchain] Error 2
make[1]: Leaving directory `/export/home/drkirkby/sage-6.9.beta5/build/make'
real 0m0.360s
user 0m0.115s
sys 0m0.188s
***************************************************************
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all'):
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: *** [all] Error 1
drkirkby@hawk:~/sage-6.9.beta5$
Dr. David Kirkby Ph.D CEng MIET
Kirkby Microwave Ltd
Registered office: Stokes Hall Lodge, Burnham Rd, Althorne, Essex, CM3 6DT,
UK.
Registered in England and Wales, company number 08914892.
http://www.kirkbymicrowave.co.uk/
Tel: 07910 441670 / +44 7910 441670 (0900 to 2100 GMT only please)
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.