discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems building gnustep-base on Ubuntu Linux with clang/llvm-3.7


From: David Chisnall
Subject: Re: Problems building gnustep-base on Ubuntu Linux with clang/llvm-3.7
Date: Mon, 28 Sep 2015 17:42:54 +0100

On 28 Sep 2015, at 17:36, David Lobron <dlobron@akamai.com> wrote:
> 
>> It sounds as if the configure script is not picking up the new runtime (and 
>> is picking up a libobjc from a gcc install).  Where did you install it?
> 
> I have it at: /usr/local/lib/libobjc.so.4.6.  The 
> build/CMakeFiles/CMakeOutput.log reports that clang was used for the build:
> 
> Compiler: /usr/local/bin/clang 
> ...
> Compiler: /usr/local/bin/clang++
> 
>> On Ubuntu, we’ve had some issues here because the clang package depends on 
>> gcc-objc (for no good reason), which pulls in the gcc runtime.  Force 
>> uninstalling it helps.
> 
> I build and installed clang/llvm from source (I checked out the sources with 
> svn, and then did mkdir build; cd build; cmake -G "Unix Makefiles" ../llvm; 
> make; make install).  The install and tests went fine, but maybe something is 
> off?  Please let me know if there's something I might be able to check.

/usr/local/{include,lib} is not in the default search path for gcc / clang on 
Ubuntu.  You should install libobjc2 with the prefix set to /usr/ or explicitly 
add /usr/local to the search paths when configuring -make (see my earlier 
email).

David

-- Sent from my Apple II




reply via email to

[Prev in Thread] Current Thread [Next in Thread]