You are not logged in.

#1 2016-03-09 13:06:07

Zaku140
Member
Registered: 2015-08-14
Posts: 31

Having trouble finding all dependencies for Clementine

Wondered if anyone here tried compiling Clementine from source here. When I use cmake it tells me I need libmygpo-qt version 1.0.9 (I'm guessing this is the dev version) but the latest version in Arch's repo is 1.0.8-2. Is there  a development version available in the AUR? Also where can I find the k8json package?

Offline

#2 2016-03-09 13:20:06

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Having trouble finding all dependencies for Clementine

Packages in the main repos can never depend on packges in the AUR. I don't see any particular version requirement for libmygpo-qt in the PKGBUILD. Please post the full error message that you are getting. Again, k8json isn't mentioned in the PKGBUILD, but if you are unable to build without that package, then you should open a bug report against clementine in the bug tracker.

Moving to "Creating & Modifying Packages".

Offline

#3 2016-03-09 13:58:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Having trouble finding all dependencies for Clementine

It just built fine here.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#4 2016-03-09 14:12:45

Zaku140
Member
Registered: 2015-08-14
Posts: 31

Re: Having trouble finding all dependencies for Clementine

Okay when I use cmake../  in the clementine's bin directory this is my full output

-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.7", minimum required is "4.5.0") 
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.7") 
-- Boost version: 1.60.0
-- Checking for one of the modules 'cryptopp;libcrypto++'
-- Checking for module 'libmygpo-qt>=1.0.9'
--   Package 'libmygpo-qt>=1.0.9' not found
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.7") 
-- Checking for module 'k8json'
--   Package 'k8json' not found
-- Using internal copy of k8json
-- Added static library vreen
-- Using internal copy of vreen
-- Using builtin sha2 library
CMake Warning (dev) at tests/CMakeLists.txt:77 (add_custom_target):
  Policy CMP0037 is not set: Target names should not be reserved and should
  match a validity pattern.  Run "cmake --help-policy CMP0037" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The target name "test" is reserved or not valid for certain CMake features,
  such as generator expressions, and may result in undefined behavior.
This warning is for project developers.  Use -Wno-dev to suppress it.


Building Clementine version: 1.2.3-1575-ge2fbb8e

The following components will be built:
   D-Bus support
   Devices: Audio CD support
   Devices: DeviceKit backend
   Devices: GIO device backend
   Devices: MTP support
   Devices: iPod classic support
   Last.fm support
   Moodbar support
   Pulse audio integration
   Spotify support: non-GPL binary helper
   Visualisations
   Vk.com support
   Wiimote support

The following components WILL NOT be built:
   Amazon Cloud Drive support (missing Google sparsehash)
   Box support (missing Google sparsehash)
   Crash reporting (disabled in CMake config)
   Dropbox support (missing Google sparsehash)
   Google Drive support (missing Google sparsehash)
   Seafile support (missing Google sparsehash)
   Skydrive support (missing Google sparsehash)
   Sparkle integration (missing Mac OS X, Sparkle)

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ECHONEST_INCLUDE_DIRS
   used as include directory in directory /home/isemanthaj/My Programs/Clementine/src
   used as include directory in directory /home/isemanthaj/My Programs/Clementine/src
   used as include directory in directory /home/isemanthaj/My Programs/Clementine/src
   used as include directory in directory /home/isemanthaj/My Programs/Clementine/src
   used as include directory in directory /home/isemanthaj/My Programs/Clementine/src
   used as include directory in directory /home/isemanthaj/My Programs/Clementine/src
   used as include directory in directory /home/isemanthaj/My Programs/Clementine/src
   used as include directory in directory /home/isemanthaj/My Programs/Clementine/src
ECHONEST_LIBRARIES
    linked by target "clementine_lib" in directory /home/isemanthaj/My Programs/Clementine/src
PROTOBUF_STATIC_LIBRARY
    linked by target "clementine-spotifyblob" in directory /home/isemanthaj/My Programs/Clementine/ext/clementine-spotifyblob

-- Configuring incomplete, errors occurred!
See also "/home/isemanthaj/My Programs/Clementine/bin/CMakeFiles/CMakeOutput.log".
See also "/home/isemanthaj/My Programs/Clementine/bin/CMakeFiles/CMakeError.log".

I guessed that the variables that were not found were the libmygpo-qt 1.0.9 and k8json package?

Offline

#5 2016-03-09 14:15:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Having trouble finding all dependencies for Clementine

build in a clean chroot.

Offline

#6 2016-03-09 14:49:26

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Having trouble finding all dependencies for Clementine

Zaku140 wrote:

I guessed...

Please refrain from doing so.  Or at least when you do make it clear that it is a guess so we don't go chasing an XY problem.

Why are you trying to run cmake directly.  Use the PKGBUILD and makepkg.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#7 2016-03-11 17:37:12

Zaku140
Member
Registered: 2015-08-14
Posts: 31

Re: Having trouble finding all dependencies for Clementine

Because on Clementine's Github page it said to use cmake. I am new to compiling compiling other programs from source. How would I use PKGBUILD and makepkg for this task?

Offline

#8 2016-03-11 19:32:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Having trouble finding all dependencies for Clementine


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#9 2016-04-08 02:38:55

Bloub
Member
Registered: 2016-04-08
Posts: 1

Re: Having trouble finding all dependencies for Clementine

Hi,

I also have the problem, I'm also quite new on manual installing of packages with AUR.
Do you Trilby mean that we can't just use cmake and have to build a PKGBUILD from scratch?

Thanks for your help,
B.

Offline

#10 2016-04-08 03:53:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Having trouble finding all dependencies for Clementine

Bloub wrote:

Do you Trilby mean that we can't just use cmake

You can, but shouldn't.  It will lead to miserable troubles later on even if you do get it to work.  Don't reinvent the wheel.

Bloub wrote:

...and have to build a PKGBUILD from scratch?

No.  Please actually read about what the AUR is.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

Board footer

Powered by FluxBB