Re: [PATCH v3] Code to allow cros-compilation on chromeOS

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



Reading  stack overflow further, the fact AC_PACKAGE_GLOBALS and
AC_PACKAGE_UTILITIES are not defined are just the consequence of the
error.
When all work fine, the autoconfigued ./aclocal.m4 should contains
several m4_include and in particular
m4_include([m4/package_globals.m4])" that will load the definitions
for these macros.
I am shooting in the dark, how ./aclocal.m4 compares between RH7.0 and RH6.9?
What are the revisions of automake, autoconf, m4 andlibtoolize.
Does autoreconf -fi help?

Thanks for your help,
Gwendal.

On Thu, Apr 6, 2017 at 9:12 PM, Eryu Guan <eguan@xxxxxxxxxx> wrote:
> On Thu, Apr 06, 2017 at 04:26:01PM -0700, Gwendal Grignou wrote:
>> On Thu, Apr 6, 2017 at 4:18 AM, Eryu Guan <eguan@xxxxxxxxxx> wrote:
>> >
>> > On Tue, Apr 04, 2017 at 10:37:22AM -0700, Gwendal Grignou wrote:
>> > > - Request LIBTOOL to be used
>> > > - Set topbuildir based on a Makefile variable to call libtool
>> > > - Use /usr/local instead of /var for xfstest final location
>> > > - Move macros from aclocal.m4 to acinclude.m4, aclocal.m4 is autogenerated.
>> > > - Use autoconf variables @prefix@, @exec_prefix@.
>> > >
>> > > The regular way of compiling xfstests - make - remains.
>> > > But it now runs autoreconf and libtoolize -i to produce a valid
>> > > configure.
>> > > Verified with 'make install --dry-run' that files are installed at the
>> > > same place.
>> > > Verified compiling in chromeOS chroot works as well.
>> > >
>> > > Signed-off-by: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
>> > > ---
>> > >
>> > > Changes in v2:
>> > > Removal of instal-sh, use of autoreconf
>> > >
>> > > Changes in v3:
>> > > Use of @exec_prefix@ variable, unify installation location.
>> > >
>> >
>> > Sorry, I didn't notice this in last review. But I don't know why this
>> > AC_CONFIG_MACRO_DIR doesn't work on my RHEL6.9 system (it does work on
>> > RHEL7), make reports:
>> >
>> > configure.ac:5: error: possibly undefined macro: AC_PACKAGE_GLOBALS
>> >       If this token and others are legitimate, please use m4_pattern_allow.
>> >       See the Autoconf documentation.
>> > configure.ac:6: error: possibly undefined macro: AC_PACKAGE_UTILITIES
>>
>> Checking stack overflow
>> (http://stackoverflow.com/questions/8811381/possibly-undefined-macro-ac-msg-error/8946674),
>> is pkg_config installed on your RH6.9 system.
>
> Yes, it's installed.
>
> # rpm -q pkgconfig
> pkgconfig-0.23-9.1.el6.x86_64
>
> Eryu
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux