Re: [gamin] Compatibility with SGI::FAM Perl module
- From: Mike Heins <gamin perusion org>
- To: gamin-list gnome org
- Subject: Re: [gamin] Compatibility with SGI::FAM Perl module
- Date: Fri, 18 Feb 2005 15:20:08 -0500
Quoting Daniel Veillard (veillard redhat com):
> On Fri, Feb 18, 2005 at 01:05:25PM -0500, Mike Heins wrote:
> > Since gamin has replaced sgi_fam as the file alteration module
> > shipped with Fedora Core, I have a bit of a problem. I have software
> > based on SGI::FAM, the Perl module that works with sgi_fam. I tried
> > compiling against libgamin, but no go.
>
> Not informative... what went wrong ?
cp lib/SGI/FAM.pm blib/lib/SGI/FAM.pm
AutoSplitting blib/lib/SGI/FAM.pm (blib/lib/auto/SGI/FAM)
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap FAM.xs > FAM.xsc && mv FAM.xsc FAM.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"1.002\" -DXS_VERSION=\"1.002\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" FAM.c
FAM.xs: In function `famerror':
FAM.xs:123: warning: return discards qualifiers from pointer target type
FAM.c: In function `XS_FAMEventPtr_code':
FAM.c:813: error: storage size of 'RETVAL' isn't known
make: *** [FAM.o] Error 1
>
> > Is there any consideration being given to compatibility with SGI::FAM?
>
> A priori no. you should not even need to recompile.
Since the installation method for Perl modules is almost always
recompilation, we need to.
>
> > It looks like the problems are mostly struct declarations, but I am
> > not enough of a C hacker to sort them out.
>
> I'm not gonna work on SGI::FAM or other application level code.
>
> Differences between gamin and FAM are listed there
> http://www.gnome.org/~veillard/gamin/differences.html
> I reused the same structure declarations as in fam.h from SGI, the public
> header is basically the same.
>
If I can't get this fixed, then I will look at compiling and using
sgi_fam instead. I *was* looking forward to the improvments in gaming
(i.e. with luck not dying a horrible death at 1024 events) but I can
live with sgi_fam.
(Sorry for extra copy, not used to user-reply lists anymore.)
--
Software axiom: Lack of speed kills.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]