On February 28, 2018 12:46:11 PM CST, Tim Tassonis <[email protected]> wrote: > > >On February 28, 2018 19:42:25 Pierre Labastie <[email protected]> >wrote: > >> >> On 28/02/2018 19:11, Tim Tassonis wrote: >> > >>> Hi all >> > >> > >> > >> > >>> samba 4.7.4 fails to compile at my place due to the removal of the >rpc stuff >>> in glibc 2.27: >> > >> > >>> [1292/3607] Compiling >default/source3/librpc/gen_ndr/ndr_open_files.c >>> In file included from ../source3/include/includes.h:113:0, >> > from >default/source3/librpc/gen_ndr/ndr_open_files.c:3: >>> /usr/include/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such >file or >>> directory >> > #include <rpc/rpc.h> >> > ^~~~~~~~~~~ >>> compilation terminated. >>> Waf: Leaving directory `/lgl-bld/samba-4.7.4/bin' >>> Build failed: -> task failed (err #1): >> > {task: cc ndr_open_files.c -> ndr_open_files_3.o} >>> make: *** [Makefile:8: all] Error 1 >> > >> > >> > >> > >>> A quick search on digital information highway confirms that samba >4.7.4 does >>> not properly detect the new tircp/rpcsvc-proto libnsl stuff and has >fixed this >>> in 4.7.5. >> > >> > >> > >> > >>> I can confirm that samba 4.7.5 builds with latest blfs svn (r19898). >> >> >> >> Samba is scheduled to be updated to 4.7.5 before 8.2 release. OTOH, I >had no >> error building samba, because libnsl was not installed (while >libtirpc was): >> the error you see seems to imply that libnsl was installed: >> --- >> /usr/include/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such >file or >> directory >> --- >> At least, this shows that libnsl should be listed somewhere among >samba deps... > >Yes, I had to install libnsl in order to build exim, so that explains >my >breakage. > >Bye >Tim >> >> >> >> Pierre >> -- >> http://lists.linuxfromscratch.org/listinfo/blfs-dev >> FAQ: http://www.linuxfromscratch.org/blfs/faq.html >> Unsubscribe: See the above information page > > > >-- >http://lists.linuxfromscratch.org/listinfo/blfs-dev >FAQ: http://www.linuxfromscratch.org/blfs/faq.html >Unsubscribe: See the above information page
I ran into it too, without libnsl. CFLAGS="-I/usr/include/tirpc -ltirpc" ./configure.... is good enough to get around it. --DJ -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
