Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-03-2021, 04:46 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default Ubuntu 20.04.2 - <uuid/uuid.h> missing

Hey kids! It's been a while. Hi.

With how fancy-schmancy all the installers and project stuff looks today, I thought I'd try my hand at setting up an EQEmu server again, and whether I use the installer or the "ground up linux" approach, I am getting hung up on the same error... and no amount of googling is helping (not terribly c++ savvy).

Code:
[ 20%] Building CXX object common/CMakeFiles/common.dir/patches/titanium_limits.cpp.o
[ 21%] Building CXX object common/CMakeFiles/common.dir/patches/uf.cpp.o
[ 21%] Building CXX object common/CMakeFiles/common.dir/patches/uf_limits.cpp.o
[ 21%] Building CXX object common/CMakeFiles/common.dir/StackWalker/StackWalker.cpp.o
[ 21%] Building CXX object common/CMakeFiles/common.dir/util/directory.cpp.o
[ 21%] Building CXX object common/CMakeFiles/common.dir/util/uuid.cpp.o
/home/john/src/EQ/common/util/uuid.cpp:11:10: fatal error: uuid/uuid.h: No such file or directory
   11 | #include <uuid/uuid.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [common/CMakeFiles/common.dir/build.make:1493: common/CMakeFiles/common.dir/util/uuid.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:530: common/CMakeFiles/common.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Compiling goes along fine until it gets to util/uuid.cpp, then either mode to set up fails here. I've tried dinking with the <uuid/uuid.h> config in both linux and windows, and I'm getting nowhere... figured I'd just cheat and ask the experts.

Any clue what's missing? Or is Ubuntu 20.04.2 "too new"? It was too new for another project, surprisingly... had to build an 18.04.5.

So I took it over to this Ubuntu 18.04.5, and the make gets passed this uuid issue and seems to complete properly. Couple "optional" modules are not installed on 18.04, like MariaDB (still using MySQL there). Not sure if that helps.

I have the full cmake log if anyone needs to see it, but hoping it's simply "don't use 20.04.2" Curiosity is just killing me.

TIA,
JA
__________________
John Adams
My Projects [ EQ2Emulator.net ] [ VGOEmulator.net ] [ MMOEmulators.com ] [ EVEmulator.com ]
"When you quit quitting, does that still make you a quitter?" ~JA on coming out of retirement
Reply With Quote
  #2  
Old 07-04-2021, 12:30 AM
devn00b's Avatar
devn00b
Demi-God
 
Join Date: Jan 2002
Posts: 15,658
Default

Im not quite sure what your issue is here. I installed 20.04.2 in a VM. Ran the installer cuz I was being lazy. No issues at all

Here are the important bits.

Quote:
Your problem area:
[ 21%] Building CXX object common/CMakeFiles/common.dir/util/uuid.cpp.o
[ 22%] Linking CXX static library ../bin/libcommon.a
[ 22%] Built target common
------------------------------
[ 59%] Linking CXX executable ../bin/shared_memory
[ 59%] Built target shared_memory
------------------------------
[ 66%] Linking CXX executable ../bin/world
[ 66%] Built target world
------------------------------
[ 94%] Linking CXX executable ../bin/zone
[ 94%] Built target zone
------------------------------
[ 98%] Linking CXX executable ../bin/loginserver
[ 98%] Built target loginserver
Is this a server or desktop copy of ubuntu, since they are very different with what they start out with package wise, I cannot track this down farther.
__________________
(Former)Senior EQEMu Developer
GuildWars Co-Founder / World Builder.
World Builder and Co-Founder Zek [PVP/Guild Wars/City Takeovers]
Member of the "I hate devn00b" Club
Most Senior EQEMu Member.

Current Work: EverQuest 2 Emulator. Zeklabs Server
Reply With Quote
  #3  
Old 07-04-2021, 02:46 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Hey devn00b, good to (still) see you

I'm on Server x64, Ubuntu 20.04.2 where the failure is happening. I am following the guide for "Linux Ground Up" and I know it states some things may be missing; some of the guide is inconsistent, but I felt I knew enough to hack around it (like $EQEMUBUILDDIR vs $EQBUILDDIR exports... )

Looking at the cmake log, maybe I'm missing something on 20.04 that works fine on 18.04.5? Btw, I got the server components all working on 18.04.5, so it's no biggie (for me) if 20.04 doesn't work.

CMake console:
Code:
cmake -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_LUA=ON -G 'Unix Makefiles' ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.65.1
-- Found MySQL: /usr/lib/x86_64-linux-gnu/libmysqlclient.so
-- Could NOT find MariaDB (missing: MariaDB_LIBRARY MariaDB_INCLUDE_DIR)
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1")
-- Found Lua51: /usr/lib/x86_64-linux-gnu/liblua5.1.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "5.1.5")
-- Could NOT find LuaJit (missing: LUAJIT_LIBRARIES LUAJIT_INCLUDE_DIR)
-- Found Perl: /usr/bin/perl (found version "5.26.1")
-- Found PerlLibs: /usr/lib/x86_64-linux-gnu/libperl.so.5.26 (found version "5.26.1")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'libsodium'
--   Found libsodium, version 1.0.11
-- Found SODIUM: /usr/lib/x86_64-linux-gnu/libsodium.so
-- **************************************************
-- * Library Detection                              *
-- **************************************************
-- * MySQL:                                   FOUND *
-- * MariaDB:                               MISSING *
-- * ZLIB:                                    FOUND *
-- * Lua:                                     FOUND *
-- * LuaJIT:                                MISSING *
-- * Perl:                                    FOUND *
-- * libsodium:                               FOUND *
-- * OpenSSL:                                 FOUND *
-- * mbedTLS:                               MISSING *
-- **************************************************
--
-- **************************************************
-- * Library Usage                                  *
-- **************************************************
-- * Database:                                MySQL *
-- * TLS:                                   OpenSSL *
-- * Sodium:                              Libsodium *
-- * Lua:                                   Lua 5.1 *
-- * Perl:                                     Perl *
-- * zlib:                                  zlib-ng *
-- **************************************************
-- Version: 5.3.0
-- Build type: RelWithDebInfo
-- CXX_STANDARD: 14
-- Performing Test has_std_14_flag
-- Performing Test has_std_14_flag - Success
-- Performing Test has_std_1y_flag
-- Performing Test has_std_1y_flag - Success
-- Performing Test SUPPORTS_VARIADIC_TEMPLATES
-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success
-- Performing Test SUPPORTS_INITIALIZER_LIST
-- Performing Test SUPPORTS_INITIALIZER_LIST - Success
-- Performing Test SUPPORTS_ENUM_BASE
-- Performing Test SUPPORTS_ENUM_BASE - Success
-- Performing Test SUPPORTS_TYPE_TRAITS
-- Performing Test SUPPORTS_TYPE_TRAITS - Success
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS
-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success
-- Looking for open
-- Looking for open - found
-- Using CMake version 3.10.2
-- ZLIB_HEADER_VERSION: 1.2.11
-- ZLIBNG_HEADER_VERSION: 2.0.0-RC2
-- Arch detected: 'x86_64'
-- Basearch of 'x86_64' has been detected as: 'x86'
-- Architecture supports unaligned reads
-- Architecture supports unaligned reads of > 4 bytes
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdarg.h
-- Looking for stdarg.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Looking for sys/sdt.h
-- Looking for sys/sdt.h - not found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Check size of off64_t
-- Check size of off64_t - done
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for strerror
-- Looking for strerror - found
-- Performing Test HAVE_NO_INTERPOSITION
-- Performing Test HAVE_NO_INTERPOSITION - Success
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_HIDDEN
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_INTERNAL
-- Performing Test HAVE_ATTRIBUTE_VISIBILITY_INTERNAL - Success
-- Performing Test HAVE_BUILTIN_CTZ
-- Performing Test HAVE_BUILTIN_CTZ - Success
-- Performing Test HAVE_BUILTIN_CTZLL
-- Performing Test HAVE_BUILTIN_CTZLL - Success
-- Performing Test HAVE_PTRDIFF_T
-- Performing Test HAVE_PTRDIFF_T - Success
-- Performing Test HAVE_SSE2_INTRIN
-- Performing Test HAVE_SSE2_INTRIN - Success
-- Performing Test HAVE_SSSE3_INTRIN
-- Performing Test HAVE_SSSE3_INTRIN - Success
-- Performing Test HAVE_SSE42CRC_INLINE_ASM
-- Performing Test HAVE_SSE42CRC_INLINE_ASM - Success
-- Performing Test HAVE_SSE42CRC_INTRIN
-- Performing Test HAVE_SSE42CRC_INTRIN - Success
-- Performing Test HAVE_SSE42CMPSTR_INTRIN
-- Performing Test HAVE_SSE42CMPSTR_INTRIN - Success
-- Performing Test HAVE_PCLMULQDQ_INTRIN
-- Performing Test HAVE_PCLMULQDQ_INTRIN - Success
-- Performing Test HAVE_AVX2_INTRIN
-- Performing Test HAVE_AVX2_INTRIN - Success
-- Architecture-specific source files: arch/x86/x86.c;arch/x86/slide_avx.c;arch/x86/chunkset_avx.c;arch/x86/compare258_avx.c;arch/x86/adler32_avx.c;arch/x86/insert_string_sse.c;arch/x86/compare258_sse.c;arch/x86/chunkset_sse.c;arch/x86/slide_sse.c;arch/x86/adler32_ssse3.c;arch/x86/crc_folding.c
-- The following features have been enabled:

 * CMAKE_BUILD_TYPE, Build type: RelWithDebInfo (selected)
 * WITH_GZFILEOP, Compile with support for gzFile related functions
 * ZLIB_COMPAT, Compile with zlib compatible API
 * WITH_OPTIM, Build with optimisation
 * WITH_NEW_STRATEGIES, Use new strategies
 * WITH_UNALIGNED, Support unaligned reads on platforms that support it
 * WITH_AVX2, Build with AVX2
 * WITH_SSE2, Build with SSE2
 * WITH_SSSE3, Build with SSSE3
 * WITH_SSE4, Build with SSE4
 * WITH_PCLMULQDQ, Build with PCLMULQDQ
 * AVX2_SLIDEHASH, Support AVX2 optimized slide_hash, using "-mavx2"
 * AVX_CHUNKSET, Support AVX optimized chunkset, using "-mavx2"
 * AVX2_COMPARE258, Support AVX2 optimized compare258, using "-mavx2"
 * AVX2_ADLER32, Support AVX2-accelerated adler32, using "-mavx2"
 * SSE42_CRC, Support SSE4.2 optimized CRC hash generation, using "-msse4"
 * SSE42_COMPARE258, Support SSE4.2 optimized compare258, using "-msse4"
 * SSSE3_ADLER32, Support SSSE3-accelerated adler32, using "-mssse3"
 * PCLMUL_CRC, Support CRC hash generation using PCLMULQDQ, using "-mssse3 -msse4 -mpclmul"

-- The following OPTIONAL packages have been found:

 * MySQL
 * ZLIB
 * PkgConfig
 * OpenSSL
 * Lua51
 * PerlLibs
 * Sodium

-- The following REQUIRED packages have been found:

 * Boost

-- The following features have been disabled:

 * ZLIB_ENABLE_TESTS, Build test binaries
 * ZLIB_DUAL_LINK, Dual link tests against system zlib
 * WITH_SANITIZER, Build with sanitizer (Memory, Address, Undefined)
 * WITH_FUZZERS, Build test/fuzz
 * WITH_NATIVE_INSTRUCTIONS, Instruct the compiler to use the full instruction set on this host (gcc/clang -march=native)
 * WITH_MAINTAINER_WARNINGS, Build with project maintainer warnings
 * WITH_CODE_COVERAGE, Enable code coverage reporting
 * WITH_INFLATE_STRICT, Build with strict inflate distance checking
 * WITH_INFLATE_ALLOW_INVALID_DIST, Build with zero fill for inflate invalid distances
 * INSTALL_UTILS, Copy minigzip and minideflate during install

-- The following OPTIONAL packages have not been found:

 * MariaDB
 * LuaJit
 * mbedTLS

-- Configuring done
-- Generating done
-- Build files have been written to:
I didn't see anything negative in here that seemed like a failure... though I do remember seeing something about held packages for apt or something (saw that on both versions of Ubuntu - but didn't seem to block 18.04.5.)

Anyway, thanks for checking it out. Good to know it may just be me My VMs are pretty old, and I have been updating them using do_release_upgrade every few years. Might be time to dump and start over.

Take care, man.
fyi, I'm running a Zeklabs EQ2Emu now too though my poor noobie rat got stuck on the tutorial boat lol... I forgot how fun these games can be
__________________
John Adams
My Projects [ EQ2Emulator.net ] [ VGOEmulator.net ] [ MMOEmulators.com ] [ EVEmulator.com ]
"When you quit quitting, does that still make you a quitter?" ~JA on coming out of retirement
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:33 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3