[Kde-games-devel] Problem building libkdegames

Frederik Schwarzer schwarzer at kde.org
Tue Jun 12 21:49:42 UTC 2012


Am Dienstag, 12. Juni 2012, 20:18:49 schrieb Johannes Obermayr:
> Am Dienstag, 12. Juni 2012, 20:04:10 schrieb Frederik Schwarzer:
> > Am Dienstag, 12. Juni 2012, 19:55:05 schrieb Albert Astals Cid:
> > > El Dimarts, 12 de juny de 2012, a les 11:34:29, Frederik
> > > Schwarzer va
> > > 
> > > escriure:
> > > > Hi,
> > > > 
> > > > when I try to build kdegames to a custom location, I get an
> > > > eror on
> > > > 
> > > > install:
> > > >   Install the project...
> > > >   -- Install configuration: "RelWithDebInfo"
> > > >   -- Installing: /usr/local/lib/libkdegames.so.6.0.0
> > > >   
> > > >   CMake Error at libkdegames/cmake_install.cmake:50 (FILE):
> > > >     file INSTALL cannot copy file
> > > >     "/home/motoko/gitsvn/kdegames/build/lib/libkdegames.so.6.
> > > >     0.0" to "/usr/local/lib/libkdegames.so.6.0.0".
> > > >   
> > > >   Call Stack (most recent call first):
> > > >     cmake_install.cmake:37 (INCLUDE)
> > > >   
> > > >   make: *** [install] Error 1
> > > > 
> > > > Any idea if that's a local problem (I am building other KDE
> > > > stuff without that problem though) or if the cmake file
> > > > needs some tweaking?
> > > 
> > > You are trying to install into /usr/local without being root?
> > 
> > Ah, sorry, forgot to say. I am doing
> > 
> >     -DCMAKE_PREFIX_PATH=/home/motoko/usr
> > 
> > so some path is not set properly.
> > 
> > Regards
> 
> I assume you want -DCMAKE_INSTALL_PREFIX.
> 
> -DCMAKE_PREFIX_PATH is used for priority searches:
> http://blogs.kde.org/node/3800

After years of building KDE sorftware, I must have mixed them up at 
some point and since then I was feeding the wrong stuff from the bash 
history.

Thanks for pointing out my mistake.

Regards


More information about the kde-games-devel mailing list