* [NFS] Compileing nfs-utils 1.1.5 on RHEL4 fails in tcpwrapper.c
@ 2009-03-26 16:37 Giulio Troccoli
2009-03-27 13:59 ` Steve Dickson
0 siblings, 1 reply; 5+ messages in thread
From: Giulio Troccoli @ 2009-03-26 16:37 UTC (permalink / raw)
To: nfs@lists.sourceforge.net; +Cc: Giulio Troccoli
Hi,
I want to upgrade nfs-utils from 1.0.6 to 1.1.5, so I have downloaded the source code form sourceforge.net and issue the following ./configure command
./configure --disable-nfsv4 --disable-static --with-statduser=rpcuser --disable-gss
Which finishes without errors. But then when I make I get the following
make[2]: Entering directory `/usr/local/src/nfs-utils-1.1.5/support/misc'
gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include -D_GNU_SOURCE -Wall -Wstrict-prototypes -pipe -g -O2 -MT tcpwrapper.o -MD -MP -MF .deps/tcpwrapper.Tpo -c -o tcpwrapper.o tcpwrapper.c
tcpwrapper.c: In function `haccess_add':
tcpwrapper.c:117: warning: implicit declaration of function `TAILQ_EMPTY'
tcpwrapper.c:119: error: syntax error before "else"
tcpwrapper.c: At top level:
tcpwrapper.c:121: error: syntax error before '}' token
tcpwrapper.c: In function `haccess_lookup':
tcpwrapper.c:131: warning: implicit declaration of function `TAILQ_FOREACH'
tcpwrapper.c:131: error: `list' undeclared (first use in this function)
tcpwrapper.c:131: error: (Each undeclared identifier is reported only once
tcpwrapper.c:131: error: for each function it appears in.)
tcpwrapper.c:131: error: syntax error before '{' token
make[2]: *** [tcpwrapper.o] Error 1
make[2]: Leaving directory `/usr/local/src/nfs-utils-1.1.5/support/misc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/nfs-utils-1.1.5/support'
make: *** [all-recursive] Error 1
I have found the TAILQ_ definitions in utils/idmapd/queue.h but most importantly in /usr/include/sys/queue.h which tcpwrapper.c should have picked up.
Can anubody help? I'm not subscribed to the list so please make sure to CC me.
Thanks
Giulio
Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447
------------------------------------------------------------------------------
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@lists.sourceforge.net is being discontinued.
Please subscribe to linux-nfs@vger.kernel.org instead.
http://vger.kernel.org/vger-lists.html#linux-nfs
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [NFS] Compileing nfs-utils 1.1.5 on RHEL4 fails in tcpwrapper.c 2009-03-26 16:37 [NFS] Compileing nfs-utils 1.1.5 on RHEL4 fails in tcpwrapper.c Giulio Troccoli @ 2009-03-27 13:59 ` Steve Dickson [not found] ` <49CCDBD2.2000709-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Steve Dickson @ 2009-03-27 13:59 UTC (permalink / raw) To: Giulio Troccoli; +Cc: nfs@lists.sourceforge.net Giulio Troccoli wrote: > Hi, > > I want to upgrade nfs-utils from 1.0.6 to 1.1.5, so I have downloaded the source code form sourceforge.net and issue the following ./configure command > > ./configure --disable-nfsv4 --disable-static --with-statduser=rpcuser --disable-gss > > Which finishes without errors. But then when I make I get the following > > make[2]: Entering directory `/usr/local/src/nfs-utils-1.1.5/support/misc' > gcc -DHAVE_CONFIG_H -I. -I../../support/include -I/usr/include -D_GNU_SOURCE -Wall -Wstrict-prototypes -pipe -g -O2 -MT tcpwrapper.o -MD -MP -MF .deps/tcpwrapper.Tpo -c -o tcpwrapper.o tcpwrapper.c > tcpwrapper.c: In function `haccess_add': > tcpwrapper.c:117: warning: implicit declaration of function `TAILQ_EMPTY' > tcpwrapper.c:119: error: syntax error before "else" > tcpwrapper.c: At top level: > tcpwrapper.c:121: error: syntax error before '}' token > tcpwrapper.c: In function `haccess_lookup': > tcpwrapper.c:131: warning: implicit declaration of function `TAILQ_FOREACH' > tcpwrapper.c:131: error: `list' undeclared (first use in this function) > tcpwrapper.c:131: error: (Each undeclared identifier is reported only once > tcpwrapper.c:131: error: for each function it appears in.) > tcpwrapper.c:131: error: syntax error before '{' token > make[2]: *** [tcpwrapper.o] Error 1 > make[2]: Leaving directory `/usr/local/src/nfs-utils-1.1.5/support/misc' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/nfs-utils-1.1.5/support' > make: *** [all-recursive] Error 1 > > I have found the TAILQ_ definitions in utils/idmapd/queue.h but most importantly in /usr/include/sys/queue.h which tcpwrapper.c should have picked up. > > Can anubody help? I'm not subscribed to the list so please make sure to CC me. This is a bit strange... What environment are you compiling this in? You can also try the "--without-tcp-wrappers" config flag steved. ------------------------------------------------------------------------------ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs _______________________________________________ Please note that nfs@lists.sourceforge.net is being discontinued. Please subscribe to linux-nfs@vger.kernel.org instead. http://vger.kernel.org/vger-lists.html#linux-nfs ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <49CCDBD2.2000709-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>]
* Re: [NFS] Compileing nfs-utils 1.1.5 on RHEL4 fails in tcpwrapper.c [not found] ` <49CCDBD2.2000709-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org> @ 2009-03-27 14:15 ` Giulio Troccoli [not found] ` <49CD07F5.1070005@RedHat.com> 0 siblings, 1 reply; 5+ messages in thread From: Giulio Troccoli @ 2009-03-27 14:15 UTC (permalink / raw) To: 'Steve Dickson'; +Cc: nfs@lists.sourceforge.net > Linedata Services (UK) Ltd Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB Registered in England and Wales No 3027851 VAT Reg No 778499447 -----Original Message----- > From: Steve Dickson [mailto:SteveD@redhat.com] > Sent: 27 March 2009 14:00 > To: Giulio Troccoli > Cc: nfs@lists.sourceforge.net > Subject: Re: [NFS] Compileing nfs-utils 1.1.5 on RHEL4 fails > in tcpwrapper.c > > > > Giulio Troccoli wrote: > > Hi, > > > > I want to upgrade nfs-utils from 1.0.6 to 1.1.5, so I have > downloaded > > the source code form sourceforge.net and issue the following > > ./configure command > > > > ./configure --disable-nfsv4 --disable-static > --with-statduser=rpcuser > > --disable-gss > > > > Which finishes without errors. But then when I make I get the > > following > > > > make[2]: Entering directory > `/usr/local/src/nfs-utils-1.1.5/support/misc' > > gcc -DHAVE_CONFIG_H -I. -I../../support/include > -I/usr/include -D_GNU_SOURCE -Wall -Wstrict-prototypes -pipe > -g -O2 -MT tcpwrapper.o -MD -MP -MF .deps/tcpwrapper.Tpo -c > -o tcpwrapper.o tcpwrapper.c > > tcpwrapper.c: In function `haccess_add': > > tcpwrapper.c:117: warning: implicit declaration of function > `TAILQ_EMPTY' > > tcpwrapper.c:119: error: syntax error before "else" > > tcpwrapper.c: At top level: > > tcpwrapper.c:121: error: syntax error before '}' token > > tcpwrapper.c: In function `haccess_lookup': > > tcpwrapper.c:131: warning: implicit declaration of function > `TAILQ_FOREACH' > > tcpwrapper.c:131: error: `list' undeclared (first use in this > > function) > > tcpwrapper.c:131: error: (Each undeclared identifier is > reported only > > once > > tcpwrapper.c:131: error: for each function it appears in.) > > tcpwrapper.c:131: error: syntax error before '{' token > > make[2]: *** [tcpwrapper.o] Error 1 > > make[2]: Leaving directory > `/usr/local/src/nfs-utils-1.1.5/support/misc' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/usr/local/src/nfs-utils-1.1.5/support' > > make: *** [all-recursive] Error 1 > > > > I have found the TAILQ_ definitions in utils/idmapd/queue.h > but most importantly in /usr/include/sys/queue.h which > tcpwrapper.c should have picked up. > > > > Can anubody help? I'm not subscribed to the list so please > make sure to CC me. > This is a bit strange... What environment are you compiling this in? > You can also try the "--without-tcp-wrappers" config flag > > steved. Thanks Steve, that actually worked, i.e. it compiled. Only now I notice that ./configure --help does mention with package. Now, before I install the new NFS I'd like to make sure that I built NFS with what I need. I have a RHEL4 machine that we use for source control. On this server we have an up-to-date copy of the source code. Other building machines (at the moment an AIX and a Solaris) mount the copy of the source code as local file systems. The building area contains sym links to the mounted file system. >From time to time the build failes becuase some files are not available when they are compiled. This is not strictly true, the file is available but the building machine is told it's not. I'm not sure how to go on investigating and fixing this issue but I thought I would start getting the latest NFS. I don't know much about NFS and the option I chose for the configure script are just becuase otherwise it didn't compile. So, do you guys think that even without nfsv4, gss and tcp-wrapper I would achive what I need? Thanks a lot Giulio ------------------------------------------------------------------------------ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs _______________________________________________ Please note that nfs@lists.sourceforge.net is being discontinued. Please subscribe to linux-nfs@vger.kernel.org instead. http://vger.kernel.org/vger-lists.html#linux-nfs ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <49CD07F5.1070005@RedHat.com>]
[parent not found: <49CD07F5.1070005-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>]
* Re: [NFS] Compileing nfs-utils 1.1.5 on RHEL4 fails in tcpwrapper.c [not found] ` <49CD07F5.1070005-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org> @ 2009-03-30 9:06 ` Giulio Troccoli 2009-03-31 19:50 ` Steve Dickson 0 siblings, 1 reply; 5+ messages in thread From: Giulio Troccoli @ 2009-03-30 9:06 UTC (permalink / raw) To: 'Steve Dickson'; +Cc: nfs@lists.sourceforge.net > > From time to time the build failes becuase some files are not > > available when they are compiled. This is not strictly > true, the file > > is available but the building machine is told it's not. > Make sure the time on all the machines are synced with > something like ntpd. Could you explain to me why the time is important? It might sound as a silly question, but as I see it it's just one portion of a file system in the remote machine mounted on the file system on the building machine. > > I don't know much about NFS and the option I chose for the > configure > > script are just becuase otherwise it didn't compile. So, do > you guys > > think that even without nfsv4, gss and tcp-wrapper I would > achive what I need? > Not clear... There is a very good change running such a new > nfs-utils on an legacy release might cause more problem... Sorry, now that I read it again I see it's not very clear. The files on the remote machine are only read by the building machine. Nothing is written on the NFS mounted file system by the building machine. NFS is used so that we can share source code among differente building machines. To achive this, do I need nfsv4, gss and tcp-wrapper? In other words, what are nfsv4, gss and tcp-wrapper? Thanks for your help, it's very much appreciated. Giulio Linedata Services (UK) Ltd Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB Registered in England and Wales No 3027851 VAT Reg No 778499447 ------------------------------------------------------------------------------ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs _______________________________________________ Please note that nfs@lists.sourceforge.net is being discontinued. Please subscribe to linux-nfs@vger.kernel.org instead. http://vger.kernel.org/vger-lists.html#linux-nfs ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [NFS] Compileing nfs-utils 1.1.5 on RHEL4 fails in tcpwrapper.c 2009-03-30 9:06 ` Giulio Troccoli @ 2009-03-31 19:50 ` Steve Dickson 0 siblings, 0 replies; 5+ messages in thread From: Steve Dickson @ 2009-03-31 19:50 UTC (permalink / raw) To: Giulio Troccoli; +Cc: nfs@lists.sourceforge.net Giulio Troccoli wrote: >>> From time to time the build failes becuase some files are not >>> available when they are compiled. This is not strictly >> true, the file >>> is available but the building machine is told it's not. >> Make sure the time on all the machines are synced with >> something like ntpd. > > Could you explain to me why the time is important? It might sound as a silly question, but as I see it it's just one portion of a file system in the remote machine mounted on the file system on the building machine. > >>> I don't know much about NFS and the option I chose for the >> configure >>> script are just becuase otherwise it didn't compile. So, do >> you guys >>> think that even without nfsv4, gss and tcp-wrapper I would >> achive what I need? >> Not clear... There is a very good change running such a new >> nfs-utils on an legacy release might cause more problem... > > Sorry, now that I read it again I see it's not very clear. > > The files on the remote machine are only read by the building machine. > Nothing is written on the NFS mounted file system by the building > machine. NFS is used so that we can share source code among > differente building machines. To achive this, do I need nfsv4, gss > and tcp-wrapper? No. You do not need those to achive what your are looking for. > In other words, what are nfsv4, gss and tcp-wrapper? nfsv4 - is the latest NFS protocol version gss - used to secure NFS mounts tcp-wrapper - is a mechanism to allow or deny hosts access to your NFS server. > > Thanks for your help, it's very much appreciated. np.. steved. ------------------------------------------------------------------------------ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs _______________________________________________ Please note that nfs@lists.sourceforge.net is being discontinued. Please subscribe to linux-nfs@vger.kernel.org instead. http://vger.kernel.org/vger-lists.html#linux-nfs ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-03-31 19:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-26 16:37 [NFS] Compileing nfs-utils 1.1.5 on RHEL4 fails in tcpwrapper.c Giulio Troccoli
2009-03-27 13:59 ` Steve Dickson
[not found] ` <49CCDBD2.2000709-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-03-27 14:15 ` Giulio Troccoli
[not found] ` <49CD07F5.1070005@RedHat.com>
[not found] ` <49CD07F5.1070005-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-03-30 9:06 ` Giulio Troccoli
2009-03-31 19:50 ` Steve Dickson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).