Re: [GNC-dev] Ubuntu. Both guile-2.0 and guile-2.2 installed, can't find guile-2.2

2018-05-17 Thread Christopher Lam
As it turns out, thanks to #guile, I found out I had to 'sudo apt 
install guile-2.2-dev' to properly get the right guile-2.2.


C


On 11/05/18 21:29, Christopher Lam wrote:

As per subject.

Having successfully worked on guile-2.0, I wished to try 2.2 and 'sudo 
apt install guile-2.2' and all was well. I can run guile-2.2.


However cmake rebuild script cannot find guile-2.2 and tries to 
configure with guile-2.0 instead.


However the test suite runs using guile-2.2 and obviously fails.

I think the CMake guile-2.0/2.2 detector can't handle having both.

Any clues?

Attached logfile from cmake... && cd build && ninja && ninja check



___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Ubuntu. Both guile-2.0 and guile-2.2 installed, can't find guile-2.2

2018-05-11 Thread Geert Janssens
Op vrijdag 11 mei 2018 15:29:34 CEST schreef Christopher Lam:
> As per subject.
> 
> Having successfully worked on guile-2.0, I wished to try 2.2 and 'sudo
> apt install guile-2.2' and all was well. I can run guile-2.2.
> 
> However cmake rebuild script cannot find guile-2.2 and tries to
> configure with guile-2.0 instead.
> 
> However the test suite runs using guile-2.2 and obviously fails.
> 
> I think the CMake guile-2.0/2.2 detector can't handle having both.
> 
> Any clues?
> 
> Attached logfile from cmake... && cd build && ninja && ninja check

Did you install guile-2.2-dev as well ?

In addition you may have to clear you CMakeCache. ISTR it doesn't always 
automatically recheck dependencies once they are resolved.

Geert



___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] Ubuntu. Both guile-2.0 and guile-2.2 installed, can't find guile-2.2

2018-05-11 Thread John Ralls


> On May 11, 2018, at 6:29 AM, Christopher Lam  
> wrote:
> 
> As per subject.
> 
> Having successfully worked on guile-2.0, I wished to try 2.2 and 'sudo apt 
> install guile-2.2' and all was well. I can run guile-2.2.
> 
> However cmake rebuild script cannot find guile-2.2 and tries to configure 
> with guile-2.0 instead.
> 
> However the test suite runs using guile-2.2 and obviously fails.
> 
> I think the CMake guile-2.0/2.2 detector can't handle having both.
> 
> Any clues?
> 
> Attached logfile from cmake... && cd build && ninja && ninja check

Assuming you’re using a current maint clone it checks for 2.2 first, so it 
would seem to be a matter of not finding guile-2.2.

What does `pkg-config --modversion guile-2.2` return?

Regards,
John Ralls

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel