Build is broken without working DISPLAY

Andreas Pakulat apaku at gmx.de
Tue Sep 29 16:10:21 UTC 2009


Hi,

it seems like amarok cannot be built "headless", i.e. without a logged-in
user. The problem is the test for the QtScript bindings:

findgeneratorplugins(1270): Session bus not found

KCrash: Application 'bindingstest' crashing...
sock_file=/home/andreas/.kde/socket-trinity/kdeinit4__0
Warning: connect() failed: : No such file or directory
Unable to start Dr. Konqi

The reason is most probably that KApplication can be used with GUI, but not
without X11 connection. So the bindings test should be reduced to
QCoreApplication usage. (or QApplication without GUI, which does support
usage without X11 connection).

Andreas

-- 
You will be imprisoned for contributing your time and skill to a bank robbery.



More information about the Amarok mailing list