Solaar slackbuilds package installs libraries in /lib/
But other Python packages install in /usr/lib64. I had to move Solaar's to get it to run.
|
Where is set in the initial Slackbuild for libs? Does it pass --with-libdir=/usr/lib64?
|
Quote:
|
You could change the Slackbuild as :
Add under OUTPUT=${OUTPUT:-/tmp} line : if [ "$ARCH" = "i586" ]; then LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" else LIBDIRSUFFIX="" fi Replace : python3 setup.py install With : PYVER=$(python3 --version | cut -d' ' -f2|cut -d'.' -f1-2) python3 setup.py install --root=$PKG --install-platlib=/usr/lib$LIBDIRSUFFIX/python${PYVER}/site-packages |
RandomTroll, are you running slackware64-current then? This is a bug that should be reported upstream(already has https://github.com/pwr-Solaar/Solaar/issues/2454). It is normal with the upgrade to python 3.11 that they can be installed to /usr/lib or /usr/lib64, setuptools will decide.
If I was to guess, Solaar is not honoring the python search path for some reason. This is indeed a problem with Solaar. Everything else I've tested so far has no problems with this. -this is wrong, see next post Code:
# python3 -c "import sys; print('\n'.join(sys.path))" |
BrunoLafleur's fix doesn't work either and neither of us looked far enough down in the slackbuild. The confusing part was that this wasn't an issue on 15.0, but due to to difference I mentioned in the previous post about the upgrade to 3.11.
This is the fix that's needed to the SlackBuild and will work with 15.0 as well. I've contacted the maintainer. Code:
diff --git a/system/Solaar/Solaar.SlackBuild b/system/Solaar/Solaar.SlackBuild |
Quote:
Quote:
|
I figured it might be.
Fix will be included in this weeks updates. https://git.slackbuilds.org/slackbui...b971abe9958214 |
All times are GMT -5. The time now is 03:28 PM. |