Bug 236878

Summary: kdesupport ignore CMAKE_INSTALL_PREFIX for some files
Product: [Unmaintained] nepomuk Reporter: Nadav <nadavvin>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED NOT A BUG    
Severity: normal CC: trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nadav 2010-05-08 18:21:31 UTC
Version:            (using Devel)
Compiler:          4.4 
OS:                Linux
Installed from:    Compiled sources

kdesupport svn revision: 1124280

-- Up-to-date: /media/data/kdesvn/kde/include/taglib/aifffile.h
-- Up-to-date: /media/data/kdesvn/kde/include/taglib/aiffproperties.h
-- Up-to-date: /media/data/kdesvn/kde/include/taglib/wavfile.h
-- Up-to-date: /media/data/kdesvn/kde/include/taglib/wavproperties.h
-- Installing: /media/data/kdesvn/kde/lib/libtag_c.so.0.0.0
-- Up-to-date: /media/data/kdesvn/kde/lib/libtag_c.so.0
-- Up-to-date: /media/data/kdesvn/kde/lib/libtag_c.so
-- Removed runtime path from "/media/data/kdesvn/kde/lib/libtag_c.so.0.0.0"
-- Installing: /media/data/kdesvn/kde/lib/pkgconfig/taglib_c.pc
-- Up-to-date: /media/data/kdesvn/kde/include/taglib/tag_c.h
CMake Error at soprano/cmake_install.cmake:36 (FILE):
  file cannot create directory: /usr/local/lib/pkgconfig.  Maybe need
  administrative privileges.
Call Stack (most recent call first):
  cmake_install.cmake:40 (INCLUDE)


make: *** [install] Error 1
makeobj[0]: Leaving directory `/media/data/kdesvn/kde/build/trunk/kdesupport'
Comment 1 Christoph Feck 2010-05-08 22:02:28 UTC
Try this before running cmake:

export PKG_CONFIG_PATH=$YOUR_INSTALL_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH

I doubt that pkgconfig is supposed to install into "regular" install prefix, because it does not search there, only in PKG_CONFIG_PATH, but I let soprano maintainer decide.
Comment 2 Sebastian Trueg 2010-07-23 10:52:15 UTC
not a bug