LegionCore-7.3.5 icon indicating copy to clipboard operation
LegionCore-7.3.5 copied to clipboard

Script for installation on a fresh ubuntu / debian box

Open danhicks853 opened this issue 10 months ago • 3 comments

legioncoresetup.sh.txt So, with openssl and boost needing to be a specific version, I struggled a bit getting the compile started. I wanted to share a script that should enable compilation on a new distro install:

danhicks853 avatar Apr 22 '24 19:04 danhicks853

https://boostorg.jfrog.io/artifactory/main/release/1.65.1/source/boost_1.65.1.tar.gz 404s now, but wget -q --https --no-check-certificate "https://archives.boost.io/release/1.65.1/source/boost_1_65_1.tar.gz" works.

danhicks853 avatar Jun 09 '24 05:06 danhicks853

wget -q "https://artfiles.org/openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz"

danhicks853 avatar Jun 09 '24 05:06 danhicks853

This is for Debian 11/12 or Ubuntu 22.04 LTS?

ERROR COMPILING BOOST 1.65.1

./boost/concept/usage.hpp:16:48: warning: ‘this’ pointer is null [-Wnonnull]
   16 |     ~usage_requirements() { ((Model*)0)->~Model(); }
      |                             ~~~~~~~~~~~~~~~~~~~^~
./boost/concept/usage.hpp:30:7: note: in a call to non-static member function ‘boost::SinglePassRangeConcept<T>::~SinglePassRangeConcept() [with T = const boost::iterator_range<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’
   30 |       ~model()
      |       ^
./boost/range/concepts.hpp:282:9: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’
  282 |         BOOST_CONCEPT_USAGE(SinglePassRangeConcept)
      |         ^~~~~~~~~~~~~~~~~~~
common.mkdir bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/algo
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/algo/algorithm.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/algo/round_robin.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/algo/shared_work.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/algo/work_stealing.o
common.mkdir bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/algo/numa
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/algo/numa/work_stealing.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/barrier.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/condition_variable.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/context.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/fiber.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/future.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/mutex.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/properties.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/recursive_mutex.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/recursive_timed_mutex.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/timed_mutex.o
gcc.compile.c++ bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/scheduler.o
gcc.archive bin.v2/libs/fiber/build/gcc-11/release/link-static/threading-multi/libboost_fiber.a
common.copy /usr/local/boost_1_65_1/lib/libboost_fiber.a
common.mkdir bin.v2/libs/regex/build/gcc-11/release
common.mkdir bin.v2/libs/regex/build/gcc-11/release/link-static
...on 13700th target...
common.mkdir bin.v2/libs/regex/build/gcc-11/release/link-static/threading-multi
gcc.compile.c++ bin.v2/libs/regex/build/gcc-11/release/link-static/threading-multi/c_regex_traits.o
gcc.compile.c++ bin.v2/libs/regex/build/gcc-11/release/link-static/threading-multi/cpp_regex_traits.o
gcc.compile.c++ bin.v2/libs/regex/build/gcc-11/release/link-static/threading-multi/cregex.o
gcc.compile.c++ bin.v2/libs/regex/build/gcc-11/release/link-static/threading-multi/fileiter.o
gcc.compile.c++ bin.v2/libs/regex/build/gcc-11/release/link-static/threading-multi/icu.o
In file included from ./boost/mpl/aux_/na_assert.hpp:23,
                 from ./boost/mpl/arg.hpp:25,
                 from ./boost/mpl/placeholders.hpp:24,
                 from ./boost/iterator/iterator_categories.hpp:17,
                 from ./boost/iterator/iterator_facade.hpp:14,
                 from ./boost/regex/pending/unicode_iterator.hpp:65,
                 from ./boost/regex/icu.hpp:26,
                 from libs/regex/build/../src/icu.cpp:23:
./boost/mpl/assert.hpp:188:21: warning: unnecessary parentheses in declaration of ‘assert_arg’ [-Wparentheses]
  188 | failed ************ (Pred::************
      |                     ^~~~~~~~~~~~~~~~~~~
  189 |       assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  190 |     );
      |     ~
./boost/mpl/assert.hpp:188:21: note: remove parentheses
  188 | failed ************ (Pred::************
      |                     ^~~~~~~~~~~~~~~~~~~
      |                     -
  189 |       assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  190 |     );
      |     ~
      |     -
./boost/mpl/assert.hpp:193:21: warning: unnecessary parentheses in declaration of ‘assert_not_arg’ [-Wparentheses]
  193 | failed ************ (boost::mpl::not_<Pred>::************
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  194 |       assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  195 |     );
      |     ~
./boost/mpl/assert.hpp:193:21: note: remove parentheses
  193 | failed ************ (boost::mpl::not_<Pred>::************
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                     -
  194 |       assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  195 |     );
      |     ~
      |     -


d3athbl0w avatar Jul 14 '24 21:07 d3athbl0w