unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#32677: Installation of guile-debbugs fails
@ 2018-09-10  8:29 Michael Albinus
  2018-09-10 10:25 ` Arun Isaac
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Albinus @ 2018-09-10  8:29 UTC (permalink / raw)
  To: 32677

Package: guile

I have downloaded the git repository of guile-debbugs. My machine runs
Fedora 28. I've followed the instructions in guile-debbugs.texi.

[albinus@BRONB4NHFYN1 guile-debbugs]$ ./bootstrap.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
[albinus@BRONB4NHFYN1 guile-debbugs]$ ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
./configure: line 2352: syntax error near unexpected token `2.2'
./configure: line 2352: `GUILE_PKG(2.2)'
[albinus@BRONB4NHFYN1 guile-debbugs]$ make
make: *** No targets specified and no makefile found.  Stop.





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

* bug#32677: Installation of guile-debbugs fails
  2018-09-10  8:29 bug#32677: Installation of guile-debbugs fails Michael Albinus
@ 2018-09-10 10:25 ` Arun Isaac
  2018-09-10 10:59   ` Michael Albinus
  0 siblings, 1 reply; 8+ messages in thread
From: Arun Isaac @ 2018-09-10 10:25 UTC (permalink / raw)
  To: Michael Albinus, 32677


> [albinus@BRONB4NHFYN1 guile-debbugs]$ ./configure 
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether make supports nested variables... (cached) yes
> ./configure: line 2352: syntax error near unexpected token `2.2'
> ./configure: line 2352: `GUILE_PKG(2.2)'

./configure has failed. I think you are missing guile-2.2. Could you try
again with guile installed?





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

* bug#32677: Installation of guile-debbugs fails
  2018-09-10 10:25 ` Arun Isaac
@ 2018-09-10 10:59   ` Michael Albinus
  2018-09-10 21:47     ` Ricardo Wurmus
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Albinus @ 2018-09-10 10:59 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 32677

Arun Isaac <arunisaac@systemreboot.net> writes:

>> [albinus@BRONB4NHFYN1 guile-debbugs]$ ./configure 
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether make supports nested variables... yes
>> checking whether make supports nested variables... (cached) yes
>> ./configure: line 2352: syntax error near unexpected token `2.2'
>> ./configure: line 2352: `GUILE_PKG(2.2)'
>
> ./configure has failed. I think you are missing guile-2.2. Could you try
> again with guile installed?

--8<---------------cut here---------------start------------->8---
[albinus@BRONB4NHFYN1 ~]$ which guile
/usr/bin/guile
[albinus@BRONB4NHFYN1 ~]$ guile --version
guile (GNU Guile) 2.0.14
--8<---------------cut here---------------end--------------->8---

Furthermore, a syntax error seems to tell something different. If it is
really true that guile 2.2 is missing, I would expect a respective error
message.

Best regards, Michael.





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

* bug#32677: Installation of guile-debbugs fails
  2018-09-10 10:59   ` Michael Albinus
@ 2018-09-10 21:47     ` Ricardo Wurmus
  2018-09-11  7:40       ` Michael Albinus
  0 siblings, 1 reply; 8+ messages in thread
From: Ricardo Wurmus @ 2018-09-10 21:47 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 32677


Hi Michael,

thanks for taking a look at guile-debbugs!

> Arun Isaac <arunisaac@systemreboot.net> writes:
>
>>> [albinus@BRONB4NHFYN1 guile-debbugs]$ ./configure
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether build environment is sane... yes
>>> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
>>> checking for gawk... gawk
>>> checking whether make sets $(MAKE)... yes
>>> checking whether make supports nested variables... yes
>>> checking whether make supports nested variables... (cached) yes
>>> ./configure: line 2352: syntax error near unexpected token `2.2'
>>> ./configure: line 2352: `GUILE_PKG(2.2)'
>>
>> ./configure has failed. I think you are missing guile-2.2. Could you try
>> again with guile installed?
>
> --8<---------------cut here---------------start------------->8---
> [albinus@BRONB4NHFYN1 ~]$ which guile
> /usr/bin/guile
> [albinus@BRONB4NHFYN1 ~]$ guile --version
> guile (GNU Guile) 2.0.14
> --8<---------------cut here---------------end--------------->8---
>
> Furthermore, a syntax error seems to tell something different. If it is
> really true that guile 2.2 is missing, I would expect a respective error
> message.

Do you have pkg-config installed?  GUILE_PKG is a macro that depends on
macros provided by pkg-config.

--
Ricardo






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

* bug#32677: Installation of guile-debbugs fails
  2018-09-10 21:47     ` Ricardo Wurmus
@ 2018-09-11  7:40       ` Michael Albinus
  2018-10-16 16:34         ` Arun Isaac
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Albinus @ 2018-09-11  7:40 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 32677

Ricardo Wurmus <rekado@elephly.net> writes:

> Hi Michael,

Hi Ricardo,

>>> ./configure has failed. I think you are missing guile-2.2. Could you try
>>> again with guile installed?
>>
>> --8<---------------cut here---------------start------------->8---
>> [albinus@BRONB4NHFYN1 ~]$ which guile
>> /usr/bin/guile
>> [albinus@BRONB4NHFYN1 ~]$ guile --version
>> guile (GNU Guile) 2.0.14
>> --8<---------------cut here---------------end--------------->8---

Meanwhile, I've changed to another machine running Ubuntu 18.04. It has
installed guile 2.2:

--8<---------------cut here---------------start------------->8---
detlef:~/src/guile-debbugs> which guile
/usr/bin/guile
detlef:~/src/guile-debbugs> /usr/bin/guile --version
guile (GNU Guile) 2.2.3
--8<---------------cut here---------------end--------------->8---

>> Furthermore, a syntax error seems to tell something different. If it is
>> really true that guile 2.2 is missing, I would expect a respective error
>> message.
>
> Do you have pkg-config installed?  GUILE_PKG is a macro that depends on
> macros provided by pkg-config.

Yes, it is:

--8<---------------cut here---------------start------------->8---
detlef:~/src/guile-debbugs> which pkg-config
/usr/bin/pkg-config
detlef:~/src/guile-debbugs> /usr/bin/pkg-config --version
0.29.1
--8<---------------cut here---------------end--------------->8---

And still the same error:

--8<---------------cut here---------------start------------->8---
detlef:~/src/guile-debbugs> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
./configure: line 2364: syntax error near unexpected token `2.2'
./configure: line 2364: `GUILE_PKG(2.2)'
--8<---------------cut here---------------end--------------->8---

> Ricardo

Best regards, Michael.





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

* bug#32677: Installation of guile-debbugs fails
  2018-09-11  7:40       ` Michael Albinus
@ 2018-10-16 16:34         ` Arun Isaac
  2018-10-16 19:13           ` Ricardo Wurmus
  0 siblings, 1 reply; 8+ messages in thread
From: Arun Isaac @ 2018-10-16 16:34 UTC (permalink / raw)
  To: Michael Albinus, Ricardo Wurmus; +Cc: 32677


> --8<---------------cut here---------------start------------->8---
> detlef:~/src/guile-debbugs> ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether make supports nested variables... (cached) yes
> ./configure: line 2364: syntax error near unexpected token `2.2'
> ./configure: line 2364: `GUILE_PKG(2.2)'
> --8<---------------cut here---------------end--------------->8---

A minor update. I was able to reproduce this problem in a Guix
environment. If I install guile in the environment, this problem does
not manifest. If I don't have guile in the environment, this problem
manifests.

In other words, with

guix environment --ad-hoc guile autoconf automake pkg-config

this problem does not manifest. But, with

guix environment --ad-hoc autoconf automake pkg-config

this problem manifests. I have no idea why this is the case, but perhaps
this could be a lead worth investigating.





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

* bug#32677: Installation of guile-debbugs fails
  2018-10-16 16:34         ` Arun Isaac
@ 2018-10-16 19:13           ` Ricardo Wurmus
  2018-10-16 20:01             ` Arun Isaac
  0 siblings, 1 reply; 8+ messages in thread
From: Ricardo Wurmus @ 2018-10-16 19:13 UTC (permalink / raw)
  To: Arun Isaac; +Cc: Michael Albinus, 32677


Arun Isaac <arunisaac@systemreboot.net> writes:

>> --8<---------------cut here---------------start------------->8---
>> detlef:~/src/guile-debbugs> ./configure
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether make supports nested variables... yes
>> checking whether make supports nested variables... (cached) yes
>> ./configure: line 2364: syntax error near unexpected token `2.2'
>> ./configure: line 2364: `GUILE_PKG(2.2)'
>> --8<---------------cut here---------------end--------------->8---
>
> A minor update. I was able to reproduce this problem in a Guix
> environment. If I install guile in the environment, this problem does
> not manifest. If I don't have guile in the environment, this problem
> manifests.
>
> In other words, with
>
> guix environment --ad-hoc guile autoconf automake pkg-config
>
> this problem does not manifest. But, with
>
> guix environment --ad-hoc autoconf automake pkg-config
>
> this problem manifests. I have no idea why this is the case, but perhaps
> this could be a lead worth investigating.

The macros (such as GUILE_PKK) are provided by the Guile package, so I
think that’s expected.

--
Ricardo






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

* bug#32677: Installation of guile-debbugs fails
  2018-10-16 19:13           ` Ricardo Wurmus
@ 2018-10-16 20:01             ` Arun Isaac
  0 siblings, 0 replies; 8+ messages in thread
From: Arun Isaac @ 2018-10-16 20:01 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Michael Albinus, 32677


> The macros (such as GUILE_PKK) are provided by the Guile package, so I
> think that’s expected.

I forgot to mention. I already have guile in my system profile (the
default one outside any environment created using `guix
environment'). `which guile' outputs the following:

/run/current-system/profile/bin/guile

So, if guile is already in the system profile, why is the GUILE_PKG
macro not recognized by autoconf?





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

end of thread, other threads:[~2018-10-16 20:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-10  8:29 bug#32677: Installation of guile-debbugs fails Michael Albinus
2018-09-10 10:25 ` Arun Isaac
2018-09-10 10:59   ` Michael Albinus
2018-09-10 21:47     ` Ricardo Wurmus
2018-09-11  7:40       ` Michael Albinus
2018-10-16 16:34         ` Arun Isaac
2018-10-16 19:13           ` Ricardo Wurmus
2018-10-16 20:01             ` Arun Isaac

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).