unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Error while detecting Guile-3.0
@ 2017-10-23  7:19 Nala Ginrut
  2017-10-23  7:36 ` Nala Ginrut
  0 siblings, 1 reply; 5+ messages in thread
From: Nala Ginrut @ 2017-10-23  7:19 UTC (permalink / raw)
  To: guile-devel

hi folks!
I'm trying to use Guile-3.0 for a project, but it complains when configure:
-------------------------------------------------
checking for Guile version >= 3.0... configure: error: Guile 3.0
required, but 2.3.0 found
-------------------------------------------------

The related lines in configure.ac is here:
=============
 GUILE_PKG(2.2 3.0)
 GUILE_PROGS
=============

Why it's 2.3.0? Is it a bug?

Best regards.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error while detecting Guile-3.0
  2017-10-23  7:19 Error while detecting Guile-3.0 Nala Ginrut
@ 2017-10-23  7:36 ` Nala Ginrut
  2017-10-23  7:40   ` Nala Ginrut
  0 siblings, 1 reply; 5+ messages in thread
From: Nala Ginrut @ 2017-10-23  7:36 UTC (permalink / raw)
  To: guile-devel

Now I think it's because GUILE-VERSION:
---------------------------------------------
GUILE_MAJOR_VERSION=2
GUILE_MINOR_VERSION=3
GUILE_MICRO_VERSION=0
---------------------------------------------

After I changed it to:
--------------------------------------------
GUILE_MAJOR_VERSION=3
GUILE_MINOR_VERSION=0
GUILE_MICRO_VERSION=0
--------------------------------------------

The problem gone.

I think it's better to fix it in master branch, or people may find
it's confusing sometimes.

Best regards.



On Mon, Oct 23, 2017 at 3:19 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
> hi folks!
> I'm trying to use Guile-3.0 for a project, but it complains when configure:
> -------------------------------------------------
> checking for Guile version >= 3.0... configure: error: Guile 3.0
> required, but 2.3.0 found
> -------------------------------------------------
>
> The related lines in configure.ac is here:
> =============
>  GUILE_PKG(2.2 3.0)
>  GUILE_PROGS
> =============
>
> Why it's 2.3.0? Is it a bug?
>
> Best regards.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error while detecting Guile-3.0
  2017-10-23  7:36 ` Nala Ginrut
@ 2017-10-23  7:40   ` Nala Ginrut
  2017-10-23  7:42     ` Nala Ginrut
  0 siblings, 1 reply; 5+ messages in thread
From: Nala Ginrut @ 2017-10-23  7:40 UTC (permalink / raw)
  To: guile-devel

And this line should be changed to "guile-3.0" in meta/guile-config.in

-------------------------------------------
(define guile-module "guile-3.0")
-------------------------------------------

Best regards.


On Mon, Oct 23, 2017 at 3:36 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
> Now I think it's because GUILE-VERSION:
> ---------------------------------------------
> GUILE_MAJOR_VERSION=2
> GUILE_MINOR_VERSION=3
> GUILE_MICRO_VERSION=0
> ---------------------------------------------
>
> After I changed it to:
> --------------------------------------------
> GUILE_MAJOR_VERSION=3
> GUILE_MINOR_VERSION=0
> GUILE_MICRO_VERSION=0
> --------------------------------------------
>
> The problem gone.
>
> I think it's better to fix it in master branch, or people may find
> it's confusing sometimes.
>
> Best regards.
>
>
>
> On Mon, Oct 23, 2017 at 3:19 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
>> hi folks!
>> I'm trying to use Guile-3.0 for a project, but it complains when configure:
>> -------------------------------------------------
>> checking for Guile version >= 3.0... configure: error: Guile 3.0
>> required, but 2.3.0 found
>> -------------------------------------------------
>>
>> The related lines in configure.ac is here:
>> =============
>>  GUILE_PKG(2.2 3.0)
>>  GUILE_PROGS
>> =============
>>
>> Why it's 2.3.0? Is it a bug?
>>
>> Best regards.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error while detecting Guile-3.0
  2017-10-23  7:40   ` Nala Ginrut
@ 2017-10-23  7:42     ` Nala Ginrut
  2017-10-23  7:47       ` Nala Ginrut
  0 siblings, 1 reply; 5+ messages in thread
From: Nala Ginrut @ 2017-10-23  7:42 UTC (permalink / raw)
  To: guile-devel

Sorry, this line:
-------------------------------------------
(define guile-module "guile-2.2")
-------------------------------------------

On Mon, Oct 23, 2017 at 3:40 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
> And this line should be changed to "guile-3.0" in meta/guile-config.in
>
> -------------------------------------------
> (define guile-module "guile-3.0")
> -------------------------------------------
>
> Best regards.
>
>
> On Mon, Oct 23, 2017 at 3:36 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
>> Now I think it's because GUILE-VERSION:
>> ---------------------------------------------
>> GUILE_MAJOR_VERSION=2
>> GUILE_MINOR_VERSION=3
>> GUILE_MICRO_VERSION=0
>> ---------------------------------------------
>>
>> After I changed it to:
>> --------------------------------------------
>> GUILE_MAJOR_VERSION=3
>> GUILE_MINOR_VERSION=0
>> GUILE_MICRO_VERSION=0
>> --------------------------------------------
>>
>> The problem gone.
>>
>> I think it's better to fix it in master branch, or people may find
>> it's confusing sometimes.
>>
>> Best regards.
>>
>>
>>
>> On Mon, Oct 23, 2017 at 3:19 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
>>> hi folks!
>>> I'm trying to use Guile-3.0 for a project, but it complains when configure:
>>> -------------------------------------------------
>>> checking for Guile version >= 3.0... configure: error: Guile 3.0
>>> required, but 2.3.0 found
>>> -------------------------------------------------
>>>
>>> The related lines in configure.ac is here:
>>> =============
>>>  GUILE_PKG(2.2 3.0)
>>>  GUILE_PROGS
>>> =============
>>>
>>> Why it's 2.3.0? Is it a bug?
>>>
>>> Best regards.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error while detecting Guile-3.0
  2017-10-23  7:42     ` Nala Ginrut
@ 2017-10-23  7:47       ` Nala Ginrut
  0 siblings, 0 replies; 5+ messages in thread
From: Nala Ginrut @ 2017-10-23  7:47 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 1861 bytes --]

I formatted a patch here in case anyone need it before 3.0 release.


On Mon, Oct 23, 2017 at 3:42 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
> Sorry, this line:
> -------------------------------------------
> (define guile-module "guile-2.2")
> -------------------------------------------
>
> On Mon, Oct 23, 2017 at 3:40 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
>> And this line should be changed to "guile-3.0" in meta/guile-config.in
>>
>> -------------------------------------------
>> (define guile-module "guile-3.0")
>> -------------------------------------------
>>
>> Best regards.
>>
>>
>> On Mon, Oct 23, 2017 at 3:36 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
>>> Now I think it's because GUILE-VERSION:
>>> ---------------------------------------------
>>> GUILE_MAJOR_VERSION=2
>>> GUILE_MINOR_VERSION=3
>>> GUILE_MICRO_VERSION=0
>>> ---------------------------------------------
>>>
>>> After I changed it to:
>>> --------------------------------------------
>>> GUILE_MAJOR_VERSION=3
>>> GUILE_MINOR_VERSION=0
>>> GUILE_MICRO_VERSION=0
>>> --------------------------------------------
>>>
>>> The problem gone.
>>>
>>> I think it's better to fix it in master branch, or people may find
>>> it's confusing sometimes.
>>>
>>> Best regards.
>>>
>>>
>>>
>>> On Mon, Oct 23, 2017 at 3:19 PM, Nala Ginrut <nalaginrut@gmail.com> wrote:
>>>> hi folks!
>>>> I'm trying to use Guile-3.0 for a project, but it complains when configure:
>>>> -------------------------------------------------
>>>> checking for Guile version >= 3.0... configure: error: Guile 3.0
>>>> required, but 2.3.0 found
>>>> -------------------------------------------------
>>>>
>>>> The related lines in configure.ac is here:
>>>> =============
>>>>  GUILE_PKG(2.2 3.0)
>>>>  GUILE_PROGS
>>>> =============
>>>>
>>>> Why it's 2.3.0? Is it a bug?
>>>>
>>>> Best regards.

[-- Attachment #2: 0001-fixed-version-string-to-3.0.patch --]
[-- Type: text/x-patch, Size: 1203 bytes --]

From 62c51c72610aa4fd077bbc66bd1acee5167952e4 Mon Sep 17 00:00:00 2001
From: Nala Ginrut <nalaginrut@gmail.com>
Date: Mon, 23 Oct 2017 15:44:44 +0800
Subject: [PATCH] fixed version string to 3.0

---
 GUILE-VERSION        | 4 ++--
 meta/guile-config.in | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/GUILE-VERSION b/GUILE-VERSION
index a44c254fb..0db8a3b45 100644
--- a/GUILE-VERSION
+++ b/GUILE-VERSION
@@ -1,8 +1,8 @@
 # -*-shell-script-*-
 
 # Note: `GUILE_VERSION' is defined in `configure.ac' using `git-version-gen'.
-GUILE_MAJOR_VERSION=2
-GUILE_MINOR_VERSION=3
+GUILE_MAJOR_VERSION=3
+GUILE_MINOR_VERSION=0
 GUILE_MICRO_VERSION=0
 
 GUILE_EFFECTIVE_VERSION=3.0
diff --git a/meta/guile-config.in b/meta/guile-config.in
index b3e4c3d94..5236476c4 100755
--- a/meta/guile-config.in
+++ b/meta/guile-config.in
@@ -77,7 +77,7 @@ exec "@installed_guile@" -e main -s $0 "$@"
     (dle "  " p " --help      - show usage info (this message)")
     (dle "  " p " --help SUBCOMMAND - show help for SUBCOMMAND")))
 
-(define guile-module "guile-2.2")
+(define guile-module "guile-3.0")
 
 (define (pkg-config . args)
   (let* ((real-args (cons %pkg-config-program args))
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-23  7:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-23  7:19 Error while detecting Guile-3.0 Nala Ginrut
2017-10-23  7:36 ` Nala Ginrut
2017-10-23  7:40   ` Nala Ginrut
2017-10-23  7:42     ` Nala Ginrut
2017-10-23  7:47       ` Nala Ginrut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).