Having a problem with installing uwsgi. Any suggestions?

$ sudo wget http://projects.unbit.it/downloads/uwsgi-0.9.3.tar.gz
$ sudo tar xf uwsgi-0.9.3.tar.gz
$ cd uwsgi-0.9.3
$ sudo make -f Makefile.Linux.Py26

rm -f utils.o socket.o pymodule.o main.o
gcc -c `python2.6-config --cflags` `xml2-config --cflags` utils.c
/bin/sh: xml2-config: not found
gcc -c `python2.6-config --cflags` `xml2-config --cflags` socket.c
/bin/sh: xml2-config: not found
gcc -c `python2.6-config --cflags` `xml2-config --cflags` -o
pymodule.o uwsgi_pymodule.c
/bin/sh: xml2-config: not found
gcc -c `python2.6-config --cflags` `xml2-config --cflags` -o main.o
uwsgi.c
/bin/sh: xml2-config: not found
uwsgi.c:82:27: error: libxml/parser.h: No such file or directory
uwsgi.c:83:25: error: libxml/tree.h: No such file or directory
uwsgi.c: In function 'uwsgi_xml_config':
uwsgi.c:2201: error: 'xmlDoc' undeclared (first use in this function)
uwsgi.c:2201: error: (Each undeclared identifier is reported only once
uwsgi.c:2201: error: for each function it appears in.)
uwsgi.c:2201: error: 'doc' undeclared (first use in this function)
uwsgi.c:2202: error: 'xmlNode' undeclared (first use in this function)
uwsgi.c:2202: error: 'element' undeclared (first use in this function)
uwsgi.c:2203: error: 'node' undeclared (first use in this function)
uwsgi.c:2204: error: 'node2' undeclared (first use in this function)
uwsgi.c:2206: error: 'xmlChar' undeclared (first use in this function)
uwsgi.c:2206: error: 'xml_uwsgi_mountpoint' undeclared (first use in
this function)
uwsgi.c:2207: error: 'xml_uwsgi_script' undeclared (first use in this
function)
uwsgi.c:2210: warning: implicit declaration of function 'xmlReadFile'
uwsgi.c:2218: warning: implicit declaration of function
'xmlDocGetRootElement'
uwsgi.c:2231: error: 'XML_ELEMENT_NODE' undeclared (first use in this
function)
uwsgi.c:2261: warning: implicit declaration of function 'xmlGetProp'
uwsgi.c:2261: error: expected ')' before 'xmlChar'
uwsgi.c:2261: warning: type defaults to 'int' in declaration of 'type
name'
uwsgi.c:2292: warning: implicit declaration of function 'xmlFreeDoc'
uwsgi.c:2293: warning: implicit declaration of function
'xmlCleanupParser'
make: *** [main.o] Error 1

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to