I'm trying to launch an ice cast server by running the icecast.xml file in my terminal on Mac, I get the following errors
/Users/me/Desktop/Streaming/icecast-2.4.4/conf/icecast_minimal.xml: line 2: syntax error near unexpected token `newline'
/Users/me/Desktop/Streaming/icecast-2.4.4/conf/icecast_minimal.xml: line 2: `<icecast>'
Do I need to install it in an etc location or can I run it from the same directory it is in. My conclusion is that I installed the file in an inappropriate location.
Related
I am new to building and compiling projects, so any help would be really appreciated. Also if somebody could guide me towards any good resources on similar topics, that would be great.
The issue -
For simple C++ header and source files - (Hello, World program), I am using Cmake to generate Unix makefiles on Windows OS, and then running make on the output. I have the GNU-make installed on my system. All commands were running fine until a couple of days ago, but now all of a sudden I am getting the following errors -
/usr/bin/sh: -c: line 0: syntax error near unexpected token `(' /usr/bin/sh: -c: line 0: `C:/Program Files (x86)/GnuWin32/bin/make -s -f CMakeFiles/Makefile2 all' make: *** [all] Error 1
I have done no changes on my system to the C/C++ compilers. The only recent change I can remember is installing VSCode extensions for C#. I don't think that should affect this anyways. Could someone have any inkling as to where this error might be arising from? I am at a loss here! Looking for any possible support! Thanks.
I downloaded and ran the Anaconda interactive installer Anaconda3-2020.02-Linux-x86_64.sh but it fails right after it asks for the installation path with this:
PREFIX=/home/msimenc/software/anaconda3
WARNING: md5sum mismatch of tar archive
expected: 826b70d8ad34b7d9230d4da350d1b598
got: a8697164e5fc3778465b66505a311356 -
Unpacking payload ...
/home/msimenc/software/anaconda3/conda.exe: line 1: https://www.anaconda.com/pycharm\n: No such file or directory
/home/msimenc/software/anaconda3/conda.exe: line 3: syntax error near unexpected token `fi'
/home/msimenc/software/anaconda3/conda.exe: line 3: `fi'
/home/msimenc/software/anaconda3/conda.exe: line 1: https://www.anaconda.com/pycharm\n: No such file or directory
/home/msimenc/software/anaconda3/conda.exe: line 3: syntax error near unexpected token `fi'
/home/msimenc/software/anaconda3/conda.exe: line 3: `fi'ls
Any ideas?
It turned out downloading the installer failed. Re-downloaded it and it works fine.
I'm trying to run usearch through Ubuntu Bash (on Windows 10)I'm having real trouble in assigning it to the right path. This is the error I keep getting:
/usr/bin/usearch10.0.240_i86linux32: 1: /usr/bin/usearch10.0.240_i86linux32: Syntax error: "(" unexpected
error, no response from your usearch command (usearch10.0.240_i86linux32)
is it installed and in path?
Has anyone else had this problem?
Thanks
Rachel
I'm trying to build dia on my windows system with the MinGW toolkit.
What I did:
Downloaded GTK all-in-one package and unpackged it to C:\gtk and did the setup described in the readme.
Downloaded intltool-0.50.2 and unpacked it into the C:\gtk dir
Added gtk's bin directory to PATH environment variable
Checked out dia into C:\dia\
Opened a command line with admin privileges
Opened a bash in /c/dia/ and typed autogen.sh
The Script is running until it tries to execute the macro IT_PROG_INTLTOOL(...)
./configure: line 15572: syntax error near unexpected token `0.35.0'
./configure: line 15572: `IT_PROG_INTLTOOL(0.35.0)'
When I go to configure.ac and comment the line (I know I shouldn't do so, just for test purposes) IT_PROG_INTLTOOL([0.35.0]) the next macro error comes up regarding PKG_CHECK_MODULES.
./configure: line 15577: syntax error near unexpected token `GMODULE,'
./configure: line 15577: `PKG_CHECK_MODULES(GMODULE, gmodule-2.0 gobject-2.0)'
As far as I can see, all these required libs (intltool, gmodule, pango, freetype, pkg-config, ...) are installed and can be found. But why do these macros not work?
It looks like the configure script was regenerated and there were some errors while it was generated.
You could try touch(1)'ing (however this is done on Windows...) files to avoid that the buildsystem tries to regenerate configure
Make sure your autotools are all installed and that autoreconf does not spit out any warnings
There are binary packages for dia on Windows available http://dia-installer.de/index.html.en
I'm trying to install lein in my new macbook (osx 10.8.2) following the tutorial on https://github.com/technomancy/leiningen
When executing the lein script, I'm getting this error:
/bin/lein: line 1: {rtf1ansiansicpg1252cocoartf1187cocoasubrtf340: command not found
/bin/lein: line 2: syntax error near unexpected token }'
/bin/lein: line 2:{\fonttbl\f0\fmodern\fcharset0 Courier;}'
The script I'm using is this one
https://raw.github.com/technomancy/leiningen/preview/bin/lein
The {rtf1 ... comes from an rtf document.
I suppose you haven't copy/pasted the script from the web into a document using TextEdit?
That program defaults to rtf, which could cause this problem.
You should try pasting in a 'decent' text editor. Try your IDE, or Vim or nano or something like that.