compile question

Asked by Russell Draper

Attempting to build lightdm 1.9.3 and now 1.9.5 with same issue. I've ran configure and make with stdout and stderr redirected to an out file if that would help.

[rdraper@mattresskitten lightdm-1.9.5]$ make
make all-recursive
make[1]: Entering directory `/home/rdraper/Development/lightdm-1.9.5'
Making all in liblightdm-qt
make[2]: Entering directory `/home/rdraper/Development/lightdm-1.9.5/liblightdm-qt'
  MOC4 greeter_moc4.cpp
  MOC4 power_moc4.cpp
  MOC4 sessionsmodel_moc4.cpp
  MOC4 usersmodel_moc4.cpp
make all-am
make[3]: Entering directory `/home/rdraper/Development/lightdm-1.9.5/liblightdm-qt'
  CXX liblightdm_qt_3_la-greeter.lo
  CXX liblightdm_qt_3_la-power.lo
  CXX liblightdm_qt_3_la-sessionsmodel.lo
  CXX liblightdm_qt_3_la-usersmodel.lo
  CXXLD liblightdm-qt-3.la
/usr/bin/ld: cannot find -llightdm-gobject-1
collect2: error: ld returned 1 exit status
make[3]: *** [liblightdm-qt-3.la] Error 1
make[3]: Leaving directory `/home/rdraper/Development/lightdm-1.9.5/liblightdm-qt'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/rdraper/Development/lightdm-1.9.5/liblightdm-qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rdraper/Development/lightdm-1.9.5'
make: *** [all] Error 2
[rdraper@mattresskitten lightdm-1.9.5]$ locate lightdm-gobject-1 |grep -v rdraper
/usr/lib64/liblightdm-gobject-1.so.0
/usr/lib64/liblightdm-gobject-1.so.0.0.0
/usr/share/doc/lightdm-gobject-1.6.3
/usr/share/doc/lightdm-gobject-1.6.3/COPYING.LGPL2
/usr/share/doc/lightdm-gobject-1.6.3/COPYING.LGPL3

Question information

Language:
English Edit question
Status:
Answered
For:
Light Display Manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Russell Draper (rusty-draper) said :
#1

Update:

Realized I did not have lightdm-qt-devel or lightdm-gobject-devel installed. Now those are installed, I get a new error:

  CXX test_qt4_greeter-test-qt-greeter.o
  CC test_qt4_greeter-status.o
  MOC4 test-qt4-greeter_moc4.cpp
  CXX test_qt4_greeter-test-qt4-greeter_moc4.o
  CXXLD test-qt4-greeter
/home/rdraper/Development/lightdm-1.9.5/liblightdm-qt/.libs/liblightdm-qt-3.so: undefined reference to `light dm_session_get_session_type'
collect2: error: ld returned 1 exit status
make[3]: *** [test-qt4-greeter] Error 1
make[3]: Leaving directory `/home/rdraper/Development/lightdm-1.9.5/tests/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rdraper/Development/lightdm-1.9.5/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rdraper/Development/lightdm-1.9.5'
make: *** [all] Error 2

Revision history for this message
Robert Ancell (robert-ancell) said :
#2

It appears that for some reason you're not compiling liblightdm-gobject (either due to configuring with --disable-liblightdm-gobject or missing a dependency). liblightdm-qt wraps this library so it needs to be compiled.

I've fixed the configure rules in lp:~robert-ancell/lightdm/no-gobject so this is disallowed.

Can you help with this problem?

Provide an answer of your own, or ask Russell Draper for more information if necessary.

To post a message you must log in.