Re: Balsa v1.2.pre3 on Solaris8 - I have it compiled and working...



On Mon, 24 September 22:22 pawsa@theochem.kth.se wrote:
> 
> On 2001.09.24 18:11 Brian Stafford wrote:
> >  On Mon, 24 September 17:03 Pawel Salek wrote:
> >  >
> >  > On 2001.09.18 08:56 James McPherson - TSG Engineer wrote:
> >  > >  	./configure --prefix=/usr/local --disable-flock \
> >  >
> >  > Does anybody knows a way to detect that the flock functions should not
> >  be
> >  > used (like on Sun).
> >   When a platform is known to have a broken implementation of a function 
> >or
> >  system call, there should be a specific macro to test for it in autoconf
> >  since this means more than just AC_CHECK_FUNC(...) is needed.
> 
> Actually, the problem with Solaris is that - as I understand - flock 
> function is in some compatibility library. Also, the constant definitions 
> are NOT in <sys/file.h>, as on linux and BSD systems (IFAIK). This makes 
> the compilation fail - see http://bugzilla.gnome.org/show_bug.cgi?id=61058
> 
> I guess tackling this issue should be easier than a general bug.

In that case AC_CHECK_FUNC(flock) should be sufficient unless the compatibiltiy
library is needed elsewhere.

Brian




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