Re: [Gimp-developer] 2.7: selection to path procedure lookup failed.

2010-11-09 Thread Ofnuts
Worked a treat. Now both versions seem to coexist peacefully. Thanks.


On 11/09/2010 08:24 PM, Martin Nordholts wrote:
> Well, the default prefix is for when you want to override an
> installation in /usr, if you don't want that, which is the case here, it
> is your responsibility to change it to something else. Pass
> --prefix=/opt to autogen.sh or configure.
>
>/ Martin
>
>

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] 2.7: selection to path procedure lookup failed.

2010-11-09 Thread Martin Nordholts
On 11/09/2010 09:09 AM, Ofnuts wrote:
> On 11/09/2010 07:17 AM, Martin Nordholts wrote:
>> * Don't install into a prefix in a prefix, rather use /usr and /opt
>
> Ain't me... I used all defaults in the Git build scripts.

Well, the default prefix is for when you want to override an 
installation in /usr, if you don't want that, which is the case here, it 
is your responsibility to change it to something else. Pass 
--prefix=/opt to autogen.sh or configure.

  / Martin


-- 

My GIMP Blog:
http://www.chromecode.com/
"Nightly GIMP, GEGL, babl tarball builds"
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] 2.7: selection to path procedure lookup failed.

2010-11-09 Thread Ofnuts
On 11/09/2010 07:17 AM, Martin Nordholts wrote:
> On 11/08/2010 11:22 PM, Ofnuts wrote:
>> I'm trying to have coexisting a locally built 2.7 and a packaged 2.6.8.
>>
>> 2.6.8 goes to /usr/bin and /usr/lib and 2.7 installs into /usr/local/lib
>> and /usr/local/bin
>>
>> I start 2.7 via a shell that export LD_IBRARY_PATH and updates the PATH
>> so tha the /usr/local stuff goes first.
> Just a couple of tips:
>* Don't install into a prefix in a prefix, rather use /usr and /opt

Ain't me... I used all defaults in the Git build scripts.

>* You shouldn't need to set LD_IBRARY_PATH when you run (only when you
>  ./configure) because built binaries will have library paths
>  hardcoded in them through rpath [1], unless you disabled that.

OK, will look that up.

Thanks.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] 2.7: selection to path procedure lookup failed.

2010-11-08 Thread Martin Nordholts
On 11/08/2010 11:22 PM, Ofnuts wrote:
> I'm trying to have coexisting a locally built 2.7 and a packaged 2.6.8.
>
> 2.6.8 goes to /usr/bin and /usr/lib and 2.7 installs into /usr/local/lib
> and /usr/local/bin
>
> I start 2.7 via a shell that export LD_IBRARY_PATH and updates the PATH
> so tha the /usr/local stuff goes first.

Just a couple of tips:
  * Don't install into a prefix in a prefix, rather use /usr and /opt
  * You shouldn't need to set LD_IBRARY_PATH when you run (only when you
./configure) because built binaries will have library paths
hardcoded in them through rpath [1], unless you disabled that.

  / Martin

[1] http://en.wikipedia.org/wiki/Rpath_(linking)


-- 

My GIMP Blog:
http://www.chromecode.com/
"Nightly GIMP, GEGL, babl tarball builds"
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer