LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-09-2021, 01:13 AM   #4351
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,975

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552

Quote:
Originally Posted by CaceK View Post
hi, it must be something on my end then. Sorry for taking your time. I'll try to figure out what went wrong.
On libtorrent-rasterbar, you might want to try using cmake. I switched to a cmake build last year with no ussues. I upgraded to 1.2.14 yesterday.
 
Old 10-09-2021, 11:58 PM   #4352
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
If some one go to update libtorrent-rasterbar.slackbuild

To force the usage of python3 ...i build with version 1.2.14 (i think lower only support python2)

Quote:
mkdir -p build

cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib$LIBDIRSUFFIX" \
-Dpython-bindings=ON \
-Dboost-python-module-name="python3" \
-Dpython-egg-info=ON \
-GNinja ..
ninja


DESTDIR=$PKG ninja install

Last edited by USUARIONUEVO; 10-10-2021 at 12:01 AM.
 
Old 10-10-2021, 12:00 AM   #4353
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi after last python3 update , i found this slackbuilds not working ...

pytz
numpy3

and not sure with this last one , cause he needs exactly the frist 2 to buils ...

python3-matplotlib (requires pytz and numpy3) , interesting to test when numpy3 builds again.

Thanks!
 
Old 10-10-2021, 02:01 AM   #4354
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi again for pytz

2021.3 builds fine with python 3.10

we need change in docs

README.txt --> README.rst
 
Old 10-10-2021, 02:06 AM   #4355
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

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

I'm sorry but I don't know when I will have the time needed to fix all of the python messes so consider them broken for the time being.
 
Old 10-10-2021, 02:11 AM   #4356
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi , for numpy3

version numpy-1.21.2 builds fine

we need remove on doc section PKG-INFO , that file no exist in this release.
 
Old 10-10-2021, 02:12 AM   #4357
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

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

I'm sorry but I don't know when I will have the time needed to fix all of the python messes so consider them broken for the time being.
Im reporting solutions ... apparently upgrade versions , fix issues.

we need update version for pytz and numpy ... after this python3-matplotlib no need nothing , builds fine.


I build large number of python3 modules ,, all builds fine ,except this two mentiones , pytz and numpy3 , upgrade versions , and all works again.



EDIT: willy update pytz ...probably now working on numpy3 , thanks all for this thread , is great when all work in same direction to make easy for other users.

https://git.slackbuilds.org/slackbui...mit/?h=willysr

Last edited by USUARIONUEVO; 10-10-2021 at 02:22 AM.
 
Old 10-10-2021, 02:35 AM   #4358
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,662

Rep: Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785
Quote:
Originally Posted by USUARIONUEVO View Post
If some one go to update libtorrent-rasterbar.slackbuild

To force the usage of python3 ...i build with version 1.2.14 (i think lower only support python2)
I will leave this to the maintainer since it still builds fine with latest update
 
1 members found this post helpful.
Old 10-10-2021, 04:28 AM   #4359
CaceK
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware
Posts: 20

Rep: Reputation: 8
Quote:
Originally Posted by chrisretusn View Post
On libtorrent-rasterbar, you might want to try using cmake. I switched to a cmake build last year with no ussues. I upgraded to 1.2.14 yesterday.
I fixed it by downloading slackware update and manually reinstalling packages in l and d directories.
Not sure what happened with slackpkg but using "slackpkg reinstall d l" did not fix it. I ran "slackpkg install-new" so it was not it either.
 
Old 10-10-2021, 05:47 AM   #4360
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi , after numpy3 update , python3-matplotlib builds , but not work properly.

when some app try import python3-matplotlib

Quote:
import matplotlib.pyplot as plt
File "/usr/lib64/python3.10/site-packages/matplotlib/__init__.py", line 107, in <module>
from collections import MutableMapping
ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib64/python3.10/collections/__init__.py)
I rebuild 2 times to ensure , ever same error

we need upgrade --> matplotlib-3.4.3 --> all fine

Thanks!

EDIT: In order to build the new version , need comment this line

Quote:
cat "${CWD}/setupext.py" > setupext.py

Last edited by USUARIONUEVO; 10-10-2021 at 06:01 AM.
 
Old 10-10-2021, 07:38 AM   #4361
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,975

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
Like I've said before I don't use SBo for my builds. That said, regarding enblend-enfuse. If any one is interested. I am able to build it using cmake. Unfortunately the 4.2 version does not build with cmake (CMake Errors). The latest commit from the mercurial that can be built with exiv2 is acca56. Attempting to build a later commit results in "Found exiv2 library, but this library is not recent enough to compile". Kind of crazy to require a version of exiv2 that has not been release yet. Building the latest version "default" (commit b23637) results in the errors pointed out by metageek.

This is what I am using for the build. The NAMDIR variable is needed to get the manpages in the right place for Slackware The ENABLE_METADATA_TRANSFER variable is needed to build with exiv2.
Code:
export MANDIR=/usr/man
mkdir -p build
cd build
  cmake .. \
    -DCMAKE_C_FLAGS_RELEASE="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS" \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILD_SHARED_LIBS=on \
    -DCMAKE_BUILD_TYPE=Release \
    -DENABLE_OPENMP=on \
    -DENABLE_METADATA_TRANSFER=on \
    -Wno-dev \

  make $NUMJOBS
  make install DESTDIR=$PKGDIR
cd -
Interesting to note that my last 4.2 build did not have exiv2 support. I don't believe the SBo builds with it either based on that I was using the same build parameters as the SBo build with the exception of an added --enable-openmp option.
Code:
./enblend --show-software-components
Compiler
  g++ 10.3.0
  implementing OpenMP standard of 2015-11

Libraries
  GSL:        2.6
  Little CMS: 2.12.0
  Vigra:      1.11.1
My current build 20191021_acca56-1 does include exiv2.
Code:
enblend --show-software-components
Compiler
  g++ 11.2.0
  implementing OpenMP standard of 2015-11

Libraries
  Exif2:      0.27.4
  GSL:        2.7
  Little CMS: 2.12.0
  Vigra:      1.11.1

Last edited by chrisretusn; 10-10-2021 at 07:45 AM.
 
1 members found this post helpful.
Old 10-10-2021, 06:31 PM   #4362
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi again.


lxml ,not build part of python3 ,

we need jump to --> lxml-4.6.3

Not problems to build , and mantains boot python2 and python3 support , but i think , the correct way , is start split this style of slackbuilds , because mantainer of python modules can stop supporting python2 , and then we are ready to go in to separate slackbuilds.

I know , this is a BIG , VERY BIG work to do , but start now , whit the broken detected is more easy.

Thanks for all the support.
 
1 members found this post helpful.
Old 10-10-2021, 08:32 PM   #4363
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by USUARIONUEVO View Post
Hi again.


lxml ,not build part of python3 ,

we need jump to --> lxml-4.6.3

Not problems to build , and mantains boot python2 and python3 support , but i think , the correct way , is start split this style of slackbuilds , because mantainer of python modules can stop supporting python2 , and then we are ready to go in to separate slackbuilds.

I know , this is a BIG , VERY BIG work to do , but start now , whit the broken detected is more easy.

Thanks for all the support.
Thanks, ran just into this same problem on my way to recompiling inkscape. And I agree. I do not really understand why for current, when python3 is/should be the standard (some) scripts still need to cater for python2 at all. Why do we need to build these python bits twice when one will be needed/used? For people that still need python2, separate build-scripts could be put in place; they possibly need outdated versions of these modules/programs to get these compiled. For most python3 stuff we need latest versions due to the upgrade of python3 itself...

And to reiterate: Thanks for all the support

Last edited by brobr; 10-10-2021 at 08:34 PM.
 
1 members found this post helpful.
Old 10-10-2021, 08:57 PM   #4364
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Thanks willysr subbmit a commit for lxml

https://git.slackbuilds.org/slackbui...c5030b39138e2b
 
Old 10-10-2021, 09:41 PM   #4365
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Catfish needs version 4.16.3 to work with python3.10
http://https://github.com/xfce-mirro...catfish-4.16.3
 
1 members found this post helpful.
  


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 03:13 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