Am 22.07.2014 10:29, schrieb Dima Pasechnik: > perhaps a newer qepcad can deal with more things (Sage's qepcad 1.50 > is quite outdated by now). Care to make an update of the corresponding > spkg?
I have been thinking about it. As a first step I have built qepcad-B-1.69 and its dependency, the current saclib-2.2.6 (as static lib), under a clean install of Linuxmint-17-32bit (a derivative of Ubuntu 14.04 LTS). I could successfully compute one of the examples from the qepcad website. Then I have added qepcad to the path. Now for some reason my sage instance (from sage-6.2-i686-Linux- Ubuntu_13.04_i686.tar.lzma) still says "RuntimeError: Unable to start QEPCAD". How can I debug this? Here is my log: robert@rpmint32 ~/bin/sage-6.2-i686-Linux $ PATH=$PATH:/home/robert/bin/qepcad-B.1.69/bin robert@rpmint32 ~/bin/sage-6.2-i686-Linux $ export PATH robert@rpmint32 ~/bin/sage-6.2-i686-Linux $ which qepcad /home/robert/bin/qepcad-B.1.69/bin/qepcad robert@rpmint32 ~/bin/sage-6.2-i686-Linux $ ./sage ┌────────────────────────────────────────────────────────────────────┐ │ Sage Version 6.2, Release Date: 2014-05-06 │ │ Type "notebook()" for the browser-based notebook interface. │ │ Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ sage: qepcad(x^2<4,vars='(x)') --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) <ipython-input-1-40446c40694e> in <module>() ----> 1 qepcad(x**Integer(2)<Integer(4),vars='(x)') /home/robert/bin/sage-6.2-i686-Linux/local/lib/python2.7/site-packages/sage/interfaces/qepcad.pyc in qepcad(formula, assume, interact, solution, vars, **kwargs) 1406 use_witness = True 1407 -> 1408 qe = Qepcad(formula, vars=vars, **kwargs) 1409 if assume is not None: 1410 qe.assume(assume) /home/robert/bin/sage-6.2-i686-Linux/local/lib/python2.7/site-packages/sage/interfaces/qepcad.pyc in __init__(self, formula, vars, logfile, verbose, memcells, server) 764 765 qex = Qepcad_expect(logfile=logfile) --> 766 qex._send('[ input from Sage ]') 767 qex._send('(' + ','.join(varlist) + ')') 768 qex._send(str(free_vars)) /home/robert/bin/sage-6.2-i686-Linux/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in _send(self, cmd) 206 def _send(self, cmd): 207 if self._expect is None: --> 208 self._start() 209 E = self._expect 210 self.__so_far = '' /home/robert/bin/sage-6.2-i686-Linux/local/lib/python2.7/site-packages/sage/interfaces/expect.pyc in _start(self, alt_message, block_during_init) 446 self._session_number = BAD_SESSION 447 failed_to_start.append(self.name()) --> 448 raise RuntimeError("Unable to start %s"%self.name()) 449 self._expect.timeout = None 450 with gc_disabled(): RuntimeError: Unable to start QEPCAD -- 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.