[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building libobjc2 on ubuntu
From: |
Patryk Laurent |
Subject: |
Re: Building libobjc2 on ubuntu |
Date: |
Fri, 27 Mar 2015 20:25:05 -0700 |
Thank you Josh, I will try to amend/update the wiki page to reflect what you
have found.
Patryk
> On Mar 27, 2015, at 8:16 AM, Josh Freeman <gnustep_lists@twilightedge.com>
> wrote:
>
> These instructions worked fine several months back, but failed when I tried
> a couple days ago on a clean, up-to-date 14.04.2 image (same CMake errors):
> http://lists.gnu.org/archive/html/discuss-gnustep/2014-05/msg00049.html
>
> However, I was able to get a working build with two tweaks:
>
> 1. Use the distro's default clang version (3.4) instead of 3.5 - substitute
> the first line:
> sudo apt-get -y install clang git subversion ninja cmake
>
> 2. When installing Grand Central Dispatch, the two lines, "sh autogen.sh" &
> "./configure CFLAGS=...", give errors, so substitute a plain configure:
>
> ./configure
>
>
> Cheers,
>
> Josh
>
>
>> On Thu, Mar 26, 2015 at 9:28 PM, Patryk Laurent wrote:
>> Hi Luis,
>>
>> Were you following the instructions at the link below? If there is a
>> problem with those instructions let me know and I can try to correct them.
>>
>> http://wiki.gnustep.org/index.php/GNUstep_under_Ubuntu_Linux
>>
>> Thanks,
>> Patryk
>>
>>
>> > On Mar 26, 2015, at 9:10 PM, Luis Garcia Alanis <address@hidden> wrote:
>> >
>> > Hello guys,
>> >
>> > I am trying to build libobjc2 on ubuntu using clang and llvm 3.6
>> >
>> >
>> > cmake ..
>> > CMake Error at /usr/share/llvm-3.6/cmake/LLVMConfig.cmake:52
>> > (include):
>> > include could not find load file:
>> >
>> > /usr/lib/llvm-3.6/share/llvm/cmake/LLVMExports.cmake
>> >
>> >
>> >
>> > LLVMExports.cmake is located on /usr/share/llvm-3.6/cmake/ on this distro
>> >
>> > So I did a symlink to the expected location and it works, however now it
>> > can't find AddLLVM
>> >
>> > cmake ..
>> > CMake Error at opts/CMakeLists.txt:4 (include): include could not
>> > find load file:
>> >
>> > AddLLVM
>> >
>> > The offending file its on that folder as AddLLVM.cmake
>> >
>> > Do I need to set some ENV variable to tell cmake where these files are
>> > located?
>> >
>> > I hate to have to build my own clang/llvm, users trying to build gnustep
>> > are going to be hitting this issue. This issue dates back several versions
>> > of ubuntu. BTW ubuntu is building gnustep using standard gcc.
>> >
>> > I tried this on ubunut 14.04 (LTS) and 15.04 (soon to be released)
>> >
>> > Thanks
>> > Luis
>> >
>> >
>> > _______________________________________________
>> > Discuss-gnustep mailing list
>> > address@hidden
>> > https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep