llvm-config not found on OSX 10.9.4
Marko Käning
MK-MacPorts at techno.ms
Tue Sep 9 23:27:36 PDT 2014
Hi MacPorts devs,
I am having a problem with clang/LLVM on OSX, please see [1] for all details.
Below you’ll find some snippets. KDevelop’s devs wonder whether the standard
OSX installation misses a proper setup of LLVM/clang, since the llvm-config
executable can’t be found anywhere on my OSX 10.9.4.
Setting LLVM_ROOT to /usr/bin doesn’t solve the problem, unfortunately. ;)
What are we missing here?
Greets,
Marko
[1] http://mail.kde.org/pipermail/kdevelop/2014-September/018445.html
On 09 Sep 2014, at 11:39 , Kevin Funk <kfunk at kde.org> wrote:
> On Monday 08 September 2014 23:38:06 Marko Käning wrote:
>> -- Could not find LLVM: Could NOT find 'llvm-config' executable
>
> ^ Make sure that is installed.
>
> *Or*: Set the LLVM_ROOT variable to point to the LLVM installation prefix on
> your system.
>
> Cheers
>
> --
> Kevin Funk | kfunk at kde.org | http://kfunk.org
On 09 Sep 2014, at 12:07 , Milian Wolff <mail at milianw.de> wrote:
> On Monday 08 September 2014 23:38:06 Marko Käning wrote:
>> Hi,
>>
>> although my OSX/CI system running on Mavericks (10.9.4) has it’s standard
>> clang based on version 3.4: ---
>> $ clang --version
>> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
>> Target: x86_64-apple-darwin13.3.0
>> Thread model: posix
>> $ ls /usr/bin/llvm*
>> /usr/bin/llvm-g++ /usr/bin/llvm-gcc
>> ---
>>
>> without an llvm-config executable and thus building kdev-clang claims it is
>> not version 3.4:
>
> Why do you not have a llvm-config available? That is required to find the
> headers and libraries of clang-c. The binaries you list above are not being
> used by KDevelop. Maybe you need to install some kind of development package
> for Mac, or some SDK which ships llvm-config and the headers and libraries.
More information about the macports-dev
mailing list