Installing DK 5.1.0

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing DK 5.1.0

Richard Müller
Hi all,
unfortunately I failed to install the 5.1.0 version of DK on a Linux
(Ubuntu Xenial) 64bit system. This distribution only provides a
version 4 package, therefore I decides on trying installing from a
tarball. I followed the guide of the DK homepage:
Downloadin the tarball, extracting it, moving to the directory, then
installing the dependencies via qpt-get build-dep...

But after running the bootstrap script came:
-------------------------------------
richard@neuer:/documents/temp/digikam/digikam-5.0.0$ bootstrap.linux
bootstrap.linux: Command not found.
richard@neuer:/documents/temp/digikam/digikam-5.0.0$ ./bootstrap.linux

## Please insert the "./" into the guide on the HP!

Qt5     Install Path : /usr
KF5     Install Path : /usr
digiKam Install Path : /usr
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
CMake Error at CMakeLists.txt:19 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 1.5.0) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/documents/temp/digikam/digikam-5.0.0/build/CMakeFiles/CMakeOutput.log".
-----------------------------------------------------------------------------------
I must say, the guide on the homepage is a little confusing:

-----------------------------------------------------------------------------------
(From the HP:)
You need to specify an installation prefix. This will be the base path
of the installation. To determine the correct path to your KDE
installation, use `kf5-config --prefix` and provide it as a parameter
for cmake, as shown in the example commands below:


bootstrap.linux
cd build
make
su
make install
--------------------------------------------------------------------------------------
But in the "examples below" I don't find cmake and I don't know where
to provide the prefix (The path is by the way /usr).

What did I do wrong?

Thanks, Richard


--
Richard Müller . Am Spring 9 . D-58802 Balve
http://www.oeko-sorpe.de - http://www.phytoplankton.info -
http://independent.academia.edu/Richard
Reply | Threaded
Open this post in threaded view
|

Re: Installing DK 5.1.0

Philip Johnsson
apt-get build-dep will only install dependencies to build digikam 4 and not digikam 5. All dependencies needed are listed in the DEPENDENCIES file in the tarball. The package the configure script say it's missing is extra-cmake-modules that you need to install in your build environment.

I have a PPA with digikam 5.1 for Ubuntu here if you want to install ready to install packages.

https://launchpad.net/~philip5/+archive/ubuntu/extra

/Philip

On Mon, Aug 22, 2016 at 6:37 PM, Richard Müller <[hidden email]> wrote:
Hi all,
unfortunately I failed to install the 5.1.0 version of DK on a Linux
(Ubuntu Xenial) 64bit system. This distribution only provides a
version 4 package, therefore I decides on trying installing from a
tarball. I followed the guide of the DK homepage:
Downloadin the tarball, extracting it, moving to the directory, then
installing the dependencies via qpt-get build-dep...

But after running the bootstrap script came:
-------------------------------------
richard@neuer:/documents/temp/digikam/digikam-5.0.0$ bootstrap.linux
bootstrap.linux: Command not found.
richard@neuer:/documents/temp/digikam/digikam-5.0.0$ ./bootstrap.linux

## Please insert the "./" into the guide on the HP!

Qt5     Install Path : /usr
KF5     Install Path : /usr
digiKam Install Path : /usr
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam-software-collection
CMake Error at CMakeLists.txt:19 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 1.5.0) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/documents/temp/digikam/digikam-5.0.0/build/CMakeFiles/CMakeOutput.log".
-----------------------------------------------------------------------------------
I must say, the guide on the homepage is a little confusing:

-----------------------------------------------------------------------------------
(From the HP:)
You need to specify an installation prefix. This will be the base path
of the installation. To determine the correct path to your KDE
installation, use `kf5-config --prefix` and provide it as a parameter
for cmake, as shown in the example commands below:


bootstrap.linux
cd build
make
su
make install
--------------------------------------------------------------------------------------
But in the "examples below" I don't find cmake and I don't know where
to provide the prefix (The path is by the way /usr).

What did I do wrong?

Thanks, Richard


--
Richard Müller . Am Spring 9 . D-58802 Balve
http://www.oeko-sorpe.de - http://www.phytoplankton.info -
http://independent.academia.edu/Richard

Reply | Threaded
Open this post in threaded view
|

Re: Installing DK 5.1.0

Richard Müller
Thank you Philip for providing the package. Installing was a charm :-)
It would be great if one could find it on the DK homepage.
Richard

2016-08-22 21:19 GMT+02:00 Philip Johnsson <[hidden email]>:

> apt-get build-dep will only install dependencies to build digikam 4 and not
> digikam 5. All dependencies needed are listed in the DEPENDENCIES file in
> the tarball. The package the configure script say it's missing is
> extra-cmake-modules that you need to install in your build environment.
>
> I have a PPA with digikam 5.1 for Ubuntu here if you want to install ready
> to install packages.
>
> https://launchpad.net/~philip5/+archive/ubuntu/extra
>
> /Philip
>
> On Mon, Aug 22, 2016 at 6:37 PM, Richard Müller
> <[hidden email]> wrote:
>>
>> Hi all,
>> unfortunately I failed to install the 5.1.0 version of DK on a Linux
>> (Ubuntu Xenial) 64bit system. This distribution only provides a
>> version 4 package, therefore I decides on trying installing from a
>> tarball. I followed the guide of the DK homepage:
>> Downloadin the tarball, extracting it, moving to the directory, then
>> installing the dependencies via qpt-get build-dep...
>>
>> But after running the bootstrap script came:
>> -------------------------------------
>> richard@neuer:/documents/temp/digikam/digikam-5.0.0$ bootstrap.linux
>> bootstrap.linux: Command not found.
>> richard@neuer:/documents/temp/digikam/digikam-5.0.0$ ./bootstrap.linux
>>
>> ## Please insert the "./" into the guide on the HP!
>>
>> Qt5     Install Path : /usr
>> KF5     Install Path : /usr
>> digiKam Install Path : /usr
>> -- The C compiler identification is GNU 5.4.0
>> -- The CXX compiler identification is GNU 5.4.0
>> -- Check for working C compiler: /usr/bin/cc
>> -- Check for working C compiler: /usr/bin/cc -- works
>> -- Detecting C compiler ABI info
>> -- Detecting C compiler ABI info - done
>> -- Detecting C compile features
>> -- Detecting C compile features - done
>> -- Check for working CXX compiler: /usr/bin/c++
>> -- Check for working CXX compiler: /usr/bin/c++ -- works
>> -- Detecting CXX compiler ABI info
>> -- Detecting CXX compiler ABI info - done
>> -- Detecting CXX compile features
>> -- Detecting CXX compile features - done
>> --
>> ----------------------------------------------------------------------------------
>> -- Starting CMake configuration for: digikam-software-collection
>> CMake Error at CMakeLists.txt:19 (find_package):
>>   Could not find a package configuration file provided by "ECM" (requested
>>   version 1.5.0) with any of the following names:
>>
>>     ECMConfig.cmake
>>     ecm-config.cmake
>>
>>   Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set
>> "ECM_DIR"
>>   to a directory containing one of the above files.  If "ECM" provides a
>>   separate development package or SDK, be sure it has been installed.
>>
>>
>> -- Configuring incomplete, errors occurred!
>> See also
>> "/documents/temp/digikam/digikam-5.0.0/build/CMakeFiles/CMakeOutput.log".
>>
>> -----------------------------------------------------------------------------------
>> I must say, the guide on the homepage is a little confusing:
>>
>>
>> -----------------------------------------------------------------------------------
>> (From the HP:)
>> You need to specify an installation prefix. This will be the base path
>> of the installation. To determine the correct path to your KDE
>> installation, use `kf5-config --prefix` and provide it as a parameter
>> for cmake, as shown in the example commands below:
>>
>>
>> bootstrap.linux
>> cd build
>> make
>> su
>> make install
>>
>> --------------------------------------------------------------------------------------
>> But in the "examples below" I don't find cmake and I don't know where
>> to provide the prefix (The path is by the way /usr).
>>
>> What did I do wrong?
>>
>> Thanks, Richard
>>
>>
>> --
>> Richard Müller . Am Spring 9 . D-58802 Balve
>> http://www.oeko-sorpe.de - http://www.phytoplankton.info -
>> http://independent.academia.edu/Richard
>
>



--
Richard Müller . Am Spring 9 . D-58802 Balve
http://www.oeko-sorpe.de - http://www.phytoplankton.info -
http://independent.academia.edu/Richard