SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a problem while compiling lxml.
Where's the problem here ?
Code:
src/lxml/lxml.etree.c:34067:16: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
__pyx_t_2 = (IS_PYTHON2 != 0);
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c:34067:16: note: each undeclared identifier is reported only once for each function it appears in
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_strrepr’:
src/lxml/lxml.etree.c:34389:8: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
if ((IS_PYTHON2 != 0)) {
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_28dump’:
src/lxml/lxml.etree.c:87358:8: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
if ((IS_PYTHON2 != 0)) {
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_20_TargetParserContext__handleParseResult’:
src/lxml/lxml.etree.c:145672:20: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
__pyx_t_4 = (IS_PYTHON2 != 0);
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_20_TargetParserContext__handleParseResultDoc’:
src/lxml/lxml.etree.c:146102:20: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
__pyx_t_1 = (IS_PYTHON2 != 0);
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_9iterparse___init__’:
src/lxml/lxml.etree.c:163775:18: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
__pyx_t_2 = (IS_PYTHON2 != 0);
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_15_XSLTResultTree_2__str__’:
src/lxml/lxml.etree.c:201565:19: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
__pyx_t_1 = ((!(IS_PYTHON2 != 0)) != 0);
^~~~~~~~~~
IS_PYTHON3
Compile failed: command 'gcc' failed with exit status 1
creating tmp
cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInityRNt8F.c -o tmp/xmlXPathInityRNt8F.o
/tmp/xmlXPathInityRNt8F.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
main (int argc, char **argv) {
^~~~
cc tmp/xmlXPathInityRNt8F.o -L/usr/lib -lxml2 -o a.out
error: command 'gcc' failed with exit status 1
I have a problem while compiling lxml.
Where's the problem here ?
Code:
src/lxml/lxml.etree.c:34067:16: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
__pyx_t_2 = (IS_PYTHON2 != 0);
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c:34067:16: note: each undeclared identifier is reported only once for each function it appears in
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_strrepr’:
src/lxml/lxml.etree.c:34389:8: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
if ((IS_PYTHON2 != 0)) {
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_28dump’:
src/lxml/lxml.etree.c:87358:8: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
if ((IS_PYTHON2 != 0)) {
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_20_TargetParserContext__handleParseResult’:
src/lxml/lxml.etree.c:145672:20: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
__pyx_t_4 = (IS_PYTHON2 != 0);
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c: In function ‘__pyx_f_4lxml_5etree_20_TargetParserContext__handleParseResultDoc’:
src/lxml/lxml.etree.c:146102:20: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
__pyx_t_1 = (IS_PYTHON2 != 0);
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_9iterparse___init__’:
src/lxml/lxml.etree.c:163775:18: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
__pyx_t_2 = (IS_PYTHON2 != 0);
^~~~~~~~~~
IS_PYTHON3
src/lxml/lxml.etree.c: In function ‘__pyx_pf_4lxml_5etree_15_XSLTResultTree_2__str__’:
src/lxml/lxml.etree.c:201565:19: error: ‘IS_PYTHON2’ undeclared (first use in this function); did you mean ‘IS_PYTHON3’?
__pyx_t_1 = ((!(IS_PYTHON2 != 0)) != 0);
^~~~~~~~~~
IS_PYTHON3
Compile failed: command 'gcc' failed with exit status 1
creating tmp
cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInityRNt8F.c -o tmp/xmlXPathInityRNt8F.o
/tmp/xmlXPathInityRNt8F.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
main (int argc, char **argv) {
^~~~
cc tmp/xmlXPathInityRNt8F.o -L/usr/lib -lxml2 -o a.out
error: command 'gcc' failed with exit status 1
have you rebuilt all of the dependencies not included in Slackware?
could it be you got also some optional dependencies to rebuild, like Sphinx or whatever else?
I'm saying this because I built lxml from scratch on 32 and 64 bit and it built fine.
could it be you got also some optional dependencies to rebuild, like Sphinx or whatever else?
I'm saying this because I built lxml from scratch on 32 and 64 bit and it built fine.
I just followed deps described on slackbuilds.org.
I didn't touch Sphinx, which alone has a lot of dependences :-(
Can't locate MyInstall.pm in @INC (you may need to install the MyInstall module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5).
BEGIN failed--compilation aborted.
make: *** [Makefile:1401: pure_vendor_install] Error 2
make: *** Se espera a que terminen otras tareas....
sh perl-libintl.SlackBuild Error
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.