Am_gnu_gettext_version Syntax Error Near Unexpected Token
Contents |
clean. Screenshot instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", syntax error near unexpected token c then paste here → (This may not be possible with
Syntax Error Near Unexpected Token Do
some types of ads) More information about our ad policies X You seem to have CSS syntax error near unexpected token fi turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): syntax error near unexpected token else Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse msmtp Mailing Lists msmtp Brought to you by: marlam Summary Files Reviews Support Wiki Mailing Lists News Code msmtp-users msmtp-users [msmtp-users] Error in autoreconf -i From:
Syntax Error Near Unexpected Token Javascript
Joe Philip Ninan
Support Search GitHub This repository Watch 3 Star 34 Fork 11 ambientsound/pms Code Issues 19 Pull syntax error near unexpected token then requests 1 Projects 0 Wiki Pulse Graphs New issue syntax error bash syntax error near unexpected token near unexpected token `noext,' #31 Closed PhilT001 opened this Issue Jan 15, 2016 · 4 comments
Syntax Error Near Unexpected Token Perl
Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants PhilT001 commented Jan 15, 2016 trying to build the latest version on https://sourceforge.net/p/msmtp/mailman/msmtp-users/thread/20130324115525.2f7a762e@daffy/ a Raspberry Pi2, running Rasbian. I am getting the following: ./rebuild.sh autoreconf: Entering directory .'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
https://github.com/ambientsound/pms/issues/31 autoreconf: Leaving directory.' 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 ./configure: line 2868: AX_CHECK_ENABLE_DEBUG: command not found checking for gawk... (cached) mawk checking for g++... g++ 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 g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc 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 dependency style of gcc... gcc3 checking whether ln -
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 Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us http://unix.stackexchange.com/questions/265417/what-is-causing-the-syntax-error-near-unexpected-token-do-and-how-can-i-fix Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a https://ubuntuforums.org/archive/index.php/t-1551641.html question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top What is causing the “syntax error near unexpected token `do'” and how can I fix it? up vote 0 down vote favorite I keep syntax error getting this error: ./install.sh ./install.sh: line 28: syntax error near unexpected token `do' ./install.sh: line 28: ` do' When running this code (a work in progress): # Set the prompt string: PS3='Choose folder: '; function choose() { # This works: #select folder; #do test -n "$folder" && echo You chose: $REPLY\) $folder && break; #echo 'Wrong entry, try again.'; #continue; #done; select folder; do case $folder in 'q') echo 'Exiting …'; break; ;; *) do test -n '$folder' && echo You chose: $REPLY\) $folder && break; echo syntax error near 'Wrong entry, try again.'; continue; done; ;; esac; done; } # Switch to glob folder location: cd ~/Desktop; # Create menu: choose foo*; # Do stuff with result of choose() here ... # Exit program: exit 0; As you can probably see from above, I'm trying to create a menu that lets me choose from a list of globbed folders; unfortunately, I can't figure out why my nested do is creating the error I posted above. Optimally, the user could choose from a list of directories; if they type q, then the program quits; if they make an invalid selection, the program makes them choose again until they pick a valid selection (or enter q to quit/exit). I have yet to get the quitting part figured out completely, but before I can do that, I need to get past this do statement error. Question: What is causing the syntax error near unexpected token `do' and how can I fix it? bash osx select share|improve this question edited Feb 24 at 6:22 asked Feb 24 at 6:15 mhulse 23628 add a comment| 2 Answers 2 active oldest votes up vote 6 down vote accepted Missing Loop Conditional Your syntax is invalid. You may have other problems with your code as well, but this message is likely coming from the fact that you can't have a do keyword as if it were a block; you need to have one of the loop conditionals as well. You currently have: *) do test -n '$folder' && echo You chose: $REPLY\) $folder && break; echo '
install latest deadbeef version through git clone ./autogen.sh a problem shantiqAugust 12th, 2010, 08:36 PMfirst step did git clone git://deadbeef.git.sourceforge.net/gitroot/deadbeef/deadbeef which gives me a deadbeef folder in my home folder with latest version therein next steps are ./autogen.sh ./configure make sudo make install i installed automake all six versions in the synaptic as some are different as to what they can do also libtool, gettext and this is what i get any thoughts? am i missing a program or 2 to install from git? shantiq@shantiq-desktop:~$ cd ./deadbeef shantiq@shantiq-desktop:~/deadbeef$ ./autogen.sh configure.ac:17: warning: macro `AM_GNU_GETTEXT' not found in library libtoolize: warning: no serial number on `/usr/share/aclocal/libtool.m4', not copying. libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: You should add the contents of `m4/ltoptions.m4' to `aclocal.m4'. libtoolize: You should add the contents of `m4/ltsugar.m4' to `aclocal.m4'. libtoolize: You should add the contents of `m4/ltversion.m4' to `aclocal.m4'. libtoolize: You should add the contents of `m4/lt~obsolete.m4' to `aclocal.m4'. plugins/aac/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined plugins/aac/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' plugins/aac/Makefile.am:3: to `configure.ac' and run `aclocal' and `autoconf' again. plugins/aac/Makefile.am:3: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure plugins/aac/Makefile.am:3: its definition is in aclocal's search path. plugins/adplug/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined plugins/adplug/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' plugins/adplug/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again. plugins/adplug/Makefile.am:5: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure plugins/adplug/Makefile.am:5: its definition is in aclocal's search path. plugins/alsa/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined plugins/alsa/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' plugins/alsa/Makefile.am:3: to `configure.ac' and run `aclocal' and `autoconf' again. plugins/alsa/Makefile.am:3: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure plugins/alsa/Makefile.am:3: its definition is in aclocal's search path. plugins/ao/Makefile.am:3: Libtool library used but `LIBTOOL' is undefined plugins/ao/Makefile.am:3: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' plugins