And here is a small patch that adds owner write
permission on kdmtsak,
allowing the installation to succeed.
Works on RHEL 6 and Fedora 15.
Le 26/10/2011 20:31, Francois Andriot a écrit :
> Hello, I'm compling TDE SVN rev 1260891 on RHEL 6.
>
> I get the following error during "make install":
>
> ==============
> -- Installing:
>
/home/albator/rpmbuild/BUILDROOT/trinity-kdebase-3.5.12.99.1260891-0.el6.opt.x86_64/opt/trinity/bin/kdmtsak
> CMake Error at kdmlib/cmake_install.cmake:131 (FILE):
> file RPATH_REMOVE could not remove RPATH from file:
>
>
>
/home/albator/rpmbuild/BUILDROOT/trinity-kdebase-3.5.12.99.1260891-0.el6.opt.x86_64/opt/trinity/bin/kdmtsak
>
> Error opening file for update.
> Call Stack (most recent call first):
> cmake_install.cmake:43 (INCLUDE)
>
>
> make: *** [install] Error 1
> make: Leaving directory `/home/albator/rpmbuild/BUILD/kdebase/build'
> ==============
>
> The file"opt/trinity/bin/kdmtsak" exists but is not writable. I
> suppose that's why the RPATH_REMOVE macro fails:
>
> -r-s--x--x 1 albator albator 108807 26 oct. 20:04
>
/home/albator/rpmbuild/BUILDROOT/trinity-kdebase-3.5.12.99.1260891-0.el6.opt.x86_64/opt/trinity/bin/kdmtsak
>
> (Note: RPM building is done as non-root user.)
>
> Thanks
> Francois Andriot
Patch looks sane; committed to SVN in revision 1260904.
Tim