View Issue Details

IDProjectCategoryView StatusLast Update
0000574ascendbuild-linuxpublic2013-08-06 09:10
Reporterseany 
Assigned Tojohn 
PriorityimmediateSeverityblockReproducibilityalways
Status assignedResolutionopen 
Product Version0.9.8 
Target VersionFixed in Version 
Summary0000574: ascend could not be started.
DescriptionI build the following PKGBUILD to install ascend.

#********

pkgname=ascend
_pkgver=0.9.8
pkgver=$_pkgver.$(date +%m%d)
pkgrel=1
pkgdesc="ASCEND is a system for solving systems of equations"
arch=(i686 x86_64)
url="http://ascend4.org"
license=('GPL')
depends=('flex' 'bison' 'python2' 'scons' 'swig'
'boost' 'tcl' 'tk' 'graphviz' 'blas' 'gtk' 'pygtk'
'tktable'
'python2-matplotlib' 'python2-numpy' 'ipython' )
makedepends=('cmake' 'make' 'gcc')
options=(!emptydirs)
_git=yes


getsource() {
  cd "$srcdir"
  msg "Connecting to svn server...."
  if [ -d "$1"]; then
 cd "$1" && svn co svn://ascend4.org/code/trunk ascend
    else
svn co svn://ascend4.org/code/trunk ascend
 fi

  msg "svn done or server timeout"
}

prepare() {
  cd "$srcdir"
  getsource
}

build() {
  cd "$srcdir"/ascend
   sudo scons install
}


package() {
         export PATH=$PATH:/bin
}

#*******

obviously, sundials and tkatables had to be installed as well. tktables let it to be installed from aur. for sundials, the pkgbuild in aur is very old, so i rewrote this :


pkgname=sundials25
_pkgname=sundials
pkgver=2.5.0
pkgrel=1
pkgdesc="Suite of nonlinear differential/algebraic equation solvers"
arch=('i686' 'x86_64')
url="https://computation.llnl.gov/casc/sundials/main.html"
license=('BSD')
provides=('sundials')
conflicts=('sundials')
options=('!libtool' '!emptydirs')


build() {
    wget http://computation.llnl.gov/casc/sundials/download/code/${_pkgname}-${pkgver}.tar.gz
cd ${srcdir}
tar -xzf ${srcdir}/${_pkgname}-${pkgver}.tar.gz
  cd "$_pkgname-$pkgver"

  ./configure F77=gfortran --prefix=/usr --disable-mpi --with-cflags=-fPIC --enable-shared
  make || return 1
 sudo make prefix="/usr" install
}


installation was fine.
afterwards, when i do this: ascend testlog10.a4c
i get this:

# prints a lot of env vars ..
sys.path[0] = /usr/local/bin
Adding ASCEND_PYTHON=/usr/lib/python2.7/site-packages/ascend to python path
Traceback (most recent call last):
  File "/usr/local/bin/ascend", line 215, in <module>
    import ascpy
  File "/usr/lib/python2.7/site-packages/ascend/ascpy.py", line 2181
    print "XLabel:",self.getXLabel()
Steps To Reproduce0. make sure you have manjaro linux, or arch derivative of some sort..

1. save the folloing in a file, and name the file PKGBUILD

pkgname=sundials25
_pkgname=sundials
pkgver=2.5.0
pkgrel=1
pkgdesc="Suite of nonlinear differential/algebraic equation solvers"
arch=('i686' 'x86_64')
url="https://computation.llnl.gov/casc/sundials/main.html"
license=('BSD')
provides=('sundials')
conflicts=('sundials')
options=('!libtool' '!emptydirs')
#source=("http://computation.llnl.gov/casc/sundials/download/code/$_pkgname-$pkgver.tar.gz")


build() {
    wget http://computation.llnl.gov/casc/sundials/download/code/${_pkgname}-${pkgver}.tar.gz
cd ${srcdir}
tar -xzf ${srcdir}/${_pkgname}-${pkgver}.tar.gz
  cd "$_pkgname-$pkgver"

  ./configure F77=gfortran --prefix=/usr --disable-mpi --with-cflags=-fPIC --enable-shared
  make || return 1
 sudo make prefix="/usr" install
}

2. makepkg -si <-- using this command install sundials.
3. install tktables form aur
4. remove the content of PKGBUILD, and past the following :

pkgname=ascend
_pkgver=0.9.8
pkgver=$_pkgver.$(date +%m%d)
pkgrel=1
pkgdesc="ASCEND is a system for solving systems of equations"
arch=(i686 x86_64)
url="http://ascend4.org"
license=('GPL')
depends=('flex' 'bison' 'python2' 'scons' 'swig'
'boost' 'tcl' 'tk' 'graphviz' 'blas' 'gtk' 'pygtk'
'tktable'
'python2-matplotlib' 'python2-numpy' 'ipython' )
makedepends=('cmake' 'make' 'gcc')
options=(!emptydirs)
#install='ascend.install'
_git=yes



getsource() {
  cd "$srcdir"
  msg "Connecting to svn server...."
  if [ -d "$1"]; then
 cd "$1" && svn co svn://ascend4.org/code/trunk ascend
    else
svn co svn://ascend4.org/code/trunk ascend
 fi

  msg "svn done or server timeout"
}

prepare() {
  cd "$srcdir"
 #mkdir -p "ascend"
  getsource
}

build() {
  cd "$srcdir"/ascend
  #cd ascend-${pkgver}
   sudo scons install
}


package() {
    # cd "$srcdir"/ascend-${pkgver}/build
     # scons INSTALL_PREFIX=~ install
         export PATH=$PATH:/bin
}

5. makepkg -si <--- use this to install ascend.
6. ascend testlog10.a4c

TagsNo tags attached.

Relationships

Activities

seany

2013-06-02 06:17

reporter  

PKGBUILD (1,022 bytes)
# VLE: virtual lab environment

pkgname=ascend
_pkgver=0.9.8
pkgver=$_pkgver.$(date +%m%d)
pkgrel=1
pkgdesc="ASCEND is a system for solving systems of equations"
arch=(i686 x86_64)
url="http://ascend4.org"
license=('GPL')
depends=('flex' 'bison' 'python2' 'scons' 'swig' 
'boost' 'tcl' 'tk' 'graphviz' 'blas' 'gtk' 'pygtk' 
'tktable'
'python2-matplotlib' 'python2-numpy' 'ipython'  )
makedepends=('cmake' 'make' 'gcc')
options=(!emptydirs)
#install='ascend.install'
_git=yes

#getsundial() {
	
#}

#gettktable() {

#}


getsource() {
  cd "$srcdir"
  msg "Connecting to svn server...."
  if [ -d "$1"]; then
 cd "$1" &&  svn co svn://ascend4.org/code/trunk ascend
	else
svn co svn://ascend4.org/code/trunk ascend
 fi

  msg "svn done or server timeout"
}

prepare() {
  cd "$srcdir"
 #mkdir -p "ascend"
  getsource 
}

build() {
  cd "$srcdir"/ascend
  #cd ascend-${pkgver}
   sudo scons install
}


package() {
	# cd "$srcdir"/ascend-${pkgver}/build
	 # scons INSTALL_PREFIX=~ install
         export PATH=$PATH:/bin 
}

PKGBUILD (1,022 bytes)

seany

2013-06-02 06:18

reporter   ~0000975

i also uplaod the pkgbuild file for ascend

john

2013-06-02 13:04

administrator   ~0000976

The text output from the Python exception you reported is incomplete (or so it seems to me); I would need more information before I could figure out what's going wrong here.

I'm not familiar with the specifics of your Linux distro, so may I also suggest that before you attempt to use your particular package manager, you first try a 'standard' local build as described at http://ascend4.org/Building_ASCEND (there are comments specific to Arch linux there, FWIW, although I haven't tested them). You can run ASCEND from your working directoy by just typing "pygtk/ascdev" and that avoids any issues with installed file locations etc.

seany

2013-06-03 01:14

reporter   ~0000977

hi! the build script does exactly the build described in wiki. the build function calls sudo scons install.

the full output is:

[mahoru@fluidearth ascend]$ ascend testlog10.a4c
Restarting with corrected environment...
   LD_LIBRARY_PATH = /usr/local/lib
PYTHON = /usr/bin/python
script = /usr/local/bin/ascend
Running with...
   LD_LIBRARY_PATH = /usr/local/lib
   sys.path = ['/usr/local/bin', '/usr/lib/python33.zip', '/usr/lib/python3.3', '/usr/lib/python3.3/plat-linux', '/usr/lib/python3.3/lib-dynload', '/usr/lib/python3.3/site-packages', '/usr/lib/python3.3/site-packages/setuptools-0.6c11.egg-info']
   argv = ['/usr/local/bin/ascend', 'testlog10.a4c']
   XDG_SESSION_ID = 1
   GLADE_CATALOG_PATH = :
   GLADE_PIXMAP_PATH = :
   SSH_AUTH_SOCK = /tmp/gpg-fnxmFB/S.gpg-agent.ssh
   LD_LIBRARY_PATH = /usr/local/lib
   XDG_SEAT = seat0
   XDG_CONFIG_DIRS = /etc/xdg
   XDG_RUNTIME_DIR = /run/user/1000
   GLADE_MODULE_PATH = :
   MOZ_PLUGIN_PATH = /usr/lib/mozilla/plugins
   SHELL = /bin/bash
   XDG_DATA_DIRS = /usr/local/share:/usr/share
   _ = /usr/local/bin/ascend
   DBUS_SESSION_BUS_ADDRESS = unix:abstract=/tmp/dbus-Ax8AJr1JZE,guid=e50f035b303a99f7ae2d70b351ab59c2
   SHLVL = 3
   XDG_MENU_PREFIX = xfce-
   SESSION_MANAGER = local/fluidearth:@/tmp/.ICE-unix/815,unix/fluidearth:/tmp/.ICE-unix/815
   GTK2_RC_FILES = /home/mahoru/.gtkrc-2.0
   PWD = /home/mahoru/Dokumente/pkgbuilds/ascend
   USER = mahoru
   JAVA_HOME = /usr/lib/jvm/java-7-openjdk
   HISTCONTROL = ignoreboth
   GPG_AGENT_INFO = /tmp/gpg-bigk5g/S.gpg-agent:821:1
   LANG = de_DE.UTF-8
   HISTFILESIZE = 10000
   LOGNAME = mahoru
   PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl
   HOME = /home/mahoru
   XAUTHORITY = /home/mahoru/.Xauthority
   XDG_VTNR = 7
   SSH_AGENT_PID = 821
   OLDPWD = /home/mahoru
   TERM = xterm
   LC_MESSAGES = de_DE.UTF-8
   COLORTERM = xfce4-terminal
   HISTSIZE = 10000
   WINDOWID = 73400324
   DESKTOP_SESSION = Xfce Session
   DISPLAY = :0.0
sys.path[0] = /usr/local/bin
Adding ASCEND_PYTHON=/usr/lib/python2.7/site-packages/ascend to python path
Traceback (most recent call last):
  File "/usr/local/bin/ascend", line 215, in <module>
    import ascpy
  File "/usr/lib/python2.7/site-packages/ascend/ascpy.py", line 2181
    print "XLabel:",self.getXLabel()
                  ^
SyntaxError: invalid syntax

so the last line in the repot is an INVALID systax

seany

2013-06-03 01:37

reporter   ~0000978

Last edited: 2013-06-03 02:03

View 2 revisions

Hi!

i figured out what is happening. I got python3.3, and ascend uses python 2.7. so i corrected the print syntaxes.

on the other hand, i get this now:

Restarting with corrected environment...
   LD_LIBRARY_PATH = /usr/local/lib
PYTHON = /usr/bin/python
script = /usr/local/bin/ascend
Running with...
   LD_LIBRARY_PATH = /usr/local/lib
   sys.path = ['/usr/local/bin', '/usr/lib/python33.zip', '/usr/lib/python3.3', '/usr/lib/python3.3/plat-linux', '/usr/lib/python3.3/lib-dynload', '/usr/lib/python3.3/site-packages', '/usr/lib/python3.3/site-packages/setuptools-0.6c11.egg-info']
   argv = ['/usr/local/bin/ascend', 'testlog10.a4c']
   HISTSIZE = 10000
   HISTFILESIZE = 10000
   XDG_SEAT = seat0
   XDG_MENU_PREFIX = xfce-
   DISPLAY = :0.0
   GLADE_CATALOG_PATH = :
   JAVA_HOME = /usr/lib/jvm/java-7-openjdk
   _ = /usr/local/bin/ascend
   PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl
   TERM = xterm
   PWD = /home/mahoru/Dokumente/pkgbuilds/ascend
   XDG_SESSION_ID = 1
   USER = mahoru
   LD_LIBRARY_PATH = /usr/local/lib
   GLADE_MODULE_PATH = :
   SHLVL = 3
   XDG_VTNR = 7
   DBUS_SESSION_BUS_ADDRESS = unix:abstract=/tmp/dbus-Ax8AJr1JZE,guid=e50f035b303a99f7ae2d70b351ab59c2
   LANG = de_DE.UTF-8
   GTK2_RC_FILES = /home/mahoru/.gtkrc-2.0
   SSH_AGENT_PID = 821
   LC_MESSAGES = de_DE.UTF-8
   XDG_CONFIG_DIRS = /etc/xdg
   SSH_AUTH_SOCK = /tmp/gpg-fnxmFB/S.gpg-agent.ssh
   COLORTERM = xfce4-terminal
   WINDOWID = 73400324
   MOZ_PLUGIN_PATH = /usr/lib/mozilla/plugins
   GPG_AGENT_INFO = /tmp/gpg-bigk5g/S.gpg-agent:821:1
   SESSION_MANAGER = local/fluidearth:@/tmp/.ICE-unix/815,unix/fluidearth:/tmp/.ICE-unix/815
   SHELL = /bin/bash
   GLADE_PIXMAP_PATH = :
   DESKTOP_SESSION = Xfce Session
   HISTCONTROL = ignoreboth
   XDG_RUNTIME_DIR = /run/user/1000
   XDG_DATA_DIRS = /usr/local/share:/usr/share
   HOME = /home/mahoru
   XAUTHORITY = /home/mahoru/.Xauthority
   LOGNAME = mahoru
sys.path[0] = /usr/local/bin
Adding ASCEND_PYTHON=/usr/lib/python2.7/site-packages/ascend to python path
Traceback (most recent call last):
  File "/usr/local/bin/ascend", line 215, in <module>
    import ascpy
  File "/usr/lib/python2.7/site-packages/ascend/ascpy.py", line 26, in <module>
    _ascpy = swig_import_helper()
  File "/usr/lib/python2.7/site-packages/ascend/ascpy.py", line 22, in swig_import_helper
    _mod = imp.load_module('_ascpy', fp, pathname, description)
  File "/usr/lib/python3.3/imp.py", line 183, in load_module
    return load_dynamic(name, filename, file)
ImportError: dynamic module does not define init function (PyInit__ascpy)

seems to be a swig issue:
http://www.swig.org/Doc1.3/Python.html#Python_nn9

i dont know where to patch it.






morover, of course i tried exporting python2 to PYTHONPATH and PYTHON, still does not work. ascend still starts with python3

john

2013-06-03 09:05

administrator   ~0000980

ASCEND doesn't yet support Python 3, and there will bit quite a lot of changes required before it does. You will need to find out how to get proper Python 2.7 support on your platform, then I expect things will work fine.

Our GSOC2013 student, Pallav, will hopefully be looking at some of these issues, but if you would be prepared to help out and/or do some testing, that would be great.

seany

2013-06-03 18:27

reporter   ~0000981

okey, i would do what can be done from me. please note that i am a computational meteorologist, not a programmer.

however, ascend seems to start with the variable PYTHON=/usr/bin/python.

it would be nice if you kindly tell me, if PYTHON is the proper environment var to change, or if there are other variables / configfiles one should change? (in case it is in the wiki, i dont find it, by searching using the keyword Python)

ofcourse, I also have python2.7 in system, so if it is a config problem, then i think it could be solved.

thank you.

john

2013-06-03 21:54

administrator   ~0000982

the /usr/bin/ascend script (wherever you install it) is created from a 'template' file, "ascend.in", which is expanded using variables in the 'SConstruct' file, eg search for '@' and 'SUBST_DICT' in that. In principle, the copy of Python that is used by SCons will be the copy of Python that ASCEND will attempt to run with. My suspicion would be your problem could be solved if you could figure out how to ensure that SCons runs with Python 2.7... does that make sense?

seany

2013-06-07 03:07

reporter   ~0000984

Last edited: 2013-06-07 03:36

View 2 revisions

Hi, i figured out how to make scons run with python 2.7

but same problem persists. any other ideas?

also, there is no ascend.in in the src dir, there is a ascend.spec.in and ascend.conf.in

scons -Qh generates this:

{'DISTRIB_CODENAME': 'Ascella', 'DISTRIB_RELEASE': '0.8.6', 'DISTRIB_ID': 'ManjaroLinux', 'DISTRIB_DESCRIPTION': '"Manjaro Linux"'}
GRAPHVIZ_LIBS = ['gvc', 'graph', 'cgraph', 'cdt']
GRAPHVIZ_LIBPATH = None
GRAPHVIZ_CPPPATH = ['/usr/include/graphviz']
CHECKING SUNDIALS
STANDARD CONFIG
{'DISTRIB_CODENAME': 'Ascella', 'DISTRIB_RELEASE': '0.8.6', 'DISTRIB_ID': 'ManjaroLinux', 'DISTRIB_DESCRIPTION': '"Manjaro Linux"'}
SUNDIALS_LIBS = ['sundials_ida', 'sundials_nvecserial', 'm']
SUNDIALS_LIBPATH = ['/usr/lib']
SUNDIALS_CPPPATH = None
IPOPT_LIBS = ['ipopt', 'lapack', 'dl', 'coinmumps', 'pthread', 'blas', 'gfortran', 'm', 'gcc_s', 'quadmath', 'coinmetis']
IPOPT_LIBPATH = ['/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0', '/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib', '/lib/../lib', '/usr/lib/../lib', '/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../..']
IPOPT_CPPPATH = ['/usr/include/coin', '/usr/include/coin/ThirdParty']

scons: *** Error writing options to file: options.cache
[Errno 13] Permission denied: 'options.cache'
File "/home/mahoru/Dokumente/pkgbuilds/ascend/src/ascend/SConstruct", line 828, in <module>
[mahoru@fluidearth ascend]$ sudo scons -Qh
{'DISTRIB_CODENAME': 'Ascella', 'DISTRIB_RELEASE': '0.8.6', 'DISTRIB_ID': 'ManjaroLinux', 'DISTRIB_DESCRIPTION': '"Manjaro Linux"'}
GRAPHVIZ_LIBS = ['gvc', 'graph', 'cgraph', 'cdt']
GRAPHVIZ_LIBPATH = None
GRAPHVIZ_CPPPATH = ['/usr/include/graphviz']
CHECKING SUNDIALS
STANDARD CONFIG
{'DISTRIB_CODENAME': 'Ascella', 'DISTRIB_RELEASE': '0.8.6', 'DISTRIB_ID': 'ManjaroLinux', 'DISTRIB_DESCRIPTION': '"Manjaro Linux"'}
SUNDIALS_LIBS = ['sundials_ida', 'sundials_nvecserial', 'm']
SUNDIALS_LIBPATH = ['/usr/lib']
SUNDIALS_CPPPATH = None
IPOPT_LIBS = ['ipopt', 'lapack', 'dl', 'coinmumps', 'pthread', 'blas', 'gfortran', 'm', 'gcc_s', 'quadmath', 'coinmetis']
IPOPT_LIBPATH = ['/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0', '/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib', '/lib/../lib', '/usr/lib/../lib', '/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../..']
IPOPT_CPPPATH = ['/usr/include/coin', '/usr/include/coin/ThirdParty']
TCL= /usr
TCL_CPPPATH = $TCL/include
TCL_LIBPATH = $TCL/lib
TCL_LIB = tcl8.5
ABSOLUTE PATHS = True
INSTALL_ASCDATA = $INSTALL_SHARE/ascend
INSTALL_PREFIX = /usr/local
INSTALL_MODELS = $INSTALL_LIB/ascend/models
INSTALL_SOLVERS = $INSTALL_LIB/ascend/solvers
INSTALL_PYTHON = /usr/lib/python2.7/site-packages
INSTALL_PYTHON_ASCEND = $INSTALL_PYTHON/ascend
DEFAULT_ASCENDLIBRARY = $INSTALL_MODELS
DEFAULT_ASCENDSOLVERS = $INSTALL_SOLVERS
Skipping... Tcl/Tk bindings aren't being built: Tcl not found.
PYTHON_CPPPATH = ['/usr/include/python2.7']
OBJS = ['integrator.os', 'samplelist.os']
Skipping... BLAS won't be built: Found BLAS installed on system
Skipping... IDA won't be built: SUNDIALS not found, or bad version
Skipping... CUnit tests aren't being built: CUnit not found
FOUND 'PACKAGE' file in ....
Skipping... Windows installer isn't being built: NSIS not found
Skipping... Documentation isn't being built: unable to locate LyX
Building targets: libascend solvers ascxx pygtk pyfprops extfns

HOST_PREFIX: Host architecture prefix
    default:
    actual:

CC: C Compiler command
    default: ${HOST_PREFIX}gcc
    actual: gcc

CXX: C++ Compiler command
    default: ${HOST_PREFIX}g++
    actual: g++

GCOV: Whether to enable coverage testing in object code (yes|no)
    default: False
    actual: False

WITH_GCCVISIBILITY: Whether to use GCC Visibility features (only applicable if available) (yes|no)
    default: True
    actual: True

WITH_SIGNALS: Whether to permit use of signals for flow control in the C-level code (yes|no)
    default: True
    actual: True

WITH_TCLTK: Set to False if you don't want to build the original Tcl/Tk GUI. (yes|no)
    default: True
    actual: True

WITH_PYTHON: Set to False if you don't want to build Python wrappers. (yes|no)
    default: True
    actual: True

WITH_SOLVERS: List of the solvers you want to build. The default is the minimum that works. The option 'LSOD' is provided for backwards compatibility; the value 'LSODE' is preferred.
    (all|none|comma-separated list of names)
    allowed names: QRSLV MPS SLV OPTSQP NGSLV CMSLV LRSLV MINOS CONOPT LSODE LSOD OPTSQP IDA TRON IPOPT DOPRI5 MAKEMPS RADAU5
    default: QRSLV,CMSLV,LSODE,IDA,CONOPT,LRSLV,IPOPT,DOPRI5
    actual: CMSLV CONOPT DOPRI5 IDA IPOPT LRSLV LSODE QRSLV

WITH_DOC: Should we try to build and install help files? If not, ASCEND will access online help files (yes|no)
    default: True
    actual: True

WITH_DOC_BUILD: If true, we'll attempt to build docs. Set false, we'll assume we already have then (eg from the tarball) (yes|no)
    default: $WITH_DOC
    actual: True

WITH_DOC_INSTALL: If true, SCons will install the documentation file(s). If false, assume rpm or dpkg is going to do it. (yes|no)
    default: $WITH_DOC
    actual: True

HELP_ROOT: Location of the main help file
    default: $INSTALL_DOC/book.pdf
    actual: /usr/local/share/doc/ascend-0.9.8/book.pdf

WITH_BINTOKEN: Enable bintoken support? This means compiling models as C-code before running them, to increase solving speed for large models. (yes|no)
    default: False
    actual: False

DEFAULT_ASCENDLIBRARY: Set the default value of the ASCENDLIBRARY -- the location where ASCEND will look for models when running ASCEND
    default: $INSTALL_MODELS
    actual: /usr/local/lib/ascend/models

DEFAULT_ASCENDSOLVERS: Set the default value of ASCENDSOLVERS -- the location where ASCEND will look for solver shared-library files
    default: $INSTALL_SOLVERS
    actual: /usr/local/lib/ascend/solvers

SWIG: SWIG location, probably only required for MinGW and MSVC users. Enter the location as a Windows-style path, for example 'c:\msys\1.0\home\john\swigwin-1.3.29\swig.exe'.
    default: swig
    actual: swig

WITH_CUNIT: You can disable CUnit tests with this option. This will basically stop SCons from parsing the SConscript files relating to the 'test' target, which just might make things marginally faster. Probably you can just ignore this option though. SCons will sniff for Cunit but build the tests only if you specify the 'test' target. (yes|no)
    default: True
    actual: True

WITH_MMIO: Include support for exporting matrices in Matrix Market format (yes|no)
    default: True
    actual: True

DEFAULT_PREFIX: Where are most of the shared libraries located on your system?
    ( yes | no | /path/to/DEFAULT_PREFIX )
    default: /usr
    actual: /usr

CUNIT_PREFIX: Where are your CUnit files?
    ( yes | no | /path/to/CUNIT_PREFIX )
    default: $DEFAULT_PREFIX
    actual: /usr

CUNIT_CPPPATH: Where are your CUnit include files?
    ( yes | no | /path/to/CUNIT_CPPPATH )
    default: $CUNIT_PREFIX/include
    actual: /usr/include

CUNIT_LIBPATH: Where are your CUnit libraries?
    ( yes | no | /path/to/CUNIT_LIBPATH )
    default: $CUNIT_PREFIX/lib
    actual: /usr/lib

CONOPT_PREFIX: Prefix for your CONOPT install (CONOPT ./configure --prefix)
    ( yes | no | /path/to/CONOPT_PREFIX )
    default: $DEFAULT_PREFIX
    actual: /usr

CONOPT_LIB: Library linked to for CONOPT. This is the name of the CONOPT .so or DLL. On Windows it seems to be called 'copopt3' but on linux it seems to be called 'consub3'.
    default: consub3
    actual: consub3

CONOPT_LINKED: Do you want to dynamically link to CONOPT (only possible if CONOPT is available at buildtime) (yes|no)
    default: False
    actual: False

CONOPT_CPPPATH: Where is your conopt.h?
    default: $CONOPT_PREFIX/include
    actual: /usr/include

CONOPT_LIBPATH: Where is your CONOPT library installed?
    default: $CONOPT_PREFIX/lib
    actual: /usr/lib

CONOPT_DLPATH: Default (fallback) search path that ASCEND should use when dlopening the CONOPT library at runtime? This is only used if the conopt environment variable doesn't exist and doesn't point to a location where the DLL/SO is found. This is in platform-specific form (paths with ';' separator in Windows, ':' separator on Linux).
    default: $CONOPT_PREFIX/lib:/usr/local/lib
    actual: /usr/lib:/usr/local/lib

CONOPT_ENVVAR: Name of the optional environment variable which will be used for the value of the searchpath for the CONOPT DLL/SO.
    default: CONOPT_PATH
    actual: CONOPT_PATH

F2C_LIB: F2C library (eg. g2c, gfortran, f2c)
    default: gfortran
    actual: gfortran

F2C_LIBPATH: Directory containing F2C library (i.e. g2c, gfortran, f2c, etc.), if not already accessible
    ( yes | no | /path/to/F2C_LIBPATH )
    default: off
    actual: False

FORTRAN: Fortran compiler (eg g77, gfortran)
    default: ${HOST_PREFIX}gfortran
    actual: gfortran

SHFORTRAN: Fortran compiler for shared library object (should normally be same as FORTRAN)
    default: $FORTRAN
    actual: gfortran

TCL: Base of Tcl distribution
    default: /usr
    actual: /usr

TCL_CPPPATH: Where are your Tcl include files?
    default: $TCL/include
    actual: /usr/include

TCL_LIBPATH: Where are your Tcl libraries?
    default: $TCL/lib
    actual: /usr/lib

TCL_LIB: Name of Tcl lib (eg 'tcl' or 'tcl83'), for full path to static library (if STATIC_TCLTK is set)
    default: tcl8.5
    actual: tcl8.5

TK_CPPPATH: Where are your Tk include files?
    default: $TCL_CPPPATH
    actual: /usr/include

TK_LIBPATH: Where are your Tk libraries?
    default: $TCL_LIBPATH
    actual: /usr/lib

TK_LIB: Name of Tk lib (eg 'tk' or 'tk83'), or full path to static library
    default: tk8.5
    actual: tk8.5

STATIC_TCLTK: Set true for static linking for Tcl/Tk and TkTable. EXPERIMENTAL (yes|no)
    default: False
    actual: False

TKTABLE_LIBPATH: Location of TkTable static library
    default: $TCL_LIBPATH/Tktable2.8
    actual: /usr/lib/Tktable2.8

TKTABLE_LIB: Stem name of TkTable (eg tktable2.8, no ".so" or "lib") shared library, or full path of static tktable (/usr/lib/...)
    default: Tktable2.9
    actual: Tktable2.9

TKTABLE_CPPPATH: Location of TkTable header file
    default: $TCL_CPPPATH
    actual: /usr/include

X11: Base X11 directory. Only used when STATIC_TCLTK is turned on. EXPERIMENTAL
    default: /usr/X11R6
    actual: /usr/X11R6

X11_LIBPATH: Location of X11 lib. EXPERIMENTAL
    default: $X11/lib
    actual: /usr/X11R6/lib

X11_CPPPATH: Location of X11 includes. EXPERIMENTAL
    default: $X11/include
    actual: /usr/X11R6/include

X11_LIB: Name of X11 lib. EXPERIMENTAL
    default: X11
    actual: X11

INSTALL_PREFIX: Root location for installed files
    default: /usr/local
    actual: /usr/local

INSTALL_BIN: Location to put binaries during installation
    default: $INSTALL_PREFIX/bin
    actual: /usr/local/bin

INSTALL_LIB: Location to put libraries during installation
    default: $INSTALL_PREFIX/lib
    actual: /usr/local/lib

INSTALL_SHARE: Common shared-file location on this system
    default: $INSTALL_PREFIX/share
    actual: /usr/local/share

INSTALL_ASCDATA: Location of ASCEND shared data (TK, python, models etc)
    default: $INSTALL_SHARE/ascend
    actual: /usr/local/share/ascend

INSTALL_PYTHON: General location for Python extensions on this system
    default: /usr/lib/python2.7/site-packages
    actual: /usr/lib/python2.7/site-packages

INSTALL_PYTHON_ASCEND: Location for installation of Python modules specific to ASCEND
    default: $INSTALL_PYTHON/ascend
    actual: /usr/lib/python2.7/site-packages/ascend

INSTALL_TK: Location for Tcl/Tk files used by ASCEND Tk GUI
    default: $INSTALL_ASCDATA/tcltk
    actual: /usr/local/share/ascend/tcltk

INSTALL_MODELS: Location of ASCEND model files (.a4c,.a4l,.a4s)
    default: $INSTALL_LIB/ascend/models
    actual: /usr/local/lib/ascend/models

INSTALL_SOLVERS: Location of ASCEND solvers
    default: $INSTALL_LIB/ascend/solvers
    actual: /usr/local/lib/ascend/solvers

INSTALL_DOC: Location of ASCEND documentation files
    default: $INSTALL_SHARE/doc/ascend-0.9.8
    actual: /usr/local/share/doc/ascend-0.9.8

INSTALL_INCLUDE: Location to put header files during installation
    default: $INSTALL_PREFIX/include
    actual: /usr/local/include

INSTALL_ROOT: For use by RPM only: location of %{buildroot} during rpmbuild
    default:
    actual:

EXTLIB_SUFFIX: Filename suffix for ASCEND 'external libraries' (for use with IMPORT
    default: _ascend$SHLIBSUFFIX
    actual: _ascend.so

EXTLIB_PREFIX: Filename suffix for ASCEND 'external libraries' (for use with IMPORT
    default: $SHLIBPREFIX
    actual: lib

PYGTK_ASSETS: Default location for Glade assets (will be recorded in pygtk/config.py)
    default: $INSTALL_ASCDATA/glade/
    actual: /usr/local/share/ascend/glade/

DEBUG: Compile source with debugger symbols, eg for use with 'gdb' (yes|no)
    default: False
    actual: False

MALLOC_DEBUG: Compile with debugging version of MALLOC. Required for full CUnit testing (yes|no)
    default: False
    actual: False

DMALLOC_PREFIX: Where are your dmalloc files?
    ( yes | no | /path/to/DMALLOC_PREFIX )
    default: $DEFAULT_PREFIX
    actual: /usr

DMALLOC_CPPPATH: Where are your dmalloc include files?
    ( yes | no | /path/to/DMALLOC_CPPPATH )
    default: $DEFAULT_PREFIX/include
    actual: /usr/include

DMALLOC_LIBPATH: Where are your dmalloc libraries?
    ( yes | no | /path/to/DMALLOC_LIBPATH )
    default: $DEFAULT_PREFIX/lib
    actual: /usr/lib

WITH_DMALLOC: Link to the DMALLOC library (if available) for debugging of memory usage. (yes|no)
    default: False
    actual: False

WITH_GRAPHVIZ: Link to the GRAPHVIZ library (if available, for generating incidence graphs) (yes|no)
    default: True
    actual: True

UFSPARSE_PREFIX: Where are your UFSPARSE files?
    ( yes | no | /path/to/UFSPARSE_PREFIX )
    default: $DEFAULT_PREFIX
    actual: /usr

UFSPARSE_CPPPATH: Where are your UFSPARSE include files?
    ( yes | no | /path/to/UFSPARSE_CPPPATH )
    default: $DEFAULT_PREFIX/include
    actual: /usr/include

UFSPARSE_LIBPATH: Where are your UFSPARSE libraries?
    ( yes | no | /path/to/UFSPARSE_LIBPATH )
    default: $DEFAULT_PREFIX/lib
    actual: /usr/lib

WITH_UFSPARSE: Link to the UFSPARSE library (if available, for additional sparse matrix routines) (yes|no)
    default: True
    actual: True

UPDATE_NO_YACC_LEX: Update the *_no_yacc* and *_no_lex* files in the source tree? (these files are created so that ASCEND can be compiled in the absence of those tools) (yes|no)
    default: False
    actual: False

DISTTAR_NAME: Stem name of the tarball created by 'scons dist'. So for 'ascend-aaa.tar.bz2', set this to 'ascend-aaa'.
    default: ascend-0.9.8
    actual: ascend-0.9.8

RELEASE: Release number for use in RPM spec file. This should always start with a zero for releases made by the ASCEND group, in order that third parties can make 'patch' releases of higher version numbers.
    default: 0
    actual: 0

ABSOLUTE_PATHS: Whether to use absolute or relative paths in the installed Tcl/Tk interface. If you want to build an RPM, set this to false. (yes|no)
    default: True
    actual: True

WIN_INSTALLER_NAME: Name of the installer .exe to create under Windows (minus the '.exe')
    default: ascend-0.9.8-amd64-py2.7.exe
    actual: ascend-0.9.8-amd64-py2.7.exe

WITH_XTERM_COLORS: Set to 0 if you don't want xterm colour codes in the console output (yes|no)
    default: True
    actual: True

WITH_EXTFNS: Set to 0 if you don't want to attempt to build the external modules bundled with ASCEND (yes|no)
    default: True
    actual: True

WITH_SCROLLKEEPER: Set to to 1 if you want to install an OMF file that can be read by scrollkeeper (eg Yelp on GNOME) (yes|no)
    default: False
    actual: False

WITH_MSVCR71: Attempt to link against MSVCR71.DLL, to enable passing of FILE* objects to/from python (yes|no)
    default: False
    actual: False

everyoccurance of python is python2.7 ...

john

2013-07-10 10:32

administrator   ~0000986

Hi Seany

I recently returned from holidays. Not sure where you got to with this, but I note that in Comment 978, Python seems to be loading a combination of Python 2.7 and Python 3.x libraries. That's almost certainly a bad idea. Try to get a clean installation with only one version of Python being accessed.

What's your current error now, can you please summarise again for me?

Cheers
JP

john

2013-08-06 09:10

administrator   ~0000987

Seany -- any update on this?

Issue History

Date Modified Username Field Change
2013-06-02 06:15 seany New Issue
2013-06-02 06:15 seany Status new => assigned
2013-06-02 06:15 seany Assigned To => john
2013-06-02 06:17 seany File Added: PKGBUILD
2013-06-02 06:18 seany Note Added: 0000975
2013-06-02 13:04 john Note Added: 0000976
2013-06-03 01:14 seany Note Added: 0000977
2013-06-03 01:37 seany Note Added: 0000978
2013-06-03 02:03 seany Note Edited: 0000978 View Revisions
2013-06-03 09:05 john Note Added: 0000980
2013-06-03 18:27 seany Note Added: 0000981
2013-06-03 21:54 john Note Added: 0000982
2013-06-07 03:07 seany Note Added: 0000984
2013-06-07 03:36 seany Note Edited: 0000984 View Revisions
2013-07-10 10:32 john Note Added: 0000986
2013-08-06 09:10 john Note Added: 0000987