install location problems

Andre Heinecke aheinecke at intevation.de
Fri Nov 11 10:07:47 UTC 2011


Hi,

On Friday 11 November 2011 10:45:20 Ralf Habacker wrote:
> Hi,
>
> in the past the KDE on Windows port has been faced with install path
> related issues caused by the fact that in opposite to unix/linx the end
> user install location differs from the build time install location.
> While several issue has been solved in the past, others may be still
> present.
>
> Patrick von Reth for example reported shortly ago that there are
> problems with dbus service files generated by the build system. The
> generated install location points to the build install location, which
> will not work on end users workstation.
>
> A few days ago Alexander Neundorf, the maintainer of the KDE
> buildsystem, asked me if there are still such problems, so if anyone
> know about open install location related problems, please report.
>
I also know of a similiar problem with shared-desktop-ontologies, the ontology 
files point with an absolute path to the trig files which is derived from 
CMAKE_INSTALL_PREFIX And so contains the "build system" paths.

This is worked around by soprano in that it also tries to load the trig files 
from the same directory as the ontology files.

Akonadi also uses paths generated at buildtime to look for agents etc. 
On Windows there is additional code that looks up those files based on 
akonadi's exe.path which is fine but can lead to some problems if you 
have "mounted" different build directories while trying to use KDE from 
another path.
(For example you have an msvc build mountet at R:\ and are trying to use a kde 
from c:\program files\kde\ which was also built with an R:\ install prefix) 
the load and find order gets confused at some places.

But i think this is nothing that can be solved in a general manner we just 
have to raise awareness that using absolute paths is an issue on Windows.

Regards,
Andre

-- 
Andre Heinecke |  ++49-541-335083-262 |  http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Kde-windows mailing list