Stephen Berman wrote:
On Thu, 26 Oct 2017 15:55:11 -0500 Bruce Dubbs <[email protected]> wrote:

Stephen Berman wrote:
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+'

No, it's CFLAGS+=... make, not configure.
                     ^^^^

Ah, ok.

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?

Armin already did that.

Ok.  (I had checked
http://linuxfromscratch.org/blfs/view/svn/general/autofs.html before
posting, but it hasn't been updated yet.)

It gets updated at 0215 US Central time.  The systemd version at 0445.

  -- Bruce

--
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