Package Details: gerbera-git 3479.f0d54854-1

Git Clone URL: (read-only, click to copy)
Package Base: gerbera-git
Description: UPnP Media Server (Based on MediaTomb)
Upstream URL:
Licenses: GPL2
Conflicts: gerbera
Provides: gerbera
Submitter: bhedrich
Maintainer: Rogach
Last Packager: Rogach
Votes: 2
Popularity: 0.000083
First Submitted: 2017-08-05 18:25
Last Updated: 2020-10-11 07:34

Latest Comments

« First ‹ Previous 1 2

maderios commented on 2020-03-03 17:52

I have not "the necessary packages" to build, i just do 'makepkg -sicC' in main directory package to build. As you see in PKGBUILD, Gerbera needs libupnp18. All dependencies are automatically downloaded and installed. Nothing to do, all is very simple because makepkg does the job.

Rogach commented on 2020-03-02 21:12

@maderios Yes, I am most definitely using Arch system.

I suspect you did not have problems because you already had the necessary packages installed. You can try the following to reproduce the problems I had:

sudo pacman -R fmt spdlog pugixml
sudo pacman -S libupnp
sudo pacman -R libupnp18
cd gerbera-git/
makepkg -s

After these steps I get the following error:

-- Found UPnP: /usr/lib/ (found version "1.6.25") 
CMake Error at CMakeLists.txt:301 (message):
  gerbera requires libupnp 1.8.6 or above.

1.6.25 is the version from extra/libupnp, it seems to interfere with building, so I removed it:

sudo pacman -R libupnp

After that the correct version of libupnp is found, but I see the next error:

CMake Error at CMakeLists.txt:322 (find_package):
  By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "fmt", but
  CMake did not find one.

  Could not find a package configuration file provided by "fmt" with any of
  the following names:


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

So I install the fmt package. The same story happens for spdlog and pugixml packages.

After that I come upon:

/usr/bin/ld: cannot find -lupnp
/usr/bin/ld: cannot find -lixml
collect2: error: ld returned 1 exit status

I'm not sure what is the most correct way to resolve this, but symlinking the libraries did work:

sudo ln -s /usr/lib/libupnp-1.8/ /usr/lib/
sudo ln -s /usr/lib/libupnp-1.8/ /usr/lib/

maderios commented on 2020-03-02 20:21

@Rogach Today I built and install Gerbera without any problem. Your difficulties seem strange. Are you really using Arch system?

Rogach commented on 2020-03-02 18:25

I had some problems with building, the following steps helped me:

  1. Had to install fmt, pugixml, spdlog packages - they were not listed in the dependencies.

  2. Had to manually remove libupnp package - it looks like for some reason I had both libupnp and libupnp18 installed at the same time, and CMake was choosing the older version.

  3. Had to manually symlink libupnp and libixml to get CMake and ld to find them:

sudo ln -s /usr/lib/libupnp-1.8/ /usr/lib/
sudo ln -s /usr/lib/libupnp-1.8/ /usr/lib/

sdf commented on 2020-02-26 13:59

compile error CMake Error at CMakeLists.txt:301 (message): gerbera requires libupnp 1.8.6 or above. gerbera 1.4.0 compiles succesfully without error libupnp 1.8.x is in package libupnp18 (installed)

bhedrich commented on 2020-01-05 10:55

@Sasasu: Thanks, fixed.

Sasasu commented on 2018-02-03 15:28

pupnp has renamed to libupnp.

:( how about replacing pupnp with libupnp-git, extra/libupnp is 1.6.24 but gerbera needs 1.8.3.