discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Building libobjc2 on ubuntu


From: David Chisnall
Subject: Re: Building libobjc2 on ubuntu
Date: Fri, 27 Mar 2015 09:05:50 +0000

I recently committed some tweaks to the CMake that will allow it to continue 
working if the LLVM CMake files are not correctly installed:

https://github.com/davidchisnall/libobjc2

I hope to push out a 1.8 release soon containing this and other fixes.

David

> On 27 Mar 2015, at 04:53, Luis Garcia Alanis <address@hidden> wrote:
> 
> Hi Patryk,
> 
> The wiki wants me to build my own clang, I am trying to use the one that 
> comes with the distro. At this stage if it does not build there is a problem 
> with libobjc2 or with the compiler packaging (moving things around) or it 
> might be both.
> 
> Why build our own compiler if the distro has a recent one?
> 
> I think there is a bug in the distro compiler since it moves the directory 
> full of cmakes to another location and then it cant find them. but then after 
> making the symlink why does it still can't find the required AddLLVM.cmake 
> file?
> 
> Something is messed up in the default build env.
> 
> Any ideas?
> 
> Thanks
> Luis
> 
> On Thu, Mar 26, 2015 at 9:28 PM, Patryk Laurent <address@hidden> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep




-- Sent from my Difference Engine






reply via email to

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