On Thu, Jul 16, 2020 at 11:48:05PM +0200, Alexey Orishko wrote:
> On Thu, Jul 16, 2020 at 10:24 PM Ken Moffat <[email protected]> wrote:
> >
> > On Thu, Jul 16, 2020 at 07:35:47PM +0200, Alexey Orishko wrote:
> > > Hi guys,
> > >
> > > I have a problem building meson (chapter 6.53) in LFS 9.1. I've tried the
> > > original meson version and the one from the LFS dev branch (v.0.55.0). I
> > > got the following error in v.0.55.0:
> > >
[...]
> > > import ctypes
> > > File "/usr/lib/python3.8/ctypes/__init__.py", line 7, in <module>
> > > from _ctypes import Union, Structure, Array
> > > ModuleNotFoundError: No module named '_ctypes'
> > >
[...]
> >
> > For libffi, you should have
> >
> > /usr/include/ffi.h
> > /usr/include/ffitarget.h
> > /usr/lib/libffi.so
> > /usr/lib/libffi.so.7
> > /usr/lib/libffi.so.7.1.0
> > /usr/lib/pkgconfig/libffi.pc
> >
> > If any of those are missing then the libffi install is not good.
>
> Yep, files were missing. Thanks for pointing out the place to check.
> After fixing build script both libffi and meson are built ok.
>
Glad that explained it. I'm keeping the cut-down parts above in the
hope they will help google when someone next hits a similar problem
;-)
And yes, maintaining our own individual buildscripts is fun. Once
they work, logging what got installed is often useful when the next
build breaks. Unfortunately I don't have a simple answer for the
logging - my own scripts use some very tedious processes (also,
expensive in terms of disk space by the time I get to the end of a
full desktop build) to mostly get it right (with a few duff entries,
at least once booted, for other things which changed while a package
was being built.
ĸen
--
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
- Hogfather
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style