On Fri, Aug 23, 2019 at 02:49:15AM +0100, Ken Moffat via blfs-dev wrote:
> With the book's current instructions, ModemManager (which appears to
> now be _required_ for geoclue, but maybe I'm misunderstanding the
> meson options for geoclue) fails to build:
> 
> checking for vapigen... yes
> Package systemd was not found in the pkg-config search path.
> Perhaps you should add the directory containing `systemd.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'systemd' found
> checking for GUDEV... yes
> checking for LIBSYSTEMD... no
> checking for LIBSYSTEMD_LOGIN... no
> configure: error: libsystemd or libsystemd-login development headers are 
> required
> 
> There is an old patch from DJ to update configure.ac and
> Makefile.in, but the Makefile.in part rejects.  I've now managed to
> build it using the following (based on gentoo) :
> 
> LIBSYSTEMD_LOGIN_CFLAGS=`pkg-config --cflags "libelogind"` \
> LIBSYSTEMD_LOGIN_LIBS=`pkg-config --libs "libelogind"` \
> ./configure --prefix=/usr \
> (etc).
> 
> I've no idea if it works, and I see that the build was not verbose -
> but I don't really have a use for MM, or even for geoclue (unless it
> turns out to be the magic bullet for epiphany), just trying to check
> that things build.
> 
> ĸen

After running a verbose build, and a verbose DESTDIR install,
followed by ldd on all the libs in the DESTDIR, I think that for
the sysv book elogind is just a build dependency, i.e. it doesn't
actually link to it.

But I have no use for ModemManager, except that geoclue seems to
require it.  Not sure if I should put this in the sysv book ?

ĸen
> -- 
> Adopted by dwarfs, brought up by dwarfs.  To dwarfs I'm a dwarf, sir.
> I can do the rite of k'zakra, I know the secrets of h'ragna, I can
> ha'lk my g'rakha correctly ... I am a dwarf
>            Captain Carrot Ironfoundersson (in The Fifth Elephant)
> -- 
> http://lists.linuxfromscratch.org/listinfo/blfs-dev
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page

-- 
Adopted by dwarfs, brought up by dwarfs.  To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
           Captain Carrot Ironfoundersson (in The Fifth Elephant)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to