[Mono-list] Error while compiling mono from SVN in cygwin

Robert Jordan robertj at gmx.net
Fri Aug 22 06:56:45 EDT 2008


Andrus wrote:
> I tried to compile mono from SVN in cygwin using instructions from Ivan's 
> blog but got error below.
> How to fix ?
> 
> Andrus.
> 
> $ cat makemono
> export MONO_LOCATION=/cygdrive/c/mono
> export PATH=${PATH}:${MONO_LOCATION}/bin

export PATH=${MONO_LOCATION}/bin:${PATH}

> export ACLOCAL_FLAGS="-I ${MONO_LOCATION}/share/aclocal"
> export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${MONO_LOCATION}/lib/pkgconfig

remove the PKG_CONFIG_PATH like above.

> ./makemono: line 6: $'make\r': command not found

Your shell script does not seem to have unix line ends. Fix it.

Robert



More information about the Mono-list mailing list