fam
[Top] [All Lists]

Re: FAM-2.6.10, configure, error, MNTTYPE_NFS, Solaris 7

To: Michael Wardle <michael.wardle@xxxxxxxxxx>
Subject: Re: FAM-2.6.10, configure, error, MNTTYPE_NFS, Solaris 7
From: Rolf Sponsel <Rolf.Sponsel@xxxxxxxxxxx>
Date: Tue, 29 Apr 2003 15:21:01 +0200
Cc: fam@xxxxxxxxxxx
References: <3EADD30B.AC6A6042@xxxxxxxxxxx> <1051580343.2407.9.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: fam-bounce@xxxxxxxxxxx
* SPARC/Solaris 7 * gcc-3.2.2 * FAM-2.6.10 *

Hello Michael,

Thank You for your prompt response.

I chose the quick and easy way out,
that you proposed, with the link.
That way I won't need to redo any code
modification for the comming releases
(would it be that you by then hadn't
had the chance to update the auto-
configure scripts).

Best regards / Rolf Sponsel


Ps. I saw your Bugzilla Bug 244 report on this,
    and just want to confirm your assumtion on
    where 'mntent.h' resides on my Solaris 7
    installation. You are correct; it is in
    '/usr/include/sys'. :-( Sorry for the
    confusion.)

Ps2 I saw another question somewhere on the mailing list,
    if I recall correctly, about whether Solaris has support
    for '/dev/poll'. I can confirm that that device can be found,
    on at least Solaris 7, where it is a link pointing to:

    '/devices/pseudo/poll@0:poll'  character special (113/0)


Michael Wardle wrote:
> 
> 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

-- 
----
------
--------

Rolf Sponsel

___________________________________________e_n_d___o_f___m_e_s_s_a_g_e_

<Prev in Thread] Current Thread [Next in Thread>