[opensource-dev] Error related to libndof when trying to compile SL on Ubuntu (attempt 2)
Andras Farkas
deepbluemistake at gmail.com
Thu Feb 6 21:51:27 PST 2020
Hello!
I was watching a friend play Second Life and thought it looked cool
(I'm really into MUCKs, so VR is a cool topic in general) so I decided
I'd try to compile it on FreeBSD, my desktop OS.
I decided to try compiling it on Ubuntu first, to examine the build
process. However, I encountered an error related to libndof, as seen
in the attached errout.txt
Moreover, the info on the wiki related to ndof (and everything):
http://wiki.secondlife.com/wiki/Compiling_the_viewer_(Linux)#More_problematic_libraries_.28standalone.29
is so out of date that it isn't useful. Debian Squeeze and Lenny are
ancient, and Ubuntu Lucid and Precise are too.
http://apt.byteme.org.uk/ also no longer exists.
And at least on Ubuntu Eoan Ermine, a package name has changed:
libopenjpeg-dev --> libopenjp2-7-dev
If you can let me know how to get past this error, I'd be grateful.
Thanks! :D
(this is the second attempt to send this, hope it works)
-------------- next part --------------
Warning: no --id argument or AUTOBUILD_BUILD_ID environment variable specified;
using a value from the UTC date and time (200360842), which may not be unique
'/usr/bin/cmake' '-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo' '-DADDRESS_SIZE:STRING=64' '-DROOT_PROJECT_NAME:STRING=SecondLife' '-DINSTALL_PROPRIETARY=FALSE' '-G' 'Unix Makefiles' '../indra'
-- Using PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/share/pkgconfig
-- Revision (from autobuild environment): 200360842
-- Building 'Second Life Test' Version 6.3.7.200360842
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/FindOpenGL.cmake:270 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
cmake/OpenGL.cmake:11 (include)
llrender/CMakeLists.txt:6 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/FindOpenGL.cmake:270 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
cmake/OpenGL.cmake:11 (include)
media_plugins/base/CMakeLists.txt:14 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/FindOpenGL.cmake:270 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
cmake/OpenGL.cmake:11 (include)
media_plugins/gstreamer010/CMakeLists.txt:15 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/FindOpenGL.cmake:270 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
cmake/OpenGL.cmake:11 (include)
media_plugins/libvlc/CMakeLists.txt:15 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/FindOpenGL.cmake:270 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
cmake/OpenGL.cmake:11 (include)
media_plugins/example/CMakeLists.txt:15 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
ERROR: Package not installable due to conflicts
open-libndofdev
configuration Release
version 0.3
build_id 297553
Conflict: dependency SDL with installed package SDL
installed url http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/1103/2554/SDL-1.2.15-linux64-501092.tar.bz2
vs http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/sdl_3p-update-sdl/rev/297546/arch/Linux/installer/SDL-1.2.15-linux-297546.tar.bz2
installed hash 7ea2df03bfc35c06acf23dd9e734adac
vs 459cdc8d7c19a8025f98f61db95622ff
installed build_id 501092
vs 297546
dependency libpng with installed package libpng
installed url http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/882/1946/libpng-1.6.8.500873-linux64-500873.tar.bz2
vs http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/libpng_3p-update-libpng/rev/297051/arch/Linux/installer/libpng-1.6.8.297051-linux-297051.tar.bz2
installed hash 13de93ea11544051b69f238eeb644fd3
vs 6dec32fc2527f8cafd616f9271ff3478
installed version 1.6.8.500873
vs 1.6.8.297051
installed build_id 500873
vs 297051
dependency zlib with installed package zlib
installed url http://automated-builds-secondlife-com.s3.amazonaws.com/ct2/866/1898/zlib-1.2.8.500857-linux64-500857.tar.bz2
vs http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/zlib_3p-update-zlib/rev/296881/arch/Linux/installer/zlib-1.2.8.296881-linux-296881.tar.bz2
installed hash dab6be8b0596c1e3354f2b6d41335131
vs 2eb8e59b6464222dcf4435016ad5f618
installed version 1.2.8.500857
vs 1.2.8.296881
installed build_id 500857
vs 296881
used by libxml2 version 2.9.4.500877 build 500877
If you have updated the configuration for any of the conflicting packages,
try uninstalling those packages and rerunning.
For more information: try re-running your command with --verbose or --debug
CMake Error at cmake/Prebuilt.cmake:57 (message):
Failed to download or unpack prebuilt 'open-libndofdev'. Process returned
1.
Call Stack (most recent call first):
cmake/NDOF.cmake:14 (use_prebuilt_binary)
newview/CMakeLists.txt:46 (include)
-- Configuring incomplete, errors occurred!
See also "/home/darty/min/secondlaifu/lindenlab-viewer-2998552f3d74/build-linux-i686/CMakeFiles/CMakeOutput.log".
ERROR: configuring default configuration returned 1
For more information: try re-running your command with --verbose or --debug
More information about the opensource-dev
mailing list