[Mono-list] Compiling Mono from source code

Paramesh Gunasekaran paramesh.gunasekaran at gmail.com
Tue Apr 22 11:17:08 EDT 2008


I tried exporting all the environment variables directly in the prompt, but
I get the same issue

$ ./autogen.sh --prefix=/usr/local/
Running libtoolize...
You should update your `aclocal.m4' by running aclocal.
Running aclocal  ...
configure.in:297: warning: macro `AM_PROG_LIBTOOL' not found in library
Running autoheader...
autoheader-2.61: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.
bot'
autoheader-2.61: WARNING: and `config.h.top', to define templates for
`config.h.
in'
autoheader-2.61: WARNING: is deprecated and discouraged.
autoheader-2.61:
autoheader-2.61: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.61: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a
template w
ithout
autoheader-2.61: WARNING: `acconfig.h':
autoheader-2.61:
autoheader-2.61: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.61:                [Define if a function `main' is needed.])
autoheader-2.61:
autoheader-2.61: WARNING: More sophisticated templates can also be produced,
see
 the
autoheader-2.61: WARNING: documentation.
Running automake --gnu  ...
ikvm-native/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
ikvm-native/Makefile.am:4:   The usual way to define `LIBTOOL' is to add
`AC_PRO
G_LIBTOOL'
ikvm-native/Makefile.am:4:   to `configure.in' and run `aclocal' and
`autoconf'
again.
ikvm-native/Makefile.am:4:   If `AC_PROG_LIBTOOL' is in `configure.in', make
sur
e
ikvm-native/Makefile.am:4:   its definition is in aclocal's search path.
mono/arch/Makefile.am:16: Libtool library used but `LIBTOOL' is undefined
mono/arch/Makefile.am:16:   The usual way to define `LIBTOOL' is to add
`AC_PROG
_LIBTOOL'
mono/arch/Makefile.am:16:   to `configure.in' and run `aclocal' and
`autoconf' a
gain.
mono/arch/Makefile.am:16:   If `AC_PROG_LIBTOOL' is in `configure.in', make
sure

mono/arch/Makefile.am:16:   its definition is in aclocal's search path.
mono/arch/alpha/Makefile.am:4: Libtool library used but `LIBTOOL' is
undefined
mono/arch/alpha/Makefile.am:4:   The usual way to define `LIBTOOL' is to add
`AC
_PROG_LIBTOOL'
mono/arch/alpha/Makefile.am:4:   to `configure.in' and run `aclocal' and
`autoco
nf' again.
mono/arch/alpha/Makefile.am:4:   If `AC_PROG_LIBTOOL' is in `configure.in',
make
 sure
mono/arch/alpha/Makefile.am:4:   its definition is in aclocal's search path.
mono/arch/amd64/Makefile.am:4: Libtool library used but `LIBTOOL' is
undefined
mono/arch/amd64/Makefile.am:4:   The usual way to define `LIBTOOL' is to add
`AC
_PROG_LIBTOOL'
mono/arch/amd64/Makefile.am:4:   to `configure.in' and run `aclocal' and
`autoco
nf' again.
mono/arch/amd64/Makefile.am:4:   If `AC_PROG_LIBTOOL' is in `configure.in',
make
 sure
mono/arch/amd64/Makefile.am:4:   its definition is in aclocal's search path.
mono/arch/arm/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
mono/arch/arm/Makefile.am:4:   The usual way to define `LIBTOOL' is to add
`AC_P
ROG_LIBTOOL'
mono/arch/arm/Makefile.am:4:   to `configure.in' and run `aclocal' and
`autoconf
' again.
mono/arch/arm/Makefile.am:4:   If `AC_PROG_LIBTOOL' is in `configure.in',
make s
ure
mono/arch/arm/Makefile.am:4:   its definition is in aclocal's search path.
mono/arch/hppa/Makefile.am:4: Libtool library used but `LIBTOOL' is
undefined
mono/arch/hppa/Makefile.am:4:   The usual way to define `LIBTOOL' is to add
`AC_
PROG_LIBTOOL'
mono/arch/hppa/Makefile.am:4:   to `configure.in' and run `aclocal' and
`autocon
f' again.
mono/arch/hppa/Makefile.am:4:   If `AC_PROG_LIBTOOL' is in `configure.in',
make
sure
mono/arch/hppa/Makefile.am:4:   its definition is in aclocal's search path.
mono/arch/mips/Makefile.am:4: Libtool library used but `LIBTOOL' is
undefined
mono/arch/mips/Makefile.am:4:   The usual way to define `LIBTOOL' is to add
`AC_
PROG_LIBTOOL'
mono/arch/mips/Makefile.am:4:   to `configure.in' and run `aclocal' and
`autocon
f' again.
mono/arch/mips/Makefile.am:4:   If `AC_PROG_LIBTOOL' is in `configure.in',
make
sure
mono/arch/mips/Makefile.am:4:   its definition is in aclocal's search path.
mono/arch/ppc/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
mono/arch/ppc/Makefile.am:5:   The usual way to define `LIBTOOL' is to add
`AC_P
ROG_LIBTOOL'
mono/arch/ppc/Makefile.am:5:   to `configure.in' and run `aclocal' and
`autoconf
' again.
mono/arch/ppc/Makefile.am:5:   If `AC_PROG_LIBTOOL' is in `configure.in',
make s
ure
mono/arch/ppc/Makefile.am:5:   its definition is in aclocal's search path.
mono/arch/s390/Makefile.am:4: Libtool library used but `LIBTOOL' is
undefined
mono/arch/s390/Makefile.am:4:   The usual way to define `LIBTOOL' is to add
`AC_
PROG_LIBTOOL'
mono/arch/s390/Makefile.am:4:   to `configure.in' and run `aclocal' and
`autocon
f' again.
mono/arch/s390/Makefile.am:4:   If `AC_PROG_LIBTOOL' is in `configure.in',
make
sure
mono/arch/s390/Makefile.am:4:   its definition is in aclocal's search path.
mono/arch/s390x/Makefile.am:4: Libtool library used but `LIBTOOL' is
undefined
mono/arch/s390x/Makefile.am:4:   The usual way to define `LIBTOOL' is to add
`AC
_PROG_LIBTOOL'
mono/arch/s390x/Makefile.am:4:   to `configure.in' and run `aclocal' and
`autoco
nf' again.
mono/arch/s390x/Makefile.am:4:   If `AC_PROG_LIBTOOL' is in `configure.in',
make
 sure
mono/arch/s390x/Makefile.am:4:   its definition is in aclocal's search path.
mono/arch/sparc/Makefile.am:4: Libtool library used but `LIBTOOL' is
undefined
mono/arch/sparc/Makefile.am:4:   The usual way to define `LIBTOOL' is to add
`AC
_PROG_LIBTOOL'
mono/arch/sparc/Makefile.am:4:   to `configure.in' and run `aclocal' and
`autoco
nf' again.
mono/arch/sparc/Makefile.am:4:   If `AC_PROG_LIBTOOL' is in `configure.in',
make
 sure
mono/arch/sparc/Makefile.am:4:   its definition is in aclocal's search path.
mono/arch/x86/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
mono/arch/x86/Makefile.am:5:   The usual way to define `LIBTOOL' is to add
`AC_P
ROG_LIBTOOL'
mono/arch/x86/Makefile.am:5:   to `configure.in' and run `aclocal' and
`autoconf
' again.
mono/arch/x86/Makefile.am:5:   If `AC_PROG_LIBTOOL' is in `configure.in',
make s
ure
mono/arch/x86/Makefile.am:5:   its definition is in aclocal's search path.
mono/benchmark/Makefile.am:52: `%'-style pattern rules are a GNU make
extension
mono/benchmark/Makefile.am:55: `%'-style pattern rules are a GNU make
extension
mono/dis/Makefile.am:15: library used but `RANLIB' is undefined
mono/dis/Makefile.am:15:   The usual way to define `RANLIB' is to add
`AC_PROG_R
ANLIB'
mono/dis/Makefile.am:15:   to `configure.in' and run `autoconf' again.
mono/interpreter/Makefile.am:16: Libtool library used but `LIBTOOL' is
undefined

mono/interpreter/Makefile.am:16:   The usual way to define `LIBTOOL' is to
add `
AC_PROG_LIBTOOL'
mono/interpreter/Makefile.am:16:   to `configure.in' and run `aclocal' and
`auto
conf' again.
mono/interpreter/Makefile.am:16:   If `AC_PROG_LIBTOOL' is in `configure.in',
ma
ke sure
mono/interpreter/Makefile.am:16:   its definition is in aclocal's search
path.
mono/io-layer/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
mono/io-layer/Makefile.am:1:   The usual way to define `LIBTOOL' is to add
`AC_P
ROG_LIBTOOL'
mono/io-layer/Makefile.am:1:   to `configure.in' and run `aclocal' and
`autoconf
' again.
mono/io-layer/Makefile.am:1:   If `AC_PROG_LIBTOOL' is in `configure.in',
make s
ure
mono/io-layer/Makefile.am:1:   its definition is in aclocal's search path.
mono/metadata/Makefile.am:22: Libtool library used but `LIBTOOL' is
undefined
mono/metadata/Makefile.am:22:   The usual way to define `LIBTOOL' is to add
`AC_
PROG_LIBTOOL'
mono/metadata/Makefile.am:22:   to `configure.in' and run `aclocal' and
`autocon
f' again.
mono/metadata/Makefile.am:22:   If `AC_PROG_LIBTOOL' is in `configure.in',
make
sure
mono/metadata/Makefile.am:22:   its definition is in aclocal's search path.
mono/mini/Makefile.am:369: `%'-style pattern rules are a GNU make extension
mono/mini/Makefile.am:376: `%'-style pattern rules are a GNU make extension
mono/mini/Makefile.am:76: Libtool library used but `LIBTOOL' is undefined
mono/mini/Makefile.am:76:   The usual way to define `LIBTOOL' is to add
`AC_PROG
_LIBTOOL'
mono/mini/Makefile.am:76:   to `configure.in' and run `aclocal' and
`autoconf' a
gain.
mono/mini/Makefile.am:76:   If `AC_PROG_LIBTOOL' is in `configure.in', make
sure

mono/mini/Makefile.am:76:   its definition is in aclocal's search path.
mono/mini/Makefile.am:106: compiling `genmdesc.c' with per-target flags
requires
 `AM_PROG_CC_C_O' in `configure.in'
mono/monograph/Makefile.am:28: `%'-style pattern rules are a GNU make
extension
mono/profiler/Makefile.am:11: Libtool library used but `LIBTOOL' is
undefined
mono/profiler/Makefile.am:11:   The usual way to define `LIBTOOL' is to add
`AC_
PROG_LIBTOOL'
mono/profiler/Makefile.am:11:   to `configure.in' and run `aclocal' and
`autocon
f' again.
mono/profiler/Makefile.am:11:   If `AC_PROG_LIBTOOL' is in `configure.in',
make
sure
mono/profiler/Makefile.am:11:   its definition is in aclocal's search path.
mono/profiler/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
mono/profiler/Makefile.am:9:   The usual way to define `LIBTOOL' is to add
`AC_P
ROG_LIBTOOL'
mono/profiler/Makefile.am:9:   to `configure.in' and run `aclocal' and
`autoconf
' again.
mono/profiler/Makefile.am:9:   If `AC_PROG_LIBTOOL' is in `configure.in',
make s
ure
mono/profiler/Makefile.am:9:   its definition is in aclocal's search path.
mono/tests/Makefile.am:380: `%'-style pattern rules are a GNU make extension
mono/tests/Makefile.am:383: `%'-style pattern rules are a GNU make extension
mono/tests/Makefile.am:706: Libtool library used but `LIBTOOL' is undefined
mono/tests/Makefile.am:706:   The usual way to define `LIBTOOL' is to add
`AC_PR
OG_LIBTOOL'
mono/tests/Makefile.am:706:   to `configure.in' and run `aclocal' and
`autoconf'
 again.
mono/tests/Makefile.am:706:   If `AC_PROG_LIBTOOL' is in `configure.in',
make su
re
mono/tests/Makefile.am:706:   its definition is in aclocal's search path.
mono/tests/cas/assembly/Makefile.am:59: `%'-style pattern rules are a GNU
make e
xtension
mono/tests/cas/assembly/Makefile.am:62: `%'-style pattern rules are a GNU
make e
xtension
mono/tests/cas/demand/Makefile.am:73: `%'-style pattern rules are a GNU make
ext
ension
mono/tests/cas/demand/Makefile.am:76: `%'-style pattern rules are a GNU make
ext
ension
mono/tests/cas/inheritance/Makefile.am:83: `%'-style pattern rules are a GNU
mak
e extension
mono/tests/cas/inheritance/Makefile.am:86: `%'-style pattern rules are a GNU
mak
e extension
mono/tests/cas/inheritance/Makefile.am:89: `%'-style pattern rules are a GNU
mak
e extension
mono/tests/cas/inheritance/Makefile.am:92: `%'-style pattern rules are a GNU
mak
e extension
mono/tests/cas/inheritance/Makefile.am:95: `%'-style pattern rules are a GNU
mak
e extension
mono/tests/cas/inheritance/Makefile.am:98: `%'-style pattern rules are a GNU
mak
e extension
mono/tests/cas/linkdemand/Makefile.am:95: `%'-style pattern rules are a GNU
make
 extension
mono/tests/cas/linkdemand/Makefile.am:98: `%'-style pattern rules are a GNU
make
 extension
mono/tests/cas/linkdemand/Makefile.am:113: `%'-style pattern rules are a GNU
mak
e extension
mono/tests/cas/linkdemand/Makefile.am:116: `%'-style pattern rules are a GNU
mak
e extension
mono/tests/cas/threads/Makefile.am:79: `%'-style pattern rules are a GNU
make ex
tension
mono/tests/cas/threads/Makefile.am:82: `%'-style pattern rules are a GNU
make ex
tension
mono/tests/cas/threads/Makefile.am:85: `%'-style pattern rules are a GNU
make ex
tension
mono/utils/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
mono/utils/Makefile.am:1:   The usual way to define `LIBTOOL' is to add
`AC_PROG
_LIBTOOL'
mono/utils/Makefile.am:1:   to `configure.in' and run `aclocal' and
`autoconf' a
gain.
mono/utils/Makefile.am:1:   If `AC_PROG_LIBTOOL' is in `configure.in', make
sure

mono/utils/Makefile.am:1:   its definition is in aclocal's search path.
scripts/Makefile.am:130: shell cygpath -m $(libdir: non-POSIX variable name
scripts/Makefile.am:130: (probably a GNU make extension)
scripts/Makefile.am:131: shell cygpath -m $(libdir: non-POSIX variable name
scripts/Makefile.am:131: (probably a GNU make extension)
support/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
support/Makefile.am:6:   The usual way to define `LIBTOOL' is to add
`AC_PROG_LI
BTOOL'
support/Makefile.am:6:   to `configure.in' and run `aclocal' and `autoconf'
agai
n.
support/Makefile.am:6:   If `AC_PROG_LIBTOOL' is in `configure.in', make
sure
support/Makefile.am:6:   its definition is in aclocal's search path.
**Error**: automake failed.

On Tue, Apr 22, 2008 at 11:55 AM, Andreas Färber <andreas.faerber at web.de>
wrote:

>
> Am 22.04.2008 um 16:38 schrieb Paramesh Gunasekaran:
>
> No. I'm not having Mono in PATH and PKG_CONFIG_PATH
>
> I've used bash.bashrc file at C:\Cygwin\etc to set these. But they are not
> reflecting.
>
>
> Then just type the commands manually at the Cygwin Bash prompt. :) Mono
> doesn't need .bashrc files, just the environment variables correctly setup.
> For general Cygwin problems you will find better help elsewhere.
>
> Andreas
>
> Do I need to specify somewhere?
>
> On Tue, Apr 22, 2008 at 10:36 AM, Robert Jordan <robertj at gmx.net> wrote:
>
> > Paramesh Gunasekaran wrote:
> > > I tried editing bash.bashrc at C:\Cygwin\etc with the export stuffs,
> > but not
> > > good luck today....
> >
> > Check the output of
> >
> > printenv PATH
> >
> > It should contais mono at the correct position. Ditto for
> > PKG_CONFIG_PATH, if you're using Shana's approach.
> >
> > Robert
> >
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080422/dc200882/attachment-0001.html 


More information about the Mono-list mailing list