Moin,
ich möchte die neue 1.6.2-Version der krita-plugins ins AUR stellen, leider scheitert der Build-Vorgang (bei 1.6.1 ging es noch).
Mein PKGBUILD:
# Contributor: k79 <...@...>
pkgname=krita-plugins
pkgver=1.6.2
pkgrel=1
pkgdesc="Krita-plugins is a set of plugins for Krita 1.6"
url="http://krita-plugins.org"
depends=('kdelibs' 'koffice')
makedepends=('cmake')
source=(http://www.krita-plugins.org/download/1.6-2/src/$pkgname-1.6-2.tar.gz)
md5sums=('12ff3a6310584a249487383de6ed905e')
arch=(i686)
license="GPL"
build() {
cd $startdir/src/$pkgname-1.6.2
cmake -DCMAKE_INSTALL_PREFIX=/opt/kde .
make || return 1
make DESTDIR=$startdir/pkg install
}
Fehlermeldungen:
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/home/klaba/Pkgs/krita-plugins/src/krita-plugins-1.6.2/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/home/klaba/Pkgs/krita-plugins/src/krita-plugins-1.6.2/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring done
PKGBUILD: line 18: make: command not found
==> ERROR: Build Failed. Aborting...
... cmake ist installiert
Die Installationsanleitung auf krita-plugins.org:
export KP_PREFIX=/path/to/install
tar -xzf krita-plugins-1.6.2.tar.gz
cd krita-plugins-1.6.2
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$KP_PREFIX ../
make
make install (or su -c "make install" or sudo "make install" depending on the PREFIX and of your distribution)
Im Moment hab ich mal wieder den Faden verloren... 🙁