artanis
[Top][All Lists]
Advanced

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

Re: [Artanis] Strange behavior of ./confiure when using both 2.2 and 2.9


From: yagelix
Subject: Re: [Artanis] Strange behavior of ./confiure when using both 2.2 and 2.9.1 guile versions
Date: Thu, 18 Oct 2018 09:00:48 +0300

BTW, it's very strange to stay with such inconsistency between pkg-config and guile versions. Both should report the same or GUILE_PKG should rely on only one of them.
I've also removed the GUILE_PKG macro as a workaround to make all my artanis applications working.
Now I'm trying to check where the performance increase can be. The application does mostly postrgres/redis/subprocess calls so the speed improvements may not be so noticeable.
At least, all the code remains to work correctly with 2.9.1 :)
The only wrong thing i've caught during artanis start is:

;;; WARNING: loading compiled file /usr/local/lib/guile/3.0/site-ccache/artanis/crypto/sha-1.go failed:        
;;; In procedure load-thunk-from-memory: incompatible bytecode kind 
;;; WARNING: loading compiled file /usr/local/lib/guile/3.0/site-ccache/artanis/tpl/sxml.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
...
Loading /etc/artanis/artanis.conf...done.
...

What can be wrong here?

--
Nikita


On Wed, Oct 17, 2018 at 7:25 PM Nala Ginrut <address@hidden> wrote:

Actually I've tried 2.9.1, however, the M4 macros didn't recognize 2.9
or 3.0. My work around is to remove GUILE_PKG line in the
configure.ac then run autogen.sh again. I guess this issue will be solved
when 3.0 is released officially.

Anyway, 2.9 is faster. ;-)



yagelix writes:

> Who can help with the following problem:
> I've installed guile 2.2.4 and now I'm trying to check artanis with new
> guile 2.9.1
>
> After downloading/configure/make/make install of guile 2.9.1 I have 'guile'
> command up and working displaying 2.9.1 as it's version
>
> I've also pulled artanis from master -- it has three possible versions in
> GUILE_PKG(2.2 2.3 3.0) but nothing seems working:
>
>  $ ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking whether make sets $(MAKE)... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> configure: checking for guile 2.2
> configure: found guile 2.2
> checking for guile... /usr/local/bin/guile
> configure: error: found development files for Guile 2.2, but
> /usr/local/bin/guile has effective version 3.0
> FAIL
>
> even after removing 2.2 and 2.3 versions from GUILE_PKG it says the
> following:
>
>  $ ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking whether make sets $(MAKE)... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> configure: checking for guile 3.0
> configure: found guile 3.0
> checking for guile... /usr/local/bin/guile
> checking for Guile version >= 3.0... configure: error: Guile 3.0 required,
> but 2.9.1 found
> FAIL
>
>
> what I'm doing wrong?


--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058

reply via email to

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