In this order:

sage -i zmq
sage -i pyzmq


On Friday, September 5, 2014 12:29:03 AM UTC+1, Anthony Savagar wrote:
>
> Log file attached. Thanks for any help. I want to be able to do sage 
> -ipython notebook. I gather pyzmq is a necessary condition.
>
>
> anthony@anthony-VPCZ12V9E:~/Downloads$ sudo sage -i pyzmq-2.1.11.p1.spkg
> [sudo] password for anthony: 
> sys:1: RuntimeWarning: not adding directory '' to sys.path since it's not 
> owned by a trusted user.
> Untrusted users could put files in this directory which might then be 
> imported by your Python code. As a general precaution from similar 
> exploits, you should not execute Python code from this directory
> pyzmq-2.1.11.p1
> ====================================================
> Extracting package /home/anthony/Downloads/pyzmq-2.1.11.p1.spkg
> -rw-rw-r-- 1 anthony anthony 464880 Sep  1 23:02 
> /home/anthony/Downloads/pyzmq-2.1.11.p1.spkg
> Finished extraction
> ****************************************************
> Host system:
> Linux anthony-VPCZ12V9E 3.2.0-68-generic-pae #102-Ubuntu SMP Tue Aug 12 
> 22:23:54 UTC 2014 i686 i686 i386 GNU/Linux
> ****************************************************
> C compiler: gcc
> C compiler version:
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper
> Target: i686-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.
> 3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs 
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
> --program-suffix=-4.6 --enable-shared --enable-linker-build-id 
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
> --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 
> --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu 
> --enable-libstdcxx-debug --enable-libstdcxx-time=yes 
> --enable-gnu-unique-object --enable-plugin --enable-objc-gc 
> --enable-targets=all --disable-werror --with-arch-32=i686 
> --with-tune=generic --enable-checking=release --build=i686-linux-gnu 
> --host=i686-linux-gnu --target=i686-linux-gnu
> Thread model: posix
> gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) 
> ****************************************************
> patching file buildutils.py
> running configure
> ******************************************
> Configure: Autodetecting ZMQ settings...
>     Custom ZMQ dir:       /usr/local/src/sage-6.3-i686-Linux/local
> gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC 
> -I/usr/local/src/sage-6.3-i686-Linux/local/include -Izmq/utils -Izmq/core 
> -Izmq/devices -c detect/vers.c -o detect/vers.o
> detect/vers.c:3:17: fatal error: zmq.h: No such file or directory
> compilation terminated.
> Fatal: 
>     Failed to compile ZMQ test program.  Please check to make sure:
>
>     * You have a C compiler installed
>     * A development version of Python is installed (including header files)
>     * A development version of ZMQ >= 2.1.4 is installed (including header 
> files)
>     * If ZMQ is not in a default location, supply the argument --zmq=<path>
>     * If you did recently install ZMQ to a default location, 
>       try rebuilding the ld cache with `sudo ldconfig`
>       or specify zmq's location with `--zmq=/usr/local`
>     
> error: command 'gcc' failed with exit status 1
> ******************************************
> running install
> running build
> running build_py
> creating build
> creating build/lib.linux-i686-2.7
> creating build/lib.linux-i686-2.7/zmq
> copying zmq/__init__.py -> build/lib.linux-i686-2.7/zmq
> creating build/lib.linux-i686-2.7/zmq/eventloop
> copying zmq/eventloop/__init__.py -> build/lib.linux-i686-2.7/zmq/
> eventloop
> copying zmq/eventloop/zmqstream.py -> build/lib.linux-i686-2.7/zmq/
> eventloop
> copying zmq/eventloop/stack_context.py -> build/lib.linux-i686-2.7/zmq/
> eventloop
> copying zmq/eventloop/ioloop.py -> build/lib.linux-i686-2.7/zmq/eventloop
> creating build/lib.linux-i686-2.7/zmq/eventloop/platform
> copying zmq/eventloop/platform/posix.py -> build/lib.linux-i686-2.7/zmq/
> eventloop/platform
> copying zmq/eventloop/platform/__init__.py -> build/lib.linux-i686-2.7/zmq
> /eventloop/platform
> copying zmq/eventloop/platform/windows.py -> build/lib.linux-i686-2.7/zmq/
> eventloop/platform
> copying zmq/eventloop/platform/auto.py -> build/lib.linux-i686-2.7/zmq/
> eventloop/platform
> creating build/lib.linux-i686-2.7/zmq/ssh
> copying zmq/ssh/forward.py -> build/lib.linux-i686-2.7/zmq/ssh
> copying zmq/ssh/__init__.py -> build/lib.linux-i686-2.7/zmq/ssh
> copying zmq/ssh/tunnel.py -> build/lib.linux-i686-2.7/zmq/ssh
> creating build/lib.linux-i686-2.7/zmq/devices
> copying zmq/devices/basedevice.py -> build/lib.linux-i686-2.7/zmq/devices
> copying zmq/devices/__init__.py -> build/lib.linux-i686-2.7/zmq/devices
> copying zmq/devices/monitoredqueuedevice.py -> build/lib.linux-i686-2.7/
> zmq/devices
> creating build/lib.linux-i686-2.7/zmq/utils
> copying zmq/utils/__init__.py -> build/lib.linux-i686-2.7/zmq/utils
> copying zmq/utils/jsonapi.py -> build/lib.linux-i686-2.7/zmq/utils
> copying zmq/utils/strtypes.py -> build/lib.linux-i686-2.7/zmq/utils
> creating build/lib.linux-i686-2.7/zmq/tests
> copying zmq/tests/test_zmqstream.py -> build/lib.linux-i686-2.7/zmq/tests
> copying zmq/tests/test_pubsub.py -> build/lib.linux-i686<span 
> style="color: #660;" class="styled-by-pretti
> ...

-- 
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.

Reply via email to