Hi Andrey,

I have been using the sagecell in a class in this semester. But from some 
weeks ago, the server seems not available. The address I use is

https://sagecell.sagemath.org/

The browser now just says "This webpage is not available". I am located in 
Korea. I wonder if this is only happening from here...

On the other hand, meanwhile I tried to build my own sagecell server 
following the simple instructions in the sagecell github homepage. But it 
fails with the following message in the final step:

make: *** No rule to make target 
`/home/kwankyu/sagecell/sage/ipython/IPython/html/static//services/kernels/js/kernel.js',
 
needed by `static/wrap.js'. Stop.

Could you indicate possible causes of this failure? Thank you in advance. I 
attached below the instructions I followed.


Kwankyu


mkdir --mode=0700 github
cd github

git clone https://github.com/novoselt/sage.git
pushd sage
git checkout sagecell
git submodule update --init --recursive

./sage -sh <<"EOF"
standard=`sage -standard`
for pkg in build/pkgs/*
do
    if [ -d $pkg ]; then
        pkg=`basename $pkg`
        if echo $standard | grep -q $pkg
        then
            sage-spkg -f -d $pkg
        fi
    fi
done
EOF
popd

git clone https://github.com/jasongrout/ipython.git
pushd ipython
git checkout sagecell
git submodule update --init --recursive
popd

git clone https://github.com/jasongrout/matplotlib
pushd matplotlib
git checkout sagecell
git submodule update --init --recursive
popd

git clone https://github.com/sagemath/sagecell.git
pushd sagecell
git submodule update --init --recursive
popd

cd ..
BASEMAP=basemap-1.0.7
wget --progress=dot:mega 
http://downloads.sourceforge.net/project/matplotlib/matplotlib-toolkits/$BASEMAP/$BASEMAP.tar.gz

### Build Sage. See contrib/vm/install-sagecell-functions. 
### 
### See in particular the functions install_sage and install_sagecell.

MAKE="make -j4"

rm -rf sage
mv github/sage .
echo 'Compiling Sage'
cd sage
export SAGE_KEEP_BUILT_SPKGS=yes
export MAKE="$MAKE"
make start

echo 'Installing sagecell'
./sage -sh -c "easy_install pip"
./sage -i http://boxen.math.washington.edu/home/jason/zeromq-4.0.3.spkg
./sage -i pyzmq
# we need a more recent pyzmq than Sage provides
./sage -sh -c "pip install -U pyzmq"
# We need IPython stuff not present in spkg.
pushd local/lib/python/site-packages
rm -rf IPython*
rm -rf ipython*
popd
mv ../github/ipython .
pushd ipython
../sage setup.py develop
popd
# we need a cutting-edge matplotlib as well for the new interactive features
mv ../github/matplotlib .
pushd matplotlib
../sage setup.py install
popd
./sage -sh -c "easy_install ecdsa"
./sage -sh -c "easy_install paramiko"
./sage -sh -c "easy_install sockjs-tornado"
./sage -sh -c "easy_install lockfile"

mv ../github/sagecell .
cd sagecell/static
ln -s ../../local/share/jmol .
cd ..
../sage -sh -c "make -B"       





-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" 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-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to