GNU bug report logs -
#24254
issue with configure script in git
Previous Next
Reported by: Rishabh Dave <rishabhddave <at> gmail.com>
Date: Wed, 17 Aug 2016 17:44:01 UTC
Severity: normal
Tags: moreinfo
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24254 in the body.
You can then email your comments to 24254 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-grep <at> gnu.org
:
bug#24254
; Package
grep
.
(Wed, 17 Aug 2016 17:44:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rishabh Dave <rishabhddave <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-grep <at> gnu.org
.
(Wed, 17 Aug 2016 17:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
I am trying to build the source code from git repository but came
across this error -
./configure: line 7227: syntax error near unexpected token `0.9.0'
./configure: line 7227: `PKG_PROG_PKG_CONFIG(0.9.0)'
I did lookup for "syntax error near unexpected token" with
"PKG_PROG_PKG_CONFIG" on web but did not find a definite or helpful
solution. I tried reading output and found this (below) but mostly I
don't know how to relate what is in the manual to the problem I am
facing.
autoreconf: Entering directory `.'
autoreconf: running: true --force
autoreconf: running: aclocal -I m4 --force
m4/pkg.m4:4: warning: underquoted definition of PKG_CHECK_MODULES
m4/pkg.m4:4: run info Automake 'Extending aclocal'
m4/pkg.m4:4: or see
http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
Can I receive some help? A pointer to solution or something like that
that would transform dont-know the-problem to a large homework would
also suffice. :)
I have attached output of configure and bootstrap.
Sincerely,
Rishabh
[bootstrap-output.txt (text/plain, attachment)]
[configure-output.txt (text/plain, attachment)]
Information forwarded
to
bug-grep <at> gnu.org
:
bug#24254
; Package
grep
.
(Wed, 17 Aug 2016 21:10:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 24254 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Rishabh Dave wrote:
> ./configure: line 7227: syntax error near unexpected token `0.9.0'
> ./configure: line 7227: `PKG_PROG_PKG_CONFIG(0.9.0)'
My guess is your version of pkg-config is too old.
Also, it looks like your output is not from a fresh build. Maybe there is
leftover from a previous build that messes things up.
What platform are you building on? If you build again from a fresh git checkout,
what is the output of the following shell commands? I'm attaching my output, on
Ubuntu 16.04.1 x86-64.
pkg-config --version
./bootstrap
cat m4/pkg.m4
./configure
cat config.log
[log.txt.gz (application/gzip, attachment)]
Information forwarded
to
bug-grep <at> gnu.org
:
bug#24254
; Package
grep
.
(Fri, 19 Aug 2016 08:19:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 24254 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Aug 18, 2016 at 2:38 AM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> Rishabh Dave wrote:
>
>> ./configure: line 7227: syntax error near unexpected token `0.9.0'
>> ./configure: line 7227: `PKG_PROG_PKG_CONFIG(0.9.0)'
>
>
> My guess is your version of pkg-config is too old.
There was and old version at usr/local/bin.
> What platform are you building on?
Ubuntu 16.04 x86-32
> If you build again from a fresh git
> checkout, what is the output of the following shell commands? I'm attaching
> my output, on Ubuntu 16.04.1 x86-64.
>
> pkg-config --version
> ./bootstrap
> cat m4/pkg.m4
> ./configure
> cat config.log
Output for above commands ran on a fresh copy is attached. (I ran them
with tee to avoid copy-paste) ./configure was successful. However,
this time make did complete running; failed to build an object file. I
have attached output.
Thanks for all the help in advance!
[output.tar.gz (application/x-gzip, attachment)]
Information forwarded
to
bug-grep <at> gnu.org
:
bug#24254
; Package
grep
.
(Fri, 02 Sep 2016 06:10:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 24254 <at> debbugs.gnu.org (full text, mbox):
Rishabh Dave wrote:
> this time make did complete running; failed to build an object file
The log says only:
> CC kwset.o
> Makefile:1339: recipe for target 'kwset.o' failed
which doesn't provide much information. Did your C compiler exit with nonzero
status, without outputting any diagnostics? If so, there's probably something
wrong with your setup somewhere, and you'll need to debug it somehow, perhaps
with the equivalent of the 'truss' command of GNU/Linux. You might start by
running this command:
make V=1
as that will cause 'make' to be more verbose about the commands it's running.
Added tag(s) moreinfo.
Request was from
Paul Eggert <eggert <at> cs.ucla.edu>
to
control <at> debbugs.gnu.org
.
(Thu, 08 Sep 2016 05:00:03 GMT)
Full text and
rfc822 format available.
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Sun, 20 Nov 2016 08:36:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Rishabh Dave <rishabhddave <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 20 Nov 2016 08:36:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 24254-done <at> debbugs.gnu.org (full text, mbox):
No further comment and it has been a while, so closing the bug report.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 18 Dec 2016 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 242 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.