* make errors for autofs 5.0.4/5.0.5
@ 2011-02-01 0:39 Philip Ong Jr.
2011-02-02 21:11 ` Ryan Go
0 siblings, 1 reply; 2+ messages in thread
From: Philip Ong Jr. @ 2011-02-01 0:39 UTC (permalink / raw)
To: autofs
I've applied all the patches for both trees, but i'm getting these errors.
I'm running a kernel.org kernel 2.6.29.4 64bit RHEL4u5. Are there any
specific software requirements for compiling?
make[1]: Leaving directory `/usr/src/autofs-5.0.4/lib'
make[1]: Entering directory `/usr/src/autofs-5.0.4/daemon'
gcc -O2 -Wall -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.4\" -c automount.c
automount.c:43:27: libxml/parser.h: No such file or directory
automount.c: In function `main':
automount.c:2118: warning: implicit declaration of function `xmlInitParser'
automount.c:2163: warning: implicit declaration of function
`xmlCleanupParser'
make[1]: *** [automount.o] Error 1
make[1]: Leaving directory `/usr/src/autofs-5.0.4/daemon'
make: *** [daemon] Error 2
gcc -O2 -Wall -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\" -c flag.c
gcc -s -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
strip --strip-debug 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: make errors for autofs 5.0.4/5.0.5
2011-02-01 0:39 make errors for autofs 5.0.4/5.0.5 Philip Ong Jr.
@ 2011-02-02 21:11 ` Ryan Go
0 siblings, 0 replies; 2+ messages in thread
From: Ryan Go @ 2011-02-02 21:11 UTC (permalink / raw)
To: Philip Ong Jr.; +Cc: autofs
On Mon, 31 Jan 2011, Philip Ong Jr. wrote:
> I've applied all the patches for both trees, but i'm getting these errors.
>
> I'm running a kernel.org kernel 2.6.29.4 64bit RHEL4u5. Are there any
> specific software requirements for compiling?
>
> make[1]: Leaving directory `/usr/src/autofs-5.0.4/lib'
> make[1]: Entering directory `/usr/src/autofs-5.0.4/daemon'
> gcc -O2 -Wall -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.4\" -c automount.c
> automount.c:43:27: libxml/parser.h: No such file or directory
^^^^^^^^^^^^^^^
You would need to have the libxml development libraries installed to
compile. I am not sure what RedHat calls it (for reference, it's
libxml2-devel for OpenSuSE 11.2).
HTH,
Ryan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-02 21:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-01 0:39 make errors for autofs 5.0.4/5.0.5 Philip Ong Jr.
2011-02-02 21:11 ` Ryan Go
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.