[zeromq-dev] Problem Compiling Pyzmq
Antonio Teixeira
eagle.antonio at gmail.com
Tue Jul 26 10:09:51 CEST 2011
OOpsy my bad forgot to install python-dev , thanks guys :)
2011/7/25 Min RK <benjaminrk at gmail.com>
> To build python extensions, you need the Python headers with 'apt-get
> install python-dev'.
>
> -MinRK
>
> On Jul 25, 2011, at 13:36, Antonio Teixeira <eagle.antonio at gmail.com>
> wrote:
>
> > Hello Guys/Gals.
> >
> > I have tried to install pyzmq in ubuntu 11.04
> >
> > Linux ubuntu 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC
> 2011 i686 i686 i386 GNU/Linux
> >
> > It fails With
> >
> > running build_ext
> > building 'zmq.core.constants' extension
> > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -fPIC -Izmq/utils -Izmq/core -Izmq/devices
> -I/usr/include/python2.7 -c zmq/core/constants.c -o
> build/temp.linux-i686-2.7/zmq/core/constants.o -Wno-unused-function
> -Wno-strict-aliasing
> > zmq/core/constants.c:4:20: fatal error: Python.h: Unknow File / Dir
> > compilation terminated.
> > error: command 'gcc' failed with exit status 1
> >
> >
> > Installing Cython gave the same error that i was able to solve by using
> apt-get instead of easy_install.
> >
> >
> > Best Regards
> > A/T
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110726/66e1c5c2/attachment.htm>
More information about the zeromq-dev
mailing list