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

Andrus kobruleht2 at hot.ee
Fri Aug 22 07:29:57 EDT 2008


thank you.
I made changes you recommended but still got error below.
What I'm doing wrong ?


$ cat makemono2
export MONO_LOCATION=/cygdrive/c/mono
export PATH=${MONO_LOCATION}/bin:${PATH}
export ACLOCAL_FLAGS="-I ${MONO_LOCATION}/share/aclocal"
./autogen.sh --prefix=/mono/build
andrus at andrus-notebook /mono/svn/mono
$ ./makemono2
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to 
 ...re/aclocall -I /cygdrive/c/mono
': No such file or directorydirectory `/cygdrive/c/mono

**Error**: aclocal failed. This may mean that you have not
installed all of the packages you need, or you may need to
set ACLOCAL_FLAGS to include "-I $prefix/share/aclocal"
for the prefix where you installed the packages whose
macros were not found
make: *** No targets specified and no makefile found.  Stop.

----- Original Message ----- 
From: "Robert Jordan" <robertj at gmx.net>
To: <Mono-list at lists.ximian.com>
Sent: Friday, August 22, 2008 1:56 PM
Subject: Re: [Mono-list] Error while compiling mono from SVN in cygwin

> 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"
> 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. 

More information about the Mono-list mailing list