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

RE: [Evolution] how to get around dependence check in "configure" ?



Well it could be a system problem (i.le. all the locks are used, i've
seen it happen when apache has its state file on nfs).

nfs on solaris certainly supports locking, so its not that the server
doesn't support it, although i dont know the status of the linux client.

You could try compiling evolution and turning off fcntl locking, and
just letting it use .locking.

probably ./configure --enable-file-locking=no
would do the trick.

 !Z

On 29 Mar 2001 18:09:31 -0500, Rakich, Richard wrote:
> What I get is an error dialog as follows:
> Error while "Retrieving message 1".
> Failed to get lock using fcntl(2): No locks available
> 
> It asserts at the previously mentioned lines with a value of -1.
> 
> My home directory is on Solaris 7, client is RedHat 7.0 w/ Red Carpet/Gnome
> 1.4/Evolution all at the latest revs.  nfs-utils-0.1.9.1-7,
> am-utils-6.0.4s5-8
> 
> Any suggestions?
> 
> RichR
> 
> 
> -----Original Message-----
> From: Not Zed [mailto:notzed ximian com]
> Sent: Thursday, March 29, 2001 6:09 PM
> To: Rakich," Richard
> Cc: 'Dan Winship'; 'evolution ximian com'
> Subject: RE: [Evolution] how to get around dependence check in
> "configure" ?
> 
> 
> On 29 Mar 2001 16:23:17 -0500, Rakich, Richard wrote:
> > gnome-config --modversion libglade returns:
> >       Unknown library `libglade`
> >       gnome-libs-1.2.12
> > 
> > yet rpm -qa | grep libglade returns:
> >       libglade-0.16-0_helix_4
> 
> 
> You need libglade-devel too.
> 
> > Anyways, I was able to debug most of this without the debug build.  It
> looks
> > as though in camel/providers/local/camel-local-folder.c ~line 240, there
> is
> > a call to lock() which is obsolete in linux post 2.0 kernels and always
> > returns -1.  All other calls for locking use flock() which is better, but
> > probably should be changed to use fcntl() as to avoid problems with
> locking
> > over NFS mounted directories (which I have).  I may be wrong on this, as I
> > haven't been coding since forever, but this looks to be my problem.
> 
> 
> Umml that is a method call on the local-folder, which ends up calling
> camel_lock, which locks using flock, fcntrl, and .lock locking (well,
> depending on build options).  So we never call lock(), the code is
> supposed to work on more than linux!
> 
> What exactly is the problem you are having?  Unable to lock?  Often
> fcntl fails on nfs since a few nfs servers dont implement it.
> 
> > Thanks,
> >       RichR
> > 
> > 
> > 
> > -----Original Message-----
> > From: Dan Winship [mailto:danw ximian com]
> > Sent: Thursday, March 29, 2001 4:11 PM
> > To: Rakich," Richard
> > Cc: 'evolution ximian com'
> > Subject: Re: [Evolution] how to get around dependence check in
> > "configure"?
> > 
> > 
> > On 29 Mar 2001 15:41:24 -0500, Rakich, Richard wrote:
> > > I am trying to compile the latest snapshot of evolution from the SRPMS.
> > > configure is complaining that I do not have libglade >= 0.14 although I
> > > currently have 0.16 installed and have also tried it with 0.14
> installed.
> > 
> > what does "gnome-config --modversion libglade" say?
> > 
> > -- Dan
> > 
> > _______________________________________________
> > evolution maillist  -  evolution helixcode com
> > http://lists.helixcode.com/mailman/listinfo/evolution





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