LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-07-2017, 10:58 PM   #781
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930

One more

perl-libintl --> 1.23 no builds 1.28 builds fine

slackbuild need remove in the doc section , this file

Quote:
COPYING.LESSER
 
Old 10-08-2017, 12:37 AM   #782
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
hi USUARIONUEVO,

have you read this post above yours?

https://www.linuxquestions.org/quest...ml#post5766976
 
Old 10-08-2017, 01:23 PM   #783
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Quote:
Originally Posted by ponce View Post
hi USUARIONUEVO,

have you read this post above yours?

https://www.linuxquestions.org/quest...ml#post5766976
I miss that post , 99% of errors are arround INC , then PERL_USE_UNSAFE_INC = 1 make the trick.

Thanks !
 
Old 10-09-2017, 06:33 PM   #784
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Quote:
Originally Posted by USUARIONUEVO View Post
perl-List-MoreUtils

In this case , newest version want other module not available at SBo
I have submitted perl-XSLoader and perl-List-MoreUtils-XS which is needed by perl-List-MoreUtils
 
Old 10-09-2017, 07:25 PM   #785
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
@willysr

Thanks ! , i follow git , and see heavy work arround perl modules , thanks all!
 
Old 10-10-2017, 08:11 AM   #786
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
Post Lxml

Hello,

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
 
Old 10-10-2017, 08:25 AM   #787
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by brodo View Post
Hello,

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?
 
Old 10-10-2017, 08:31 AM   #788
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
Quote:
Originally Posted by ponce View Post
have you rebuilt all of the dependencies not included in Slackware?
Yes, today I built properly BeautifulSoup4, html5lib, six and python-webencodings.
 
Old 10-10-2017, 08:41 AM   #789
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
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.
 
Old 10-10-2017, 08:46 AM   #790
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
Quote:
Originally Posted by ponce View Post
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 :-(
 
Old 10-10-2017, 09:06 AM   #791
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
I will try to compile basic deps for lxml on the other machine, maybe that would help ?
 
Old 10-10-2017, 12:10 PM   #792
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
Well, lxml went fine on my 2-nd machine !

Last edited by brodo; 10-10-2017 at 12:42 PM.
 
Old 10-11-2017, 12:13 AM   #793
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi , perl-libintl , not build on current.

Quote:
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
upgrading 1.23 to 1.28 and build fine.
 
Old 10-11-2017, 12:20 AM   #794
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
FYI, 1.23 builds fine here if I
Code:
export PERL_USE_UNSAFE_INC=1
because MyInstall.pm is in the sources' root.

Last edited by ponce; 10-11-2017 at 12:21 AM.
 
Old 10-11-2017, 12:23 AM   #795
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Quote:
Originally Posted by ponce View Post
FYI, 1.23 builds fine here if I
Code:
export PERL_USE_UNSAFE_INC=1
because MyInstall.pm is in the sources' root.
true , i test

need same export

Quote:
perl-Task-Weaken
Quote:
perl-Test-Script
Thanks!

Last edited by USUARIONUEVO; 10-11-2017 at 01:04 AM.
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration