Problem installing Player 3.0.2 in Ubuntu 16.04

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

Problem installing Player 3.0.2 in Ubuntu 16.04

Shaurya Shriyam
Hello, I was trying to install Player. I did
$ cd player/
$ mkdir build
$ cd build/
$ cmake ../
Everything was ok but then i did this
$ VERBOSE=1 make
I got error shown below. Please help. I tried sudo make also. Is Player obsolete nowadays?
---------------------------------------------------------------------------------------------------------------------------------------
/usr/bin/cmake -H/home/q/Downloads/player-3.0.2 -B/home/q/Downloads/player-3.0.2/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/q/Downloads/player-3.0.2/build/CMakeFiles /home/q/Downloads/player-3.0.2/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/q/Downloads/player-3.0.2/build'
make -f libplayercommon/CMakeFiles/playercommon.dir/build.make libplayercommon/CMakeFiles/playercommon.dir/depend
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
cd /home/q/Downloads/player-3.0.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/q/Downloads/player-3.0.2 /home/q/Downloads/player-3.0.2/libplayercommon /home/q/Downloads/player-3.0.2/build /home/q/Downloads/player-3.0.2/build/libplayercommon /home/q/Downloads/player-3.0.2/build/libplayercommon/CMakeFiles/playercommon.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
make -f libplayercommon/CMakeFiles/playercommon.dir/build.make libplayercommon/CMakeFiles/playercommon.dir/build
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
make[2]: Nothing to be done for 'libplayercommon/CMakeFiles/playercommon.dir/build'.
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Built target playercommon
make -f libplayerinterface/CMakeFiles/playerxdr_src.dir/build.make libplayerinterface/CMakeFiles/playerxdr_src.dir/depend
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
cd /home/q/Downloads/player-3.0.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/q/Downloads/player-3.0.2 /home/q/Downloads/player-3.0.2/libplayerinterface /home/q/Downloads/player-3.0.2/build /home/q/Downloads/player-3.0.2/build/libplayerinterface /home/q/Downloads/player-3.0.2/build/libplayerinterface/CMakeFiles/playerxdr_src.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
make -f libplayerinterface/CMakeFiles/playerxdr_src.dir/build.make libplayerinterface/CMakeFiles/playerxdr_src.dir/build
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Generating playerxdr.?
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Built target playerxdr_src
make -f libplayerinterface/CMakeFiles/functiontable_gen.dir/build.make libplayerinterface/CMakeFiles/functiontable_gen.dir/depend
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
cd /home/q/Downloads/player-3.0.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/q/Downloads/player-3.0.2 /home/q/Downloads/player-3.0.2/libplayerinterface /home/q/Downloads/player-3.0.2/build /home/q/Downloads/player-3.0.2/build/libplayerinterface /home/q/Downloads/player-3.0.2/build/libplayerinterface/CMakeFiles/functiontable_gen.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
make -f libplayerinterface/CMakeFiles/functiontable_gen.dir/build.make libplayerinterface/CMakeFiles/functiontable_gen.dir/build
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Generating functiontable_gen.h
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Built target functiontable_gen
make -f libplayerinterface/CMakeFiles/interface_table.dir/build.make libplayerinterface/CMakeFiles/interface_table.dir/depend
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
cd /home/q/Downloads/player-3.0.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/q/Downloads/player-3.0.2 /home/q/Downloads/player-3.0.2/libplayerinterface /home/q/Downloads/player-3.0.2/build /home/q/Downloads/player-3.0.2/build/libplayerinterface /home/q/Downloads/player-3.0.2/build/libplayerinterface/CMakeFiles/interface_table.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
make -f libplayerinterface/CMakeFiles/interface_table.dir/build.make libplayerinterface/CMakeFiles/interface_table.dir/build
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Generating interface_table.h
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Built target interface_table
make -f libplayerinterface/CMakeFiles/player_interfaces.dir/build.make libplayerinterface/CMakeFiles/player_interfaces.dir/depend
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
cd /home/q/Downloads/player-3.0.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/q/Downloads/player-3.0.2 /home/q/Downloads/player-3.0.2/libplayerinterface /home/q/Downloads/player-3.0.2/build /home/q/Downloads/player-3.0.2/build/libplayerinterface /home/q/Downloads/player-3.0.2/build/libplayerinterface/CMakeFiles/player_interfaces.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
make -f libplayerinterface/CMakeFiles/player_interfaces.dir/build.make libplayerinterface/CMakeFiles/player_interfaces.dir/build
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Generating player_interfaces.h
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Built target player_interfaces
make -f libplayerinterface/CMakeFiles/playerinterface.dir/build.make libplayerinterface/CMakeFiles/playerinterface.dir/depend
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
cd /home/q/Downloads/player-3.0.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/q/Downloads/player-3.0.2 /home/q/Downloads/player-3.0.2/libplayerinterface /home/q/Downloads/player-3.0.2/build /home/q/Downloads/player-3.0.2/build/libplayerinterface /home/q/Downloads/player-3.0.2/build/libplayerinterface/CMakeFiles/playerinterface.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
make -f libplayerinterface/CMakeFiles/playerinterface.dir/build.make libplayerinterface/CMakeFiles/playerinterface.dir/build
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
make[2]: Nothing to be done for 'libplayerinterface/CMakeFiles/playerinterface.dir/build'.
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Built target playerinterface
make -f libplayerjpeg/CMakeFiles/playerjpeg.dir/build.make libplayerjpeg/CMakeFiles/playerjpeg.dir/depend
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
cd /home/q/Downloads/player-3.0.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/q/Downloads/player-3.0.2 /home/q/Downloads/player-3.0.2/libplayerjpeg /home/q/Downloads/player-3.0.2/build /home/q/Downloads/player-3.0.2/build/libplayerjpeg /home/q/Downloads/player-3.0.2/build/libplayerjpeg/CMakeFiles/playerjpeg.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
make -f libplayerjpeg/CMakeFiles/playerjpeg.dir/build.make libplayerjpeg/CMakeFiles/playerjpeg.dir/build
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
make[2]: Nothing to be done for 'libplayerjpeg/CMakeFiles/playerjpeg.dir/build'.
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Built target playerjpeg
make -f libplayerwkb/CMakeFiles/playerwkb.dir/build.make libplayerwkb/CMakeFiles/playerwkb.dir/depend
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
cd /home/q/Downloads/player-3.0.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/q/Downloads/player-3.0.2 /home/q/Downloads/player-3.0.2/libplayerwkb /home/q/Downloads/player-3.0.2/build /home/q/Downloads/player-3.0.2/build/libplayerwkb /home/q/Downloads/player-3.0.2/build/libplayerwkb/CMakeFiles/playerwkb.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
make -f libplayerwkb/CMakeFiles/playerwkb.dir/build.make libplayerwkb/CMakeFiles/playerwkb.dir/build
make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
[  6%] Linking C shared library libplayerwkb.so
cd /home/q/Downloads/player-3.0.2/build/libplayerwkb && /usr/bin/cmake -E cmake_link_script CMakeFiles/playerwkb.dir/link.txt --verbose=1
/usr/bin/cc  -fPIC  -Wall  -shared -Wl,-soname,libplayerwkb.so.3.0 -o libplayerwkb.so.3.0.2 CMakeFiles/playerwkb.dir/playerwkb.o ../libplayercommon/libplayercommon.so.3.0.2 -lgeos -lgeos_c -Wl,-rpath,/usr/local/lib64 
/usr/bin/ld: cannot find -lgeos
collect2: error: ld returned 1 exit status
libplayerwkb/CMakeFiles/playerwkb.dir/build.make:95: recipe for target 'libplayerwkb/libplayerwkb.so.3.0.2' failed
make[2]: *** [libplayerwkb/libplayerwkb.so.3.0.2] Error 1
make[2]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
CMakeFiles/Makefile2:777: recipe for target 'libplayerwkb/CMakeFiles/playerwkb.dir/all' failed
make[1]: *** [libplayerwkb/CMakeFiles/playerwkb.dir/all] Error 2
make[1]: Leaving directory '/home/q/Downloads/player-3.0.2/build'
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
-------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Player 3.0.2 in Ubuntu 16.04

Rich Mattes-2
b> $ cd player/
> $ mkdir build
> $ cd build/
> $ cmake ../
> Everything was ok but then i did this
> $ VERBOSE=1 make
> I got error shown below. Please help. I tried sudo make also. Is Player
> obsolete nowadays?

Hi,

Player isn't "obsolete" - it's not being actively developed, but
bugfixes and patches are still being applied.

> make -f libplayerwkb/CMakeFiles/playerwkb.dir/build.make
> libplayerwkb/CMakeFiles/playerwkb.dir/build
> make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
> [  6%] Linking C shared library libplayerwkb.so
> cd /home/q/Downloads/player-3.0.2/build/libplayerwkb && /usr/bin/cmake
> -E cmake_link_script CMakeFiles/playerwkb.dir/link.txt --verbose=1
> /usr/bin/cc  -fPIC  -Wall  -shared -Wl,-soname,libplayerwkb.so.3.0 -o
> libplayerwkb.so.3.0.2 CMakeFiles/playerwkb.dir/playerwkb.o
> ../libplayercommon/libplayercommon.so.3.0.2 -lgeos -lgeos_c
> -Wl,-rpath,/usr/local/lib64
> /usr/bin/ld: cannot find -lgeos

This is the problem.  Player can't find libgeos.so to link against, so
the build is failing.

You can try to either download the latest Player from git:

https://github.com/playerproject/player

Or you can try to make sure you have the geos development packages
(probably libgeos-dev or geos-devel, you didn't mention which
distribution you're running) installed.

Rich

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing Player 3.0.2 in Ubuntu 16.04

Rich Mattes-2
On 11/07/2016 07:45 PM, Rich Mattes wrote:

> b> $ cd player/
>> $ mkdir build
>> $ cd build/
>> $ cmake ../
>> Everything was ok but then i did this
>> $ VERBOSE=1 make
>> I got error shown below. Please help. I tried sudo make also. Is Player
>> obsolete nowadays?
>
> Hi,
>
> Player isn't "obsolete" - it's not being actively developed, but
> bugfixes and patches are still being applied.
>
>> make -f libplayerwkb/CMakeFiles/playerwkb.dir/build.make
>> libplayerwkb/CMakeFiles/playerwkb.dir/build
>> make[2]: Entering directory '/home/q/Downloads/player-3.0.2/build'
>> [  6%] Linking C shared library libplayerwkb.so
>> cd /home/q/Downloads/player-3.0.2/build/libplayerwkb && /usr/bin/cmake
>> -E cmake_link_script CMakeFiles/playerwkb.dir/link.txt --verbose=1
>> /usr/bin/cc  -fPIC  -Wall  -shared -Wl,-soname,libplayerwkb.so.3.0 -o
>> libplayerwkb.so.3.0.2 CMakeFiles/playerwkb.dir/playerwkb.o
>> ../libplayercommon/libplayercommon.so.3.0.2 -lgeos -lgeos_c
>> -Wl,-rpath,/usr/local/lib64
>> /usr/bin/ld: cannot find -lgeos
>
> This is the problem.  Player can't find libgeos.so to link against, so
> the build is failing.
>
> You can try to either download the latest Player from git:
>
> https://github.com/playerproject/player
>
> Or you can try to make sure you have the geos development packages
> (probably libgeos-dev or geos-devel, you didn't mention which
> distribution you're running) installed.
>


I'm sorry, you did mention Ubuntu 16.04 in the subject.  The package
should be libgeos-dev:

http://packages.ubuntu.com/xenial/libgeos-dev

Rich



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users