/usr/local/share empty in 11.1

I’m trying to compile an old program of mine that makes use of some DBUS interfaces, and it looks like cmake is having trouble finding them. Naturally, I went looking for them too, and noticed my /usr/local/share directory is completely empty! A quick peek at some packages revealed that the DBUS interfaces are now hiding at /usr/share/dbus-1/interfaces. Whats the best way to let cmake know about the new location?

Here’s what I get when I try to compile…


> make
make[2]: *** No rule to make target `/usr/local/share/dbus-1/interfaces/org.kde.Kopete.xml', needed by `engine/org.kde.Kopete.cpp'.  Stop.
make[1]: *** [engine/CMakeFiles/plasma_engine_kopete_buddies.dir/all] Error 2
make: *** [all] Error 2
> ls /usr/local/share/

Thanks!

If you don’t find a better solution you could always hack around the problem and ln -s /usr/share/dbus-1 /usr/local/share/dbus-1.

you must use ./configure --prefix=/usr not the default prefix that is /usr/local :stuck_out_tongue:

Ahhh, that almost did it. I’m using cmake, so no configure here. The solution was to pop into ccmake and change CMAKE_INSTALL_PREFIX to /usr. Thanks!