Discussion:
[linux-lvm] ‘LVMETAD_PIDFILE’ undeclared when compiling
Pirate Fibonacci
2014-09-17 21:43:27 UTC
Permalink
error happens from lvm2/daemons/lvmetad

I'm using lvm2 from git repo. master branch as of this morning.
on fedora20.

in lvm2 base dir

# grep LVMETAD_PIDFILE *config*
config.log:LVMETAD_PIDFILE=''
config.status:S["LVMETAD_PIDFILE"]=""
configure:LVMETAD_PIDFILE
configure: withval=$with_lvmetad_pidfile; LVMETAD_PIDFILE=$withval
configure: LVMETAD_PIDFILE="$DEFAULT_PID_DIR/lvmetad.pid"
configure:#define LVMETAD_PIDFILE "$LVMETAD_PIDFILE"
configure.in: LVMETAD_PIDFILE=$withval,
configure.in: LVMETAD_PIDFILE="$DEFAULT_PID_DIR/lvmetad.pid")
configure.in: AC_DEFINE_UNQUOTED(LVMETAD_PIDFILE, ["$LVMETAD_PIDFILE"],
configure.in:AC_SUBST(LVMETAD_PIDFILE)


the log says it's unset... not sure how to tell configure how to set this
variable in
the header files?

thanks

Jeffrey
Alasdair G Kergon
2014-09-18 10:16:56 UTC
Permalink
Post by Pirate Fibonacci
error happens from lvm2/daemons/lvmetad
What error messages?
Post by Pirate Fibonacci
the log says it's unset... not sure how to tell configure how to set this
variable in
the header files?
What is the configure line that are you using?

If you've been experimenting with different ones, it's a good idea to 'make
distclean' before starting again.

Alasdair
Pirate Fibonacci
2014-09-18 10:55:51 UTC
Permalink
I started with no options, and then with below

./configure --with-lvmetad_pidfile=/run/lvmetad.pid

same results in both cases.

config.log:LVMETAD_PIDFILE='''
config.status:S["LVMETAD_PIDFILE"]=""

make distclean before no help

shouldn't configure with no options work? suggestions...

thanks
Post by Alasdair G Kergon
Post by Pirate Fibonacci
error happens from lvm2/daemons/lvmetad
What error messages?
Post by Pirate Fibonacci
the log says it's unset... not sure how to tell configure how to set this
variable in
the header files?
What is the configure line that are you using?
If you've been experimenting with different ones, it's a good idea to 'make
distclean' before starting again.
Alasdair
Loading...