On Mon, Mar 19, 2012 at 10:37 PM, Nathan Coulson <[email protected]> wrote:
> On Mon, Mar 19, 2012 at 9:50 PM, Bruce Dubbs <[email protected]> wrote:
>> Nathan Coulson wrote:
>>> Right off the bat, I had a ../include/rpc_subs.h:19:21: fatal error:
>>> rpc/rpc.h: No such file or directory
>>>
>>> libtirpc fixed that
>>>
>>> went on, but got stuck at
>>>
>>> make[1]: Entering directory `/mnt/data/book/blfs/12/autofs-5.0.6/lib'
>>> gcc -O2 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I../include -fPIC
>>> -D_GNU_SOURCE -DAUTOFS_MAP_DIR=\"/etc\"
>>> -DAUTOFS_CONF_DIR=\"/etc/sysconfig\" -c defaults.c
>>> In file included from defaults.c:22:0:
>>> ../include/lookup_ldap.h:4:18: fatal error: ldap.h: No such file or 
>>> directory
>>>
>>> looks like defaults.c included lookup_ldap.h, which includes ldap (no
>>> ifdef's), making me wonder, if ldap is now a required dependency...
>>
>> Yes, that's what I thought.
>>
>>> If ldap is part of the equation, this will take more time then just
>>> tonight, but here's my summary so far
>>>
>>> Required Dependencies: libtirc, possibly ldap
>>>
>>> the BLFS book is installing the autofs package found in
>>> samples/rc.autofs.in, then creating a symlink (which we need to
>>> update)
>>> ln -sf  ../init.d/autofs /etc/rc.d/rcsysinit.d/S52autofs
>>>
>>> I also attached a patch to the current autofs to bring it in line with
>>> the updated LSB bootscripts (untested on autofs at this time, and I
>>> took out some of the optional parameters).  The /etc/init.d/autofs
>>> provided by the autofs tarball looks more comprehensive.
>>
>> Please be sure to add the LSB section to the bootscripts.
>>
>>   -- Bruce
>
> I remembered when I started updating it, if that counts :)  [forgot
> while updating]
>
> --
> Nathan Coulson (conathan)
> ------

--without-sasl
--without-openldap

those are the magic options that let me skip ldap (I did install
openldap first though...  so not sure if this is a fair test)

added /media /etc/auto.misc --ghost to /etc/auto.master, and vola

I now have a directory called cd.  and vola.

The bootscript that comes with autofs appears to be working fine
(starts & stops), although it does not have our pretty lsb functions.

I'll go over the included bootscript in more detail, and see if I can
bring it up to lfs specifications.  I have not tested autofs with the
patched bootscript on the last email yet

-- 
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to