On Tue, Nov 26, 2019 at 04:36:45PM -0500, Jared Stevens via blfs-support wrote:
> Hey guys,
> 
> I wanted to run an issue I am having by you all since I haven't been able
> to find anything online about it.
> 
> I should start by saying that I am attempting to build a multilib (64-bit +
> 32-bit libraries) LFS system using the steps found here:
> 
> *https://www.linuxquestions.org/questions/linux-from-scratch-13/%5Bguide%5D-howto-multilib-lfs-4175649832/*
> <https://www.linuxquestions.org/questions/linux-from-scratch-13/%5Bguide%5D-howto-multilib-lfs-4175649832/>
> 
> So far, I have had no problems whatsoever and was successfully able to
> build GCC-9.2.0 with x86_64 and i386 libraries and complete the LFS portion
> of the build.
> 
> I am now in the process of installing the BLFS packages and recently
> installed LLVM-8.0.1 (just the 64-bit libraries at the moment, will install
> 32-bit later). The build completed successfully with no errors.
> 
> However, whenever I try to install packages that by default try to use
> clang C++ instead of GCC such as ICU-64.2, I get the following error
> message:
> 
> *configure: error: C++ compiler clang++ does not work or no compiler found*
> 
> Obviously the workaround would be to install using GCC instead, but I'm
> trying to get to the bottom of why LLVM doesn't seem to work or isn't found.
> 
I have no liking for clang, so I've never looked at anything like
this.  But I guess you could start by looking at the output from
configure (config.log or similar) to find that error message, and
then look at the lines above it to see if any more-specific error is
reported.  If it says something (other than the compiler itself!) is
missing, that might give a pointer on what to google for.

And to check for the compiler itself, I suppose:
$ which clang
$ which clang++

If they do exist (well, yes, you said they do, but when results are
unexplained don't rule things out too quickly) then run ldd on them
to see if everything they need is found.

ĸen
-- 
Whilst all mushrooms are edible, the trick is to eat only those which
will prove to be edible more than once. The Celebrated Discworld Almanak
recommends you play safe and eat beans on toast.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to