On Sun, 19 Jan 2020 at 14:18, DJ Lucas via lfs-dev
<[email protected]> wrote:
>
> On 1/18/2020 9:21 PM, Kevin Buckley via lfs-dev wrote:
>
> > On the back of trying to build Xen 4.12.2 on an LFS system, I've hit
> > an issue whereby the Xen M4 python_devel module fails but, even when I
> > fix that, Python3 seems to report the "wrong" info.
> <snip>
> > ac_python_version=`$PYTHON -c 'import distutils.sysconfig; \
> > print(distutils.sysconfig.get_config_var("VERSION"))'`
>
> This is Python2 syntax. The short answer is to use Python2.
>
> The longer answer is that you probably have a ton of work to do.
>
> ...
>
> Nothing is "wrong" here. You do have /usr/lib/libpython3.so. See
> https://legacy.python.org/dev/peps/pep-3149/for rationale, and more
> importantly, how to fix it in distutils. That said, as I mentioned
> before, while I haven't looked at the Xen source (so I don't know for
> certain), you've probably got a whole heck of a lot more work to do to
> make it play nicely with Python3.
>
> --DJ

Just to say that I have got a newer Xen working, albeit based on
4.13.0, which contains a lot more python3-aware (actually, make
that python3-compatible) code.

I have thus updated my experimental book

http://youvegotbuckleys.org.nz/LFS/LFS-BOOK.html

so that it is a rendering based on  9.0 + Multilib sources.

FWIW, I have a couple of Xen DomU instances that I created
ages ago but stil access from both Ubutnu and CentOS systens,
and now, once again, I can fire them up using a very small LFS
system, and that's the main driver for all of this.

Filesystem      Size  Used Avail Use% Mounted on
/dev/root       9.8G  6.9G  2.4G  75% /
-bash-5.0# du -sh /sources/
1.2G    /sources/
-bash-5.0# du -sh /tools/
2.1G    /tools/
-bash-5.0# du -sh /usr/src
1.6G    /usr/src

so if you take away the heirachies used to build the system, you
are down around 3GB.

I wanted to get around to deploying some basic X Window System
capability into my LFS system but, in the way that these things
usually go, just as I get a LFS 9.0 system working, it'll probably
be time for 9.1 to come out!

As ever, thanks to all the developers for LFS, and Thomas for the
Multilib work,
Kevin
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to