From: "Philip Ong Jr." <pongjr@gmail.com>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: problem installing 5.0.5
Date: Wed, 27 Jan 2010 17:32:34 -0800 [thread overview]
Message-ID: <4B60E932.2080304@gmail.com> (raw)
In-Reply-To: <4B5FAEC5.9050007@themaw.net>
I cloned from the git repository and still am receiving the error. I'll
see if I can get it from Centos, but it may not be an option if I have
to update the kernel.
_DIR=\"/etc/sysconfig\" -DAUTOFS_FIFO_DIR=\"/var/run\"
-DAUTOFS_FLAG_DIR=\"/var/run\" -DVERSION_STRING=\"5.0.5\"
-I/usr/include/libxml2 -c lookup.c
gcc -g -Wall -DDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -rdynamic -fPIE
-D_GNU_SOURCE -I../include -DAUTOFS_LIB_DIR=\"/usr/lib/autofs\"
-DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/sysconfig\"
-DAUTOFS_FIFO_DIR=\"/var/run\" -DAUTOFS_FLAG_DIR=\"/var/run\"
-DVERSION_STRING=\"5.0.5\" -I/usr/include/libxml2 -c state.c
gcc -g -Wall -DDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -rdynamic -fPIE
-D_GNU_SOURCE -I../include -DAUTOFS_LIB_DIR=\"/usr/lib/autofs\"
-DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/sysconfig\"
-DAUTOFS_FIFO_DIR=\"/var/run\" -DAUTOFS_FLAG_DIR=\"/var/run\"
-DVERSION_STRING=\"5.0.5\" -I/usr/include/libxml2 -c flag.c
gcc -g -lpthread -rdynamic -pie -o automount automount.o indirect.o
direct.o spawn.o module.o mount.o lookup.o state.o flag.o
../lib/autofs.a -ldl -lxml2 -lz -lpthread -lm
: automount
make[1]: Leaving directory `/tmp/automounter/autofs/daemon'
make[1]: Entering directory `/tmp/automounter/autofs/modules'
Makefile:75: Extraneous text after `else' directive
Makefile:80: Extraneous text after `else' directive
Makefile:80: *** only one `else' per conditional. Stop.
make[1]: Leaving directory `/tmp/automounter/autofs/modules'
make: *** [daemon] Error 2
Ian Kent wrote:
> On 01/27/2010 03:55 AM, Philip Ong Jr. wrote:
>
>> I have not, how do I go about doing that?
>>
>
> Clone the git repository:
>
> git clone git://git.kernel.org/pub/scm/linux/storage/autofs/autofs.git
> cd autofs
> ./configure --disable-mount-locking --enable-ignore-busy
> DEBUG=1 make
>
> should work.
>
> If this still doesn't work and you are not able to update your make then
> consider grabbing the autofs5 package from CentOS 4u8 (if u8 is
> available) and use that. That package is reasonably up to date wrt.
> 5.0.5. You will need to check when autofs5 was added to CentOS 4 because
> it will require the kernel of at least that CentOS 4 update. Indeed, if
> you do manage to build 5.0.5 from source (+ patches) and you do not have
> a kernel with the version 5 patches it will refuse to start. So you need
> to do this check anyway.
>
>
>> Phil
>>
>> Ian Kent wrote:
>>
>>> On 01/26/2010 07:40 AM, Philip Ong Jr. wrote:
>>>
>>>
>>>> I applied the patches starting from top to down...and now receiving
>>>> error messages pertaining to conditional statements.
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-fix-included-map-read-fail-handling.patch
>>>>
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-refactor-ldap-sasl-bind.patch
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.4-add-mount-wait-parameter.patch
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-special-case-cifs-escapes.patch
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-fix-libxml2-workaround-configure.patch
>>>>
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-more-code-analysis-corrections.patch
>>>>
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-fix-backwards-ifndef-INET6.patch
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-fix-stale-init-for-file-map-instance.patch
>>>>
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-fix-ext4-fsck-at-mount.patch
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-dont-use-master_lex_destroy-to-clear-parse-buffer.patch
>>>>
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-make-documentation-for-set-log-priority-clearer.patch
>>>>
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-fix-timeout-in-connect_nb.patch
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-fix-pidof-init-script-usage.patch
>>>>
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-check-for-path-mount-location-in-generic-module.patch
>>>>
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-dont-fail-mount-on-access-fail.patch
>>>>
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-fix-rpc-large-export-list.patch
>>>>
>>>> patch -p1 <
>>>> /usr/src/autofs-5.0.5/patches/autofs-5.0.5-fix-memory-leak-on-reload.patch
>>>>
>>>>
>>>> # ./configure --disable-mount-locking --enable-ignore-busy
>>>>
>>>> # DEBUG=1 make
>>>>
>>>> gcc -g -lpthread -rdynamic -pie -o automount automount.o indirect.o
>>>> direct.o spawn.o module.o mount.o lookup.o state.o flag.o
>>>> ../lib/autofs.a -ldl -lxml2 -lz -lpthread -lm
>>>> : automount
>>>> make[1]: Leaving directory `/usr/src/autofs-5.0.5/daemon'
>>>> make[1]: Entering directory `/usr/src/autofs-5.0.5/modules'
>>>> Makefile:75: Extraneous text after `else' directive
>>>> Makefile:80: Extraneous text after `else' directive
>>>> Makefile:80: *** only one `else' per conditional. Stop.
>>>> make[1]: Leaving directory `/usr/src/autofs-5.0.5/modules'
>>>> make: *** [daemon] Error 2
>>>>
>>>> Thoughts?
>>>>
>>>>
>>> Oh ... bummer, wonder how I've broken the patch series?
>>>
>>> I'll check it out and get back to you.
>>> In the meantime, have you tried checking out the git repo and building
>>> that?
>>>
>>> Ian
>>>
>>>
>>>
>
>
>
next prev parent reply other threads:[~2010-01-28 1:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-22 7:50 problem installing 5.0.5 Philip Ong Jr.
2010-01-25 3:28 ` Ian Kent
2010-01-25 23:40 ` Philip Ong Jr.
2010-01-26 14:25 ` Ian Kent
2010-01-26 19:55 ` Philip Ong Jr.
2010-01-27 3:11 ` Ian Kent
2010-01-28 1:32 ` Philip Ong Jr. [this message]
2010-01-27 2:55 ` Ian Kent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B60E932.2080304@gmail.com \
--to=pongjr@gmail.com \
--cc=autofs@linux.kernel.org \
--cc=raven@themaw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.