public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: P Purkayastha <ppurka@gmail.com>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] Can not run sage-notebook
Date: Mon, 22 Aug 2011 17:27:58 +0800	[thread overview]
Message-ID: <4E52211E.7030904@gmail.com> (raw)
In-Reply-To: <4310572.Ch0ui68j1t@cschwan-laptop>

On 08/22/2011 04:56 PM, Christopher Schwan wrote:
> On Monday 22 August 2011 10:57:59 P Purkayastha wrote:
>> On 08/22/2011 07:59 AM, fbissey@slingshot.co.nz wrote:
>>> Quoting P Purkayastha<ppurka@gmail.com>:
>>>> On 08/22/2011 06:48 AM, fbissey@slingshot.co.nz wrote:
>>>>> Quoting P Purkayastha<ppurka@gmail.com>:
>>>>>> Indeed cython was not rebuilt after/during the update of sage.
>>>>>> Rebuilding it doesn't make any difference. Still get the same
>>>>>> errors.
>>>>>> eix output just before remerging cython:
>>>>>>
>>>>>> [I] dev-python/cython
>>>>>> Available versions: 0.14.1 0.14.1-r1[1] {doc examples}
>>>>>> Installed versions: 0.14.1-r1[1](10:34:40 PM 08/05/2011)(-doc
>>>>>> -examples)
>>>>>> Homepage: http://www.cython.org/
>>>>>> http://pypi.python.org/pypi/Cython
>>>>>> Description: The Cython compiler for writing C extensions
>>>>>> for the Python language
>>>>>
>>>>> Did you follow up with a rebuild of pynac, sage-clib and sage?
>>>>>
>>>>> Francois
>>>>
>>>> I haev tried rebuilding pynac, sage-clib, sage, sage-baselayout and
>>>> sage-notebook. The error persists.
>>>>
>>>>
>>>> ~>  genlop -l --date 3 hours ago
>>>> * dev-python/cython
>>>>
>>>> Mon Aug 22 06:05:25 2011>>>  dev-python/cython-0.14.1-r1
>>>> Mon Aug 22 06:56:32 2011>>>  sci-libs/pynac-0.2.3
>>>> Mon Aug 22 06:56:58 2011>>>  sci-mathematics/sage-clib-4.7.1
>>>> Mon Aug 22 07:09:34 2011>>>  sci-mathematics/sage-4.7.1
>>>> Mon Aug 22 07:12:48 2011>>>  dev-lang/yasm-1.1.0-r1
>>>> Mon Aug 22 07:14:55 2011>>>  sci-mathematics/sage-notebook-0.8.19
>>>> Mon Aug 22 07:15:30 2011>>>  sci-mathematics/sage-baselayout-4.7.1
>>>> ~>
>>>
>>> OK let's look at some other things:
>>> printenv | grep SAGE
>>
>> ~>  env | grep SAGE
>> SAGE_DATA=/usr/share/sage/data
>> SAGE_DOC=/usr/share/sage/devel/sage/doc
>> SAGE_ROOT=/usr/share/sage
>> SAGE_LOCAL=/usr
>>
>>> eix ipython
>>
>> ~>  eix ipython
>> [I] dev-python/ipython
>>        Available versions:  0.10 0.10.1 0.10.2 {doc emacs examples
>> gnuplot readline smp test wxwidgets}
>>        Installed versions:  0.10.2(02:29:03 AM 05/20/2011)(readline smp
>> -doc -emacs -examples -gnuplot -test -wxwidgets)
>>        Homepage:            http://ipython.scipy.org/
>> http://pypi.python.org/pypi/ipython
>>        Description:         An interactive computing environment for Python
>>
>>> What is your current shell?
>>
>> /bin/zsh
>> Running
>> exec bash
>> sage
>>
>> doesn't make any difference.
>>
>>> Outout of "sage -gdb" if you installed with the debug useflag.
>>> Did you install the testsuite (useflag of the same name).
>>
>> Unfortunately, I didnt' compile either of them. Will do that later tonight.
>>
>>> Francois
>>
>> Thanks for patiently helping. :)
>
> Hi,
>
> Francois was right - compiling without the testsuite yields the same behavior
> on my box. So for the time being,
>
> USE=testsuite emerge -1 sage-baselayout
> USE=testsuite emerge -1 sage
>
> solves the problem.
>
> Any ideas which files are removed with USE=-testsuite but still needed ?
>
> Cheers,
> Christopher
>

The only difference testsuite seems to make is *remove* files :) It 
apparently has no effect on sage-baselayout as far as I can see from the 
ebuild. But in sage ebuild, it removes stuff:

src_install() {
	distutils_src_install

	if use testsuite ; then
		# install testable sources and sources needed for testing
		find sage ! \( -name "*.py" -o -name "*.pyx" -o -name "*.pxd" -o \
			-name "*.pxi" \) -type f -delete \
			|| die "failed to remove non-testable sources"

		insinto /usr/share/sage/devel/sage-main
		doins -r sage || die
	fi





      reply	other threads:[~2011-08-22  9:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-21 15:50 [gentoo-science] Can not run sage-notebook P Purkayastha
2011-08-21 20:49 ` v_2e
2011-08-21 21:38   ` fbissey
2011-08-21 21:54     ` P Purkayastha
2011-08-21 21:57       ` fbissey
2011-08-21 22:06         ` P Purkayastha
2011-08-21 22:48           ` fbissey
2011-08-21 23:17             ` P Purkayastha
2011-08-21 23:59               ` fbissey
2011-08-22  2:57                 ` P Purkayastha
2011-08-22  8:56                   ` Christopher Schwan
2011-08-22  9:27                     ` P Purkayastha [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E52211E.7030904@gmail.com \
    --to=ppurka@gmail.com \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox