View difference between Paste ID: EA5c1t1E and nJA1MNhK
SHOW: | | - or go back to the newest paste.
1
mayank@mayank-Inspiron-N5110:~/soc$ venv/bin/pip install -U lxml setuptools
2
Downloading/unpacking lxml
3
  Downloading lxml-3.3.0.tar.gz (3.4MB): 3.4MB downloaded
4
  Running setup.py egg_info for package lxml
5
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
6
      warnings.warn(msg)
7
    Building lxml version 3.3.0.
8
    Building without Cython.
9
    Using build configuration of libxslt 1.1.28
10
    
11
    warning: no previously-included files found matching '*.py'
12
Downloading/unpacking setuptools from https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz#md5=04a7664538957b832710653fd7d5b4e6
13
  Downloading setuptools-2.2.tar.gz (786kB): 786kB downloaded
14
  Running setup.py egg_info for package setuptools
15
    
16
Installing collected packages: lxml, setuptools
17
  Running setup.py install for lxml
18
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'bugtrack_url'
19
      warnings.warn(msg)
20
    Building lxml version 3.3.0.
21
    Building without Cython.
22
    Using build configuration of libxslt 1.1.28
23
    building 'lxml.etree' extension
24
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/home/mayank/soc/venv/build/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
25-
    src/lxml/lxml.etree.c:8:22: fatal error: pyconfig.h: No such file or directory
25+
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.linux-x86_64-2.7/lxml/etree.so
26-
     #include "pyconfig.h"
26+
    /usr/bin/ld: cannot find -lz
27-
                          ^
27+
    collect2: error: ld returned 1 exit status
28-
    compilation terminated.
28+
29
    Complete output from command /home/mayank/soc/venv/bin/python -c "import setuptools;__file__='/home/mayank/soc/venv/build/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-jGe6Gg-record/install-record.txt --single-version-externally-managed --install-headers /home/mayank/soc/venv/include/site/python2.7:
30-
    Complete output from command /home/mayank/soc/venv/bin/python -c "import setuptools;__file__='/home/mayank/soc/venv/build/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-kbg_jD-record/install-record.txt --single-version-externally-managed --install-headers /home/mayank/soc/venv/include/site/python2.7:
30+
31
32
  warnings.warn(msg)
33
34
Building lxml version 3.3.0.
35
36
Building without Cython.
37
38
Using build configuration of libxslt 1.1.28
39
40
running install
41
42
running build
43
44
running build_py
45
46
creating build
47
48
creating build/lib.linux-x86_64-2.7
49
50
creating build/lib.linux-x86_64-2.7/lxml
51
52
copying src/lxml/__init__.py -> build/lib.linux-x86_64-2.7/lxml
53
54
copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-2.7/lxml
55
56
copying src/lxml/cssselect.py -> build/lib.linux-x86_64-2.7/lxml
57
58
copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-2.7/lxml
59
60
copying src/lxml/sax.py -> build/lib.linux-x86_64-2.7/lxml
61
62
copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-2.7/lxml
63
64
copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-2.7/lxml
65
66
copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml
67
68
copying src/lxml/builder.py -> build/lib.linux-x86_64-2.7/lxml
69
70
creating build/lib.linux-x86_64-2.7/lxml/includes
71
72
copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-2.7/lxml/includes
73
74
creating build/lib.linux-x86_64-2.7/lxml/html
75
76
copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-2.7/lxml/html
77
78
copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-2.7/lxml/html
79
80
copying src/lxml/html/defs.py -> build/lib.linux-x86_64-2.7/lxml/html
81
82
copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-2.7/lxml/html
83
84
copying src/lxml/html/clean.py -> build/lib.linux-x86_64-2.7/lxml/html
85
86
copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-2.7/lxml/html
87
88
copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-2.7/lxml/html
89
90
copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-2.7/lxml/html
91
92
copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-2.7/lxml/html
93
94
copying src/lxml/html/diff.py -> build/lib.linux-x86_64-2.7/lxml/html
95
96
copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-2.7/lxml/html
97
98
copying src/lxml/html/builder.py -> build/lib.linux-x86_64-2.7/lxml/html
99
100
copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-2.7/lxml/html
101
102
creating build/lib.linux-x86_64-2.7/lxml/isoschematron
103
104
copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-2.7/lxml/isoschematron
105
106
copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-2.7/lxml
107
108
copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-2.7/lxml
109
110
copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
111
112
copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
113
114
copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
115
116
copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
117
118
copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
119
120
copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
121
122
copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
123
124
copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
125
126
copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
127
128
copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
129
130
copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
131
132
copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
133
134
copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
135
136
copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
137
138
copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-2.7/lxml/includes
139
140
copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-2.7/lxml/includes
141
142
copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-2.7/lxml/includes
143
144
creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources
145
146
creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng
147
148
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/rng
149
150
creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
151
152
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
153
154
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl
155
156
creating build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
157
158
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
159
160
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
161
162
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
163
164
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
165
166
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
167
168
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
169
170
running build_ext
171
172
building 'lxml.etree' extension
173
174
creating build/temp.linux-x86_64-2.7
175
176
creating build/temp.linux-x86_64-2.7/src
177
178
creating build/temp.linux-x86_64-2.7/src/lxml
179
180
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/home/mayank/soc/venv/build/lxml/src/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
181
182
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2 -lz -lm -o build/lib.linux-x86_64-2.7/lxml/etree.so
183-
src/lxml/lxml.etree.c:8:22: fatal error: pyconfig.h: No such file or directory
183+
184
/usr/bin/ld: cannot find -lz
185-
 #include "pyconfig.h"
185+
186
collect2: error: ld returned 1 exit status
187-
                      ^
187+
188
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
189-
compilation terminated.
189+
190
----------------------------------------
191
Cleaning up...
192
Command /home/mayank/soc/venv/bin/python -c "import setuptools;__file__='/home/mayank/soc/venv/build/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-jGe6Gg-record/install-record.txt --single-version-externally-managed --install-headers /home/mayank/soc/venv/include/site/python2.7 failed with error code 1 in /home/mayank/soc/venv/build/lxml
193
Storing complete log in /home/mayank/.pip/pip.log