ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] inotify-tools ?


From: Stuart Hughes
Subject: Re: [Ltib] inotify-tools ?
Date: Thu, 09 Feb 2012 13:48:41 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Lightning/1.0b2 Thunderbird/3.1.16

On 09/02/12 11:57, Mike Goins wrote:
On Thu, Feb 9, 2012 at 5:20 AM, Andy Yew<address@hidden>  wrote:
Hi everyone,

Trying to cross-compile inotify-tools with LTIB but failed here:
##################################################################################
+ make
make  all-recursive
make[1]: Entering directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
Making all in libinotifytools
make[2]: Entering directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools'
make[3]: Entering directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
make[3]: Leaving directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
Making all in src
make[3]: Entering directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src'
make[4]: Entering directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
make[4]: Leaving directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
Making all in inotifytools
make[4]: Entering directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src/inotifytools'
make[5]: Entering directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
make[5]: Leaving directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
cd ../../..&&  /bin/bash
/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/missing --run autoheader
configure.ac:4: error: Autoconf version 2.59 or higher is required
configure.ac:4: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: //opt/freescale/ltib/usr/bin/autom4te failed with exit status: 1
make[4]: *** [inotify.h.in] Error 1
make[4]: Leaving directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src/inotifytools'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13/libinotifytools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/lucid/ltib/ltib/rpm/BUILD/inotify-tools-3.13'
make: *** [all] Error 2
error: Bad exit status from /home/lucid/ltib/ltib/tmp/rpm-tmp.33225 (%build)


RPM build errors:
     Bad exit status from /home/lucid/ltib/ltib/tmp/rpm-tmp.33225 (%build)
Build time for inotify-tools: 61 seconds

Failed building inotify-tools


f_scbuild() returned an error, exiting
traceback:
  main:560

Exiting on error or interrupt
##################################################################################

I'm using:
inotify-tools-3.13
autoconf-2.64
automake-1.7.6
perl-5.8.8

I know there's Busybox Inotifyd which is similar to inotify-tools but it
seems like Busybox version does not have features like inotifywait with
"--format" and so on. Thus, i'm forced to use inotify-tools instead.
Besides, the ./configure of inotify-tools does support buildcc and hostcc,
which seems to me it's cross-compilable especially to ARM. Why it still
ended up with the error as above (BOLDED)?

Thanks!

I built inotify-tools in ltib using version 3.12.  I don't think I
ever submitted it upstream since it was a messy hack and it was a long
time ago so not sure of the status.  I have a patch for it if you
would like to try.

Note:  I wanted to use the library but the license is GPL as opposed
to LGPL.   I ended up writing my own library around the kernel's
inotify system (which isn't that hard).


Hi Mike,

Could you post it to the list in case it's useful to some people. Obviously with the caveat that is 'as-is/no warranty'

Regards, Stuart






reply via email to

[Prev in Thread] Current Thread [Next in Thread]