Configure Syntax Error
Contents |
Support Search GitHub This repository Watch 36 Star 255 Fork 71 brianb/mdbtools Code Issues 28 Pull requests 8 Projects 0 configure syntax error near unexpected token Pulse Graphs New issue ./configure: line 11613: syntax error near unexpected token
The Configuration File Contains A Syntax Error
`GLIB,' ./configure: line 11613: `PKG_CHECK_MODULES(GLIB, glib-2.0, ,' #48 Closed leipzig opened this Issue Mar 13, 2014 · wamp configuration file syntax error 5 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 4 participants leipzig commented Mar 13, 2014 centos6 checking whether /usr/bin/ld -m elf_x86_64 accepts
Not Reloading Due To Configuration Syntax Error
--as-needed... yes ./configure: line 11613: syntax error near unexpected token `GLIB,' ./configure: line 11613: `PKG_CHECK_MODULES(GLIB, glib-2.0, ,' the offending lines: PKG_CHECK_MODULES(GLIB, glib-2.0, , as_fn_error $? " glib 2.0 is required by MDB Tools (runtime and devel). It can be downloaded at www.gtk.org. " "$LINENO" 5) amirkdv commented Mar 24, 2014 Same issue here on Ubuntu 12:04 dpkg -l | syntax error near unexpected token pkg_check_modules grep glib # ii libglib2.0-0 2.32.1-0ubuntu2 GLib library of C routines git clone https://github.com/brianb/mdbtools cd mdbtools autoreconf -i -f ./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... no # checking for mawk... mawk # checking whether make sets $(MAKE)... yes # checking whether to enable maintainer-specific portions of Makefiles... yes # checking whether make supports nested variables... yes # checking for gcc... gcc # checking whether the C compiler works... yes # checking for C compiler default output file name... a.out # checking for suffix of executables... # checking whether we are cross compiling... no # checking for suffix of object files... o # checking whether we are using the GNU C compiler... yes # checking whether gcc accepts -g... yes # checking for gcc option to accept ISO C89... none needed # checking for style of include used by make... GNU # checking dependency style of gcc... gcc3 #
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us
Configure Line Syntax Error Near Unexpected Token
Learn more about Stack Overflow the company Business Learn more about hiring developers
Syntax Error Near Unexpected Token `lasso,'
or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack pkg_prog_pkg_config syntax error Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Using the pkg-config macro PKG_CHECK_MODULES failing up vote https://github.com/brianb/mdbtools/issues/48 9 down vote favorite I'm sure this is a fairly simple problem. I have a very simple configure.ac file which I am using to just learn how autoconf & pkg-config work together. The confgure.ac file looks like: AC_PREREQ(2.61) AC_INIT(autoconf_test, 1.0, nowhere@dev.null) PKG_CHECK_MODULES(libusbmuxd, libusbmuxd >= 0.1.4) I can then execute autoconf from the command line and it does produce a configure script. However, when I run the configure http://stackoverflow.com/questions/8578181/using-the-pkg-config-macro-pkg-check-modules-failing script, I get the following error: ./configure: line 1618: syntax error near unexpected token `libusbmuxd,' ./configure: line 1618: `PKG_CHECK_MODULES(libusbmuxd, libusbmuxd >= 0.1.4)' If I use the pkg-config program from the command line to check to see whether it can find this library, it succeeds. /usr/lib/pkgconfig $pkg-config --libs --cflags --modversion libusbmuxd 1.0.7 -I/usr/local/Cellar/usbmuxd/1.0.7/include -L/usr/local/Cellar/usbmuxd/1.0.7/lib -lusbmuxd So, it seems clear that for some reason the PGK_CHECK_MODULE macro cannot be located and I am not sure why. This probably isn't OS specific, but I am using Mac OS X 10.6.8. osx osx-snow-leopard autoconf automake pkg-config share|improve this question edited May 6 at 12:35 vaxquis 5,78752541 asked Dec 20 '11 at 15:54 ericgorr 4,2062647 1 The macro is in a file pkg.m4 if I'm not wrong. Can you find this file somewhere in /usr/share/aclocal or a similar directory? –ptomato Dec 20 '11 at 21:48 3 Use 'aclocal --print' to determine the directory in which to look for pkg.m4 –William Pursell Dec 21 '11 at 11:39 How did you install pkg-config, and how did you install the autotools? –Jack Kelly Dec 25 '11 at 3:51 add a comment| 2 Answers 2 active oldest votes up vote 14 down vote acc
here for a quick overview of the site Help Center Detailed answers to any questions you might http://stackoverflow.com/questions/16147491/configure-make-install-failed have Meta Discuss the workings and policies of this site About https://issues.apache.org/jira/browse/MESOS-1727 Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 syntax error million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ./configure && make install failed up vote 6 down vote favorite Good Morning While i'm installing RabbitMQ libraries, I found a problem: autoreconf -i && ./configure && make && sudo make install But ./configure stop at this position: syntax error near checking for gcc option to accept ISO C99... -std=gnu99 ./configure: line 11104: syntax error near unexpected token `0.17' ./configure: line 11104: `PKG_PROG_PKG_CONFIG(0.17)' linux rabbitmq configure autotools pkg-config share|improve this question edited May 15 '14 at 13:01 umläute 10.9k2252 asked Apr 22 '13 at 12:47 Osin Toumani 3491310 4 Bah, I totally disagree that this is off-topic... linux package configuration is extremely non-trivial and not at all a user-level exercise. This is precisely related to "software tools commonly used by programmers." –Bryce Schober Dec 3 '13 at 18:25 add a comment| 1 Answer 1 active oldest votes up vote 8 down vote your autotools project uses pkg-config, but it seems that you either don't have that installed at all or you are lacking the "pkg-config <-> autotools" glue (pkg.m4), which provides the PKG_PROG_PKG_CONFIG macro. if this is true, then the autoreconf -i should have complained when recreating configure (though probably only as a non-fatal warning) -> check your build-logs. you should be a
line 18439: syntax error near unexpected token `PROTOBUFPREFIX,'Agile Board ExportXMLWordPrintableJSON Details Type: Bug Status: Resolved Priority: Major Resolution: Fixed Affects Version/s: 0.21.0 Fix Version/s: 0.20.1 Component/s: general Labels: build configure Environment: OSX 10.9.4, Darwin Kernel Version 13.3.0 automake (GNU automake) 1.13.4 autoconf (GNU Autoconf) 2.69 Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target Version/s: 0.20.1 Sprint: Q3 Sprint 4 Story Points: 2 Description I followed the "Getting started" documentation and did: $ git clone http://git-wip-us.apache.org/repos/asf/mesos.git; cd mesos $ ./bootstrap $ mkdir build; cd build $ ../configure which aborts with .... .... checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 ../configure: line 18439: syntax error near unexpected token `PROTOBUFPREFIX,' ../configure: line 18439: ` PKG_CHECK_MODULES(PROTOBUFPREFIX,' OptionsSort By NameSort By DateAscendingDescendingAttachments config.log 21/Aug/14 11:57 31 kB Lukas Loesche configure_output.txt 21/Aug/14 11:57 6 kB Lukas Loesche Activity Ascending order - Click to sort in descending order All Comments Work Log History Activity Transitions Hide Permalink Jie Yu added a comment - 22/Aug/14 17:22 Can you try to update your pkg-config and try again? Timothy St. Clair Can you take a look. I am wondering is there any reason to use PKG_CHECK_MODULES? Can we replace it with AC_CHECK_HEADER and AC_CHECK_LIB? I am asking because autoconf-2.61 does not work with PKG_CHECK_MODULES. Also pkg-config 0.27.1 has issues with PKG_CHECK_MODULES. Show Jie Yu added a comment - 22/Aug/14 17:22 Can you try to update your pkg-config and try again? Timothy St. Clair Can you take a look. I am wondering is there any reason to use PKG_CHECK_MODULES? Can we replace it with