Lightdm compiling fails on Arch Linux

Bug #972297 reported by Jerome Leclanche on 2012-04-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
Medium
Unassigned

Bug Description

Unable to compile lightdm on Arch:

% make
  CC liblightdm_gobject_1_la-greeter.lo
  CCLD liblightdm-gobject-1.la
% make -j1
make all-recursive
make[1]: Entering directory `/home/adys/src/dist/lightdm'
Making all in liblightdm-qt
make[2]: Entering directory `/home/adys/src/dist/lightdm/liblightdm-qt'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/adys/src/dist/lightdm/liblightdm-qt'
Making all in tests
make[2]: Entering directory `/home/adys/src/dist/lightdm/tests'
Making all in src
make[3]: Entering directory `/home/adys/src/dist/lightdm/tests/src'
  CCLD test-gobject-greeter
/home/adys/src/dist/lightdm/liblightdm-gobject/.libs/liblightdm-gobject-1.so: undefined reference to `xkl_config_registry_foreach_layout'
/home/adys/src/dist/lightdm/liblightdm-gobject/.libs/liblightdm-gobject-1.so: undefined reference to `XOpenDisplay'
/home/adys/src/dist/lightdm/liblightdm-gobject/.libs/liblightdm-gobject-1.so: undefined reference to `xkl_config_registry_foreach_layout_variant'
/home/adys/src/dist/lightdm/liblightdm-gobject/.libs/liblightdm-gobject-1.so: undefined reference to `xkl_config_rec_new'
/home/adys/src/dist/lightdm/liblightdm-gobject/.libs/liblightdm-gobject-1.so: undefined reference to `xkl_config_rec_get_from_server'
/home/adys/src/dist/lightdm/liblightdm-gobject/.libs/liblightdm-gobject-1.so: undefined reference to `xkl_engine_get_instance'
/home/adys/src/dist/lightdm/liblightdm-gobject/.libs/liblightdm-gobject-1.so: undefined reference to `xkl_config_registry_get_instance'
/home/adys/src/dist/lightdm/liblightdm-gobject/.libs/liblightdm-gobject-1.so: undefined reference to `xkl_config_rec_activate'
/home/adys/src/dist/lightdm/liblightdm-gobject/.libs/liblightdm-gobject-1.so: undefined reference to `xkl_config_registry_load'
collect2: ld returned 1 exit status
make[3]: *** [test-gobject-greeter] Error 1
make[3]: Leaving directory `/home/adys/src/dist/lightdm/tests/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/adys/src/dist/lightdm/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/adys/src/dist/lightdm'
make: *** [all] Error 2

Robert Ancell (robert-ancell) wrote :

this is master right?

Changed in lightdm:
status: New → Incomplete

Yes, at least it was at the time I filed it.

reed (reed-reedmedia) wrote :

I hit the same problem.

According to
http://<email address hidden>/msg03891.html
the API changed in libxklavier 4.0.

My problem was fixed from upgrading from libxklavier-3.8 to libxklavier-5.0.

Maybe change the configure.ac PKG_CHECK_MODULES references to check for at least 4.0.

reed (reed-reedmedia) wrote :

I mean not the same problem, but similar.

Matt Fischer (mfisch) on 2012-06-12
Changed in lightdm:
status: Incomplete → New
Matt Fischer (mfisch) on 2012-06-13
summary: - Lightdm compiling breaks
+ Lightdm compiling fails on Arch Linux
Robert Ancell (robert-ancell) wrote :

The API change wouldn't have affected this. The output indicates that liblightdm-gobject is not correctly linking against libxklavier though the Makefile requires that it does so. Does this still occur? Can you attach the full build output?

Changed in lightdm:
importance: Undecided → Medium
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers