On Fri, Jan 31, 2020 at 07:51:36PM -0500, Scott Andrews via blfs-support wrote:
>
> > The rebuild of python3 (and for some of us, rebuilding python2 after
> > adding extra possible dependencies) is so that something else can
> > use the added python modules.
> >
> > ĸen
>
> sqlite builds the required/extra python modules. Other packages can use
> them as long as I have sqlite installed. Again with no need to rebuild
> pythion.
>
On my most recent build (end of last year), sqlite did NOT install
any python modules. For python3, rebuilding added
/usr/lib/python3.8/lib-dynload/_sqlite3.cpython-38-x86_64-linux-gnu.so
/usr/lib/python3.8/lib-dynload/_uuid.cpython-38-x86_64-linux-gnu.so
Those did not get installed by sqlite, unless you build sqlite
differently from how BLFS builds it.
> I am still failing to understand why python needs rebuilt, The
> modules are built during the sqlite/or other package that has
> python modules. build. I have never had to rebuild it in all the
> years I have been do this using the RPi platform to create network
> servers. It has never failed with me never rebuilding python3 or
> 2. I simply install sqlite which has the new modules and then
> build the package. It works
>
For typical server packages, python doesn't need to be rebuilt. But
sqlite does not install anything in the pythons' lib-dynload or
site-packages.
ĸen
--
War is Peace
Freedom is Slavery
Ignorance is Strength
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page