On Thu, 26 Oct 2017 14:41:08 -0500 Bruce Dubbs <[email protected]> wrote:

> Stephen Berman wrote:
>> On Thu, 26 Oct 2017 20:57:32 +0200 "Armin K." <[email protected]> wrote:
[...]
>>> Try installing libtirpc and pass CFLAGS="-I/usr/include/tirpc" to the
>>> configure script invocation. If the link process fails, you may also
>>> need to pass LDFLAGS="-ltirpc".
>>
>> I installed libtirpc and tried with just CFLAGS and with both CFLAGS and
>> LDFLAGS, but the build failed the same as before:
>>
>> ../include/rpc_subs.h:19:10: fatal error: rpc/rpc.h: No such file or 
>> directory
>
> Recheck if /usr/include/tirpc/rpc/rpc.h exists.  It is installed as a part of
> libtirpc.

It's there (and was when I got the above failure).

> With the above CFLAGS setting, gcc should find it.  Use
>
> CFLAGS+=-I/usr/include/tirpc/ make

I guess the + sign is a typo?  It results in this: 

configure: error: invalid variable name: `CFLAGS+'

But anyway...

On Thu, 26 Oct 2017 21:43:07 +0200 "Armin K." <[email protected]> wrote:

>> Any other ideas?
>> 
>> Steve Berman
>
>>From a quick look at the package, there's --with-libtirpc configure
> parameter, which causes package to compile properly.

Thanks, I overlooked that, though it right there on the page :-(.

This means the BLFS build instructions for autofs need to be corrected
to make libtirpc a required dependency, right?

Steve Berman
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to