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 03-30-2024, 10:43 AM   #4066
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Rep: Reputation: 34

Quote:
Originally Posted by USUARIONUEVO View Post
This do the trick , tested with wheel builds . and now all go --> /usr/lib64

The line to change appears two times .i change the two ..and all fine.

Probably a patch ...or sed command when builds on x64.
Great. Probably better to change 'lib' keyword to '{platlibdir}' (I tested on x64 and it works).

Useful command for future related issues:
Code:
python3 -m sysconfig
The first section 'Paths' tells us all the relevant information.
 
Old 03-30-2024, 10:56 AM   #4067
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 457

Rep: Reputation: 236Reputation: 236Reputation: 236
Quote:
diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index ebe3711..93c6f73 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -27,7 +27,7 @@
'posix_prefix': {
'stdlib': '{installed_base}/{platlibdir}/python{py_version_short}',
'platstdlib': '{platbase}/{platlibdir}/python{py_version_short}',
- 'purelib': '{base}/lib/python{py_version_short}/site-packages',
+ 'purelib': '{base}/{platlibdir}/python{py_version_short}/site-packages',
'platlib': '{platbase}/{platlibdir}/python{py_version_short}/site-packages',
'include':
'{installed_base}/include/python{py_version_short}{abiflags}',
@@ -39,8 +39,8 @@
'posix_home': {
'stdlib': '{installed_base}/lib/python',
'platstdlib': '{base}/lib/python',
- 'purelib': '{base}/lib/python',
- 'platlib': '{base}/lib/python',
+ 'purelib': '{base}/{platlibdir}/python',
+ 'platlib': '{base}/{platlibdir}/python',
'include': '{installed_base}/include/python',
'platinclude': '{installed_base}/include/python',
'scripts': '{base}/bin',
Are you talking more like this

Last edited by reddog83; 03-30-2024 at 11:02 AM.
 
1 members found this post helpful.
Old 03-30-2024, 11:05 AM   #4068
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Rep: Reputation: 34
@reddog83, that's the idea. However, I haven't changed the paths in any other section in this file except 'posix_prefix'.
 
1 members found this post helpful.
Old 03-30-2024, 11:09 AM   #4069
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 457

Rep: Reputation: 236Reputation: 236Reputation: 236
It still works this way as well, there's the patch if anybody wants it you my friend are a life saver.
 
Old 03-30-2024, 12:13 PM   #4070
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 457

Rep: Reputation: 236Reputation: 236Reputation: 236
brltty 6.6

Quote:
/usr/local/lib64/lua/5.4/brlapi.so

shouldn't it be

/usr/lib64/lua/5.4/brlapi.so
Quote:
diff --git a/brltty.SlackBuild b/brltty.SlackBuild
index 74ea05d..3f1218c 100644
--- a/brltty.SlackBuild
+++ b/brltty.SlackBuild
@@ -95,6 +95,10 @@ make install INSTALL_ROOT=$PKG || exit 1
make install TCL_DIR=/usr/lib${LIBDIRSUFFIX} INSTALL_ROOT=$PKG || exit 1
chmod 755 $PKG/bin/* $PKG/lib${LIBDIRSUFFIX}/brltty/*

+# Move brlapi.so to the correct location in $PKG/usr/lib64/lua
+mv $PKG/usr/local/lib64/lua $PKG/usr/lib64/
+rm -fr $PKG/usr/local
+
# Add polkit configs:
( cd Authorization/Polkit
make install INSTALL_ROOT=$PKG

Last edited by reddog83; 03-30-2024 at 12:19 PM.
 
1 members found this post helpful.
Old 03-30-2024, 01:47 PM   #4071
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 611

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Code:
pip3 list --outdated
Quote:
DEPRECATION: Loading egg at /usr/lib64/python3.11/site-packages/pwquality-1.4.5-py3.11-linux-x86_64.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
DEPRECATION: Loading egg at /usr/lib64/python3.11/site-packages/gpg-1.23.2-py3.11-linux-x86_64.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330
Package Version Latest Type
--------- ------- ------ -----
mercurial 6.7.1 6.7.2 sdist -> fixed Sat Mar 30 18:08:12 UTC 2024

Last edited by teoberi; 03-30-2024 at 01:54 PM.
 
Old 03-30-2024, 03:15 PM   #4072
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,227

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
kopeninghours, need rebuild with the latest boost package ,because the python binding disappeared from the last package.
 
1 members found this post helpful.
Old 03-31-2024, 01:58 AM   #4073
truepatriot76
Member
 
Registered: Apr 2014
Location: California, USA
Distribution: slackware64-current
Posts: 232

Rep: Reputation: 195Reputation: 195
hplip: hp-setup fails after finding a printer

Code:
Found device: hp:/net/HP_LaserJet_MFP_M426fdw?ip=x.x.x.x
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc1 in position 2: invalid start byte

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/setupdialog.py", line 1395, in NextButton_clicked
    self.showAddPrinterPage()
  File "/usr/share/hplip/ui5/setupdialog.py", line 709, in showAddPrinterPage
    self.findPrinterPPD()
  File "/usr/share/hplip/ui5/setupdialog.py", line 786, in findPrinterPPD
    self.ppds = cups.getSystemPPDs()
                ^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/hplip/prnt/cups.py", line 339, in getSystemPPDs
    ppd_dict = cupsext.getPPDList()
               ^^^^^^^^^^^^^^^^^^^^
SystemError: <built-in function getPPDList> returned a result with an exception set
Aborted
 
1 members found this post helpful.
Old 03-31-2024, 07:40 AM   #4074
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 196

Rep: Reputation: Disabled
If we have avahi how about to add ipp-usb (IPP over USB printer support) and sane-airscan (SANE backend for AirScan (eSCL) and WSD document scanners) packages to Slackware-current?
 
Old 03-31-2024, 08:30 AM   #4075
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,215

Rep: Reputation: 298Reputation: 298Reputation: 298
pango-1.52.2
https://download.gnome.org/sources/p...-1.52.2.tar.xz
 
Old 03-31-2024, 09:00 AM   #4076
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,126

Rep: Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297
Quote:
Originally Posted by Lockywolf View Post
Can we have python under l/, not d/? .....
There is so much of the stuff why not put it all in its own directory/folder? For example /p or /python.
Just a thought.
 
Old 03-31-2024, 09:40 AM   #4077
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109
Quote:
Originally Posted by cwizardone View Post
There is so much of the stuff why not put it all in its own directory/folder? For example /p or /python.
Just a thought.
Who cares? Since we should all have to do a full installation
There are no more 3"1/2 Slackware floppy disks, so I suggest putting everything in a full/ directory.
(sorry for those with a hard drive smaller than 30 GB...)

Last edited by marav; 03-31-2024 at 09:42 AM.
 
3 members found this post helpful.
Old 03-31-2024, 09:55 AM   #4078
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0
Posts: 527

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
Originally Posted by marav View Post
Who cares? Since we should all have to do a full installation
There are no more 3"1/2 Slackware floppy disks, so I suggest putting everything in a full/ directory.
(sorry for those with a hard drive smaller than 30 GB...)
I can imaging that Patrick is getting sick-n-tired of requests to "move this here or move that there"
and he might be getting close to following through with what he mentioned way back here.

https://www.linuxquestions.org/quest...ml#post6475758

https://www.linuxquestions.org/quest...ml#post5766773

IMO, the only 2 that really make sense are 'kde' & 'xfce'

For my own systems, all of 'xfce' is installed but only 5 programs
along with their required libs from 'kde'.
(ark, k3b, kate, kfind, ktorrent)

I did a test-install with all of 'kde' installed as-well and it took only an additional 3GB of disk space.
By today's standards... that ain't much at-all.

(Heck, I have individual MP4 video files that are 21GB)

Last edited by glennmcc; 03-31-2024 at 10:08 AM.
 
Old 04-01-2024, 06:18 AM   #4079
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,215

Rep: Reputation: 298Reputation: 298Reputation: 298
One big repo of pacakges is the best option, and then you can always use TAGFILES to classify things. A minimum install system would be minsys.tagfile , then a xfce.tagfile , kde.tagfile etc.... something like "virtual directories" if you preffer it called that way
 
Old 04-01-2024, 09:40 AM   #4080
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,215

Rep: Reputation: 298Reputation: 298Reputation: 298
gobject-introspection-1.80.1
https://download.gnome.org/sources/g...-1.80.1.tar.xz
 
  


Reply



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
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

All times are GMT -5. The time now is 07:44 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