Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

issues building #304

Open
coreybruce opened this issue Apr 21, 2021 · 0 comments
Open

issues building #304

coreybruce opened this issue Apr 21, 2021 · 0 comments

Comments

@coreybruce
Copy link

Hi there, I was trying to build and ran into a issue

[corey@manjaro-pi glest]$ sudo ./mk/linux/setup.sh

Initializing Glest setup...
Downloading game data...
Cloning into 'data'...
remote: Enumerating objects: 34446, done.
remote: Total 34446 (delta 0), reused 0 (delta 0), pack-reused 34446
Receiving objects: 100% (34446/34446), 964.71 MiB | 3.73 MiB/s, done.
Resolving deltas: 100% (18504/18504), done.
Updating files: 100% (11457/11457), done.

Updating source code...
Already up to date.
Updating game data...
mkdir: cannot create directory ‘build’: File exists
mkdir: cannot create directory ‘data’: File exists
Already up to date.

Installing required dependencies...(requires root)

We have detected the following system:
 [ Manjaro-ARM ] [ 21.04 ] [ n/a ] [ aarch64 ]

On supported systems, we will now install build dependencies.

Unsupported Linux distribution.

Please report a bug at https://github.com/Glest/glest-source providing the following information:
--- snip ---
Git revision: b492c3f62a3caa4899bb4a7b4033188d6179cdf9
LSB support:  1
Distribution: Manjaro-ARM
Release:      21.04
Codename:     n/a
Architecture: aarch64
--- snip ---

For now, you may want to take a look at the build hints on the Glest readme at:
  https://github.com/Glest/glest-source/blob/develop/BUILD.md
If you can come up with something which works for you, please report back to us, too. Thanks!

Building Glest...

CPU cores detected: 4
CPU cores to be used: 4
We have detected the following system:
 [ Manjaro-ARM ] [ 21.04 ] [ n/a ] [ aarch64 ]
Turning ON dynamic LIBS ...
Calling cmake with EXTRA_CMAKE_OPTIONS =  -DSTATIC_FontConfig=OFF -DWANT_USE_OpenSSL=OFF AND WANT_STATIC_LIBS = -DWANT_STATIC_LIBS=ON
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_SOURCE_DIR = /home/corey/Stuff/projects/glest
-- Build type for this compile will be: RelWithDebInfo
-- =====================================================================
-- Detected GNUC Compiler...
-- libstreflop disabled
-- Performing Test HAS_GCC_BACKTRACE
-- Performing Test HAS_GCC_BACKTRACE - Success
-- Found GCC backtrace lib, will support backtraces
-- *NOTE: Apply fix for: libpthread.so.0: error adding symbols: DSO missing from command line
-- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O3 -O2 -g -DNDEBUG -no-pie -fno-pie -g -O3
-- **Found game source code.
-- Building Glest shared library...
-- Found CURL: /usr/lib/libcurl.so (found version "7.76.0")  
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found SDL2: /usr/lib/libSDL2main.a;/usr/lib/libSDL2.so;-lpthread  
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindOpenGL.cmake:315 (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/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/lib/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):
  source/shared_lib/CMakeLists.txt:83 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found Lua: /usr/lib/liblua5.3.so;/usr/lib/libm.so (found version "5.3.6") 
-- Found JPEG: /usr/lib/libjpeg.so (found version "80") 
-- Found OpenAL: /usr/lib/libopenal.so  
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found PNG: /usr/lib/libpng.so (found version "1.6.37") 
-- **NOTE: FontConfig support was detected and enabled.
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.10.4") 
**NOTE: Warning! FTGL has been enabled but not detected. Your compilation will probably break. Turn off FTGL support by setting WANT_USE_FTGL to false, or visit http://ftgl.wiki.sourceforge.net/ for help on installing FTGL.
-- Found GLEW: /usr/include  
-- GLEW_LIBRARY: /usr/lib/libGLEW.so
-- ** Searching for library: FriBiDi...
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (GLIB2).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/share/cmake-3.20/Modules/FindPkgConfig.cmake:70 (find_package_handle_standard_args)
  mk/cmake/Modules/FindGLIB2.cmake:31 (INCLUDE)
  mk/cmake/Modules/FindFriBiDi.cmake:47 (FIND_PACKAGE)
  source/shared_lib/CMakeLists.txt:165 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") 
-- Checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib/glib-2.0/include
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/CheckIncludeFiles.cmake:122 (message):
  Policy CMP0075 is not set: Include file check macros honor
  CMAKE_REQUIRED_LIBRARIES.  Run "cmake --help-policy CMP0075" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  CMAKE_REQUIRED_LIBRARIES is set to:

    /usr/lib/libfribidi.so

  For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
  mk/cmake/Modules/FindGLIB2.cmake:215 (CHECK_INCLUDE_FILES)
  mk/cmake/Modules/FindFriBiDi.cmake:47 (FIND_PACKAGE)
  source/shared_lib/CMakeLists.txt:165 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found
-- Looking for fribidi_utf8_to_unicode in fribidi
-- Looking for fribidi_utf8_to_unicode in fribidi - not found
-- Looking for fribidi_charset_to_unicode in fribidi
-- Looking for fribidi_charset_to_unicode in fribidi - found
-- Using FriBiDi: /usr/lib/libfribidi.so
-- Searching for zlib
-- Using external zlib
-- Looking for miniupnpc...
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (MINIUPNP)
  does not match the name of the calling package (Miniupnpc).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  mk/cmake/Modules/FindMiniupnpc.cmake:63 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  source/shared_lib/CMakeLists.txt:238 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found MINIUPNP: /usr/lib/libminiupnpc.so  
-- Found the miniupnpc headers at /usr/include/miniupnpc
-- Performing Test MINIUPNPC_VERSION_1_7_OR_HIGHER
-- Performing Test MINIUPNPC_VERSION_1_7_OR_HIGHER - Success
-- Found miniupnpc version is v1.7 or higher
-- *** Using miniupnpc lib found in [/usr/include/miniupnpc] MINIUPNP_FOUND [TRUE] MINIUPNP_LIBRARY [/usr/lib/libminiupnpc.so]
-- **No macros required for miniupnpc version
-- EXTERNAL_LIBS = [/usr/lib/libcurl.so;/usr/lib/libSDL2main.a;/usr/lib/libSDL2.so;-lpthread;/usr/lib/libGL.so;/usr/lib/libGLU.so;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/liblua5.3.so;/usr/lib/libm.so;dl;/usr/lib/libjpeg.so;/usr/lib/libopenal.so;/usr/lib/libpng.so;/usr/lib/libfontconfig.so;/usr/lib/libfreetype.so;/usr/lib/libGLEW.so;/usr/lib/libfribidi.so;glib-2.0;/usr/lib/libz.so;/usr/lib/libminiupnpc.so]
-- Build glest = YES
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindOpenGL.cmake:315 (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/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/lib/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):
  source/game/CMakeLists.txt:22 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- OGG/Vorbis includes: /usr/include
-- OGG library        : /usr/lib/libogg.so
-- Vorbis library     : /usr/lib/libvorbis.so
-- Vorbis file library: /usr/lib/libvorbisfile.so
-- GLEW_LIBRARY: /usr/lib/libGLEW.so
-- Checking for one of the modules 'streflop-soft'
-- Checking for one of the modules 'streflop'
-- Search for Library STREFLOP result =  libs:  include dirs: 
-- *** Searching for libircclient since WANT_STATIC_LIBS is: ON ...
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (IRCCLIENT)
  does not match the name of the calling package (Ircclient).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  mk/cmake/Modules/FindIrcclient.cmake:70 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  source/game/CMakeLists.txt:143 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find IRCCLIENT (missing: IRCCLIENT_LIBRARY IRCCLIENT_INCLUDE_DIR) 
-- **** WARNING: IRCClient NOT FOUND include path: IRCCLIENT_INCLUDE_DIR-NOTFOUND libs: IRCCLIENT_LIBRARY-NOTFOUND
-- Using included libbircclient sources
-- Build glest_editor = ON
CMake Warning (dev) at /usr/share/cmake-3.20/Modules/FindOpenGL.cmake:315 (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/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/lib/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):
  source/map_editor/CMakeLists.txt:16 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES
  wxWidgets_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.20/Modules/FindwxWidgets.cmake:1025 (find_package_handle_standard_args)
  source/map_editor/CMakeLists.txt:27 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/corey/Stuff/projects/glest/mk/linux/build/CMakeFiles/CMakeOutput.log".
See also "/home/corey/Stuff/projects/glest/mk/linux/build/CMakeFiles/CMakeError.log".
ERROR: CMAKE failed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant