Its to avoid having to use "autotools-broken" vs. "autotools" scripts
when building mono in Yocto. So yeah, not a big difference and its
fixable by using autotools-broken but then that means the mono build
is somehow broken.... heh

Chris


On Wed, May 21, 2014 at 3:57 PM, Zoltan Varga <var...@gmail.com> wrote:
> Hi,
>
>   autogen.sh is designed to generate configure and Makefile.in files into
> the source tree, so they can be distributed. Generating them outside the
> source tree doesn't serve much purpose imho.
>
>                 Zoltan
>
>
> On Wed, May 21, 2014 at 9:54 PM, Chris Morgan <chmor...@gmail.com> wrote:
>>
>> So I'm just trying to find out if it seems feasible, at which point
>> I'll go to it for a few and see if I can do so.
>>
>> Chris
>>
>>
>> On Wed, May 21, 2014 at 3:39 PM, Chris Morgan <chmor...@gmail.com> wrote:
>> > Hi Zoltan.
>> >
>> > No, I get that. The question is whether its possible to improve
>> > autogen.sh to support running out of tree by adding some more $srcdir
>> > entries, or whatever, at the appropriate locations.
>> >
>> > Chris
>> >
>> >
>> >
>> > On Wed, May 21, 2014 at 3:37 PM, Zoltan Varga <var...@gmail.com> wrote:
>> >> Hi,
>> >>
>> >>   autogen.sh needs to be run from the tree, its configure+make which
>> >> can be
>> >> run out-of-tree.
>> >>
>> >>             Zoltan
>> >>
>> >>
>> >> On Wed, May 21, 2014 at 9:32 PM, Chris Morgan <chmor...@gmail.com>
>> >> wrote:
>> >>>
>> >>> Hello.
>> >>>
>> >>> I'm trying to build mono under Yocto. Recently (so I've heard) there
>> >>> were some changes such that the autotools scripts are being run from
>> >>> outside of the source tree.
>> >>>
>> >>> I presume this is something like:
>> >>>
>> >>> cd mono
>> >>> mkdir monobuild
>> >>> cd monobuild
>> >>> ../autogen.sh
>> >>>
>> >>>
>> >>> [cmorgan@localhost monobuild]$ ../autogen.sh
>> >>> --prefix=/home/cmorgan/mono-prefix
>> >>> grep: configure.in: No such file or directory
>> >>> ../autogen.sh: line 125: mono/mini/Makefile.am: No such file or
>> >>> directory
>> >>> ../autogen.sh: line 126: mono/metadata/Makefile.am: No such file or
>> >>> directory
>> >>> Running aclocal -I m4 -I .  ...
>> >>> aclocal: error: 'configure.ac' is required
>> >>>
>> >>> **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
>> >>>
>> >>>
>> >>> This doesn't appear to work because several things in autogen.sh
>> >>> assume that the files are present in the current working directory.
>> >>> Some other steps however do use $srcdir.
>> >>>
>> >>> My question is whether it seems like a reasonable idea to correct
>> >>> autogen.sh to remove the assumption that builddir == sourcedir. If so
>> >>> then I'll go down this route and send a patch. If not then I'll use a
>> >>> Yocto work around for projects that don't/can't support doing that.
>> >>> I'm not big on papering over issues so I do prefer the first option
>> >>> but I didn't want to start work if it turns out that it may be a
>> >>> nearly impossible task.
>> >>>
>> >>> Chris
>> >>> _______________________________________________
>> >>> Mono-devel-list mailing list
>> >>> Mono-devel-list@lists.ximian.com
>> >>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>> >>
>> >>
>
>
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to