problems configuring util-linux-2.12

Michael D. Norwick mnorwick at centurytel.net
Mon Oct 30 21:48:51 EST 2006


Kevin Coffman wrote:
> In answer to your original question. I don't think that message is an
> error/complaint. It is just informational. The configure script
> prints either "You don't need -lcrypt" or "You need -lcrypt". It
> doesn't indicate whether it was found or not. Are you actually
> getting an error related to this when you try to build?
>
> On 10/29/06, Michael D. Norwick <mnorwick at centurytel.net> wrote:
>> After downloading and unpacking source for util-linux-2.12 I applied the
>> CITI NFS4 patches per the instructions then ran configure and recieved
>>
<snip>

>> Thank You,
>> Michael
>>
>> PS The CITI patched libraries (rpcsecgss and gssapi configure and build
>> without error as does linux-kernel 2.6.18-rc6-CITI_NFS4. I have not
>> built nfs-utils yet.
>> _______________________________________________
>> NFSv4 mailing list
>> NFSv4 at linux-nfs.org
>> http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4
>>
>>
>
>
I've been trying to build nfs-utils taking a clue from Mr. Fields remark
that nfs-utils includes it's own 'mount' program. I did try making
util-linux but it bombed trying to compile;

cc -s fsck.minix.o -o fsck.minix
cc -c -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall
-Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64
-DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\"
-DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 mkfs.minix.c -o
mkfs.minix.o
mkfs.minix.c: In function ‘setup_tables’:
mkfs.minix.c:476: error: invalid lvalue in assignment
mkfs.minix.c:477: error: invalid lvalue in assignment
mkfs.minix.c:478: error: invalid lvalue in assignment
mkfs.minix.c:496: error: invalid lvalue in assignment
mkfs.minix.c:497: error: invalid lvalue in assignment
mkfs.minix.c:498: error: invalid lvalue in assignment
mkfs.minix.c:505: error: invalid lvalue in assignment
make[1]: *** [mkfs.minix.o] Error 1
make[1]: Leaving directory `/usr/src/util-linux-2.12/disk-utils'
make: *** [all] Error 1

Alas, nfs-utils has it's own issues. I built krb5-1.5.1, (CITI patched)
librpcsecgss-0.14, and (CITI patched) libgssapi-0.10 and installed to
/opt to keep them away from Debian installed binaries. I issued the
following to (CITI patched) nfs-utils-1.0.10 ./configure;

rocinante:/usr/src/nfs-utils-1.0.10# ./configure --prefix=/opt
--enable-mount --with-krb5=/opt
RPCSECGSS_CFLAGS=-I/opt/include/rpcsecgss/rpc RPCSECGSS_LIBS=-L/opt/lib
GSSAPI_CFLAGS=-I/opt/include/gssglue/gssapi GSSAPI_LIBS=-L/opt/lib

and I get;

make[2]: Leaving directory `/usr/src/nfs-utils-1.0.10/utils/idmapd'
Making all in gssd
make[2]: Entering directory `/usr/src/nfs-utils-1.0.10/utils/gssd'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../support/include
-I../../support/include -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -pipe
-g -O2 -I/opt/include/rpcsecgss/rpc -I/opt/include -g -O2 -MT
gssd-context.o -MD -MP -MF ".deps/gssd-context.Tpo" -c -o gssd-context.o
`test -f 'context.c' || echo './'`context.c; \
then mv -f ".deps/gssd-context.Tpo" ".deps/gssd-context.Po"; else rm -f
".deps/gssd-context.Tpo"; exit 1; fi
context.c:37:26: error: rpc/auth_gss.h: No such file or directory
make[2]: *** [gssd-context.o] Error 1
make[2]: Leaving directory `/usr/src/nfs-utils-1.0.10/utils/gssd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/nfs-utils-1.0.10/utils'
make: *** [all-recursive] Error 1

although ls -l /opt/include/rpcsecgss/rpc shows;

rocinante:/opt/include/rpcsecgss/rpc# ls -l
total 40
-rw-r--r-- 1 root root 4583 2006-10-29 22:56 auth_gss.h
-rw-r--r-- 1 root root 7288 2006-10-29 22:56 auth.h
-rw-r--r-- 1 root root 3793 2006-10-29 22:56 rpc.h
-rw-r--r-- 1 root root 4072 2006-10-29 22:56 rpcsecgss_rename.h
-rw-r--r-- 1 root root 2611 2006-10-29 22:56 svc_auth.h
-rw-r--r-- 1 root root 10610 2006-10-29 22:56 svc.h

So I'm guessing that mere mortals should stick with Debian and Fedora
binaries and leave gcc and make to the high priests.:)

Michael



More information about the NFSv4 mailing list