Discussion:
[aguayo@csail.mit.edu: compiling under mac osx 10.4]
Dan Aguayo
2005-08-11 19:40:40 UTC
Permalink
nevermind -- that was JV to send you guys mail right off. for the
record, the errors in config.log were something like:

conftest.c:109:23: error: nfs/mount.h: No such file or directory
conftest.c:109:27: error: nfsclient/nfs.h: No such file or directory
conftest.c:109:31: error: nfsclient/nfsargs.h: No such file or directory
configure:32501: checking for nfs_args mount structure
configure:32527: gcc -c -g -O2 conftest.c >&5
In file included from ./nfsconf.h:26,
from conftest.c:111:
/usr/include/nfs/rpcv2.h:133: error: parse error before "u_long"
/usr/include/nfs/rpcv2.h:135: error: parse error before "w2"
/usr/include/nfs/rpcv2.h:139: error: parse error before "u_long"
/usr/include/nfs/rpcv2.h:141: error: parse error before "w1"
/usr/include/nfs/rpcv2.h:142: error: parse error before "w2"
/usr/include/nfs/rpcv2.h:146: error: parse error before "u_long"
/usr/include/nfs/rpcv2.h:148: error: parse error before '}' token
/usr/include/nfs/rpcv2.h:161: error: parse error before "NFSKERBKEY_T"
/usr/include/nfs/rpcv2.h:162: error: parse error before "NFSKERBKEYSCHED_T"

etc.

so i just moved lines 29-31 in nfsconf.h (#include {types,param,mount}.h)
up before the #if to include rpcv2. something to consider if you
expect grandma to be able to build SFS on her new powerbook.


----- Forwarded message from Dan Aguayo <***@csail.mit.edu> -----

Date: Thu, 11 Aug 2005 14:52:13 -0400
From: Dan Aguayo <***@csail.mit.edu>
To: ***@sfs.fs.net
Subject: compiling under mac osx 10.4
User-Agent: Mutt/1.4.2.1i

I am trying to build SFS from CVS under MacOS X version 10.4.2, as
directed by the instructions that the FAQ points to.

configure tells me:

checking for nfs/nfsproto.h... yes
checking for nfs_args mount structure... no
configure: error: Could not find NFS mount argument structure!

this message brings back some fond memories, but I don't know how
to fix it this time. couldn't find anything about it in the mailing
list archives. any suggestions?

(I don't know anything about macs.)

thanks.

----- End forwarded message -----

Loading...