discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Debian and Ubuntu packages


From: Philippe Roussel
Subject: Re: Debian and Ubuntu packages
Date: Tue, 14 Aug 2012 10:32:45 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

Hi,

Le 14/08/2012 09:54, David Chisnall a écrit :
> Hi Philippe,
> 
> On 13 Aug 2012, at 22:29, Philippe Roussel wrote:
> 
>> I built and installed libobjc2 from svn trunk to /usr/local with
>> make -f Makefile install
> 
> On GNU/Linux, /usr/local is not in the compiler's search path, so you will 
> need to specify this path explicitly.  I would recommend setting PREFIX to 
> /usr for GNU/Linux.

Now I'm lost...

I had tried adding #include <objc/capabilities.h> (or others files that
don't exist in the gcc libobjc) and the compiler didn't shout at me so
it must be that it had /usr/local/include/ in the search path, I think.

Anyway, I started from scratch and installed libobjc2 in /usr as you
suggested. Now the library builds but is linked with

> libobjc.so.4 => /usr/lib/x86_64-linux-gnu/libobjc.so.4 (0x00007f746765d000)

and I don't know how to specify that I want it to use
/usr/lib/libobjc.so.4 instead. I could probably configure gnustep make
with --with-objc-lib-flag=-l:libobjc.so.4.6 but I guess that this .6
will change with a new release.

I'm thinking about building libobjc2 so that the library is called
libobjc2.so. That could simplify thinks a bit.

Thanks,
Philippe




reply via email to

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