On 23/01/2020 16:13, Douglas R. Reno via blfs-support wrote:
On 1/23/20 8:16 AM, Vaughan Butler via blfs-support wrote:
On 22/01/2020 22:37, Ken Moffat via blfs-support wrote:
On Wed, Jan 22, 2020 at 08:21:32PM +0000, Ken Moffat via blfs-support wrote:
On Wed, Jan 22, 2020 at 07:40:12PM +0000, Vaughan Butler via blfs-support wrote:
I'm trying to build LLVM-9.0.1 with the optional Clang package, which
appears to be required for Firefox to build.
This goes OK until invoking ninja, which immediately stops the build, with
the message
ninja: error: '../cmake/modules/Generate VersionFromVCS.cmake', needed by
'tools/clang/lib/Basic/VCSVersion.inc', missing and no known rule to make it
Update on this part: the file name does not have a space after
Generate, and it is extracted to
cmake/modules/GenerateVersionFromVCS.cmake within llvm. Did you
have a problem untarring llvm ?
In fact the error message did not have a space, must have happened during
copy/paste.
Don't think there was a problem untarring. Wondering how to read that error
message:
GenerateVersionFromVCS.cmake is present and in the correct location
VCSVersion.inc is not in the location in the error message, and nowhere else
I can only assume GenerateVersionFromVCS.cmake is needed to build VCSVersion.inc
I have seen some similar issues with cmake on the web, which seem to suggest
that
cmake can struggle with PATH issues in certain circumstances, but resolving
such an
issue is beyond me.
Hi Vaughn,
This is a long shot, but can you try rebuilding CMake? If you're using
LFS 9.0, can you try updating your version of CMake to the latest if
this doesn't work? Here's the instructions for the latest CMake (you
shouldn't have to update any other dependencies, also I know this is
the systemd version but the page is exactly the same in the SysV
version as well):
http://linuxfromscratch.org/blfs/view/systemd/general/cmake.html
Otherwise can you verify the md5sums of the LLVM-9 tarballs please?
Hi Douglas
Thanks for the suggestion, but it didn't come to that in the end. I
tried building LLVM 9 rather than LLVM 8, which was included in the
stable version of BLFS. I have a suspicion I'd inadvertently installed
one or more packages from BLFS Version 2020-01-2, possibly raising
compatibility/dependency issues. This happened due to working on BLFS
over a longish period of time, and going back to the web based book, not
realising some of the packages had been updated. Anyway Firefox is
installed and working. I guess I need to ensure I stick to one version
of LFS/BLFS in future!!
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page