On Tue, 2003-04-29 at 11:19, Rolf Sponsel wrote:
> * SPARC/Solaris 7 * gcc-3.2.2 * FAM-2.6.10 *
[...]
> checking mntent.h for MNTTYPE_NFS... no
> configure: error: Didn't find MNTTYPE_NFS in mntent.h
> I searched my system for the 'mntent.h' include file
> and found it in '/usr/includes/sys/mntent.h'
The configure script was written mainly for IRIX with bits tacked on to
make it build elsewhere when problems were noticed. I'm just starting
to rewrite them so they test for features rather than platforms and so
they use some of the useful autoconf macros that were recently
introduced to replace some of the nastier parts.
It seems mntent.h appears in /usr/include on IRIX and Linux, which of
course is different from where you found it on your system.
A quick workaround would be to create a symbolic link into /usr/include:
# cd /usr/include; ln -s sys/mntent.h .
You could also change any instances of "#include <mntent.h>" in the FAM
sources to "#include <sys/mntent.h>". This directive seems to appear
in:
- configure.in
- fam/FileSystem.c++
- fam/FileSystemTable.c++
- fam/NFSFileSystem.c++
After making these changes, you might also need to run "autoconf" before
rerunning configure.
I'll file a bug so I remember to make the new configure script look for
mntent.h in the sys subdirectory as well.
Thanks for letting me know
--
Michael Wardle <michael.wardle@xxxxxxxxxx>
Adacel Technologies
|