Providing an APT repository on alexandria (new team member?)
by Marvin Gülker
Hi everyone,
there is a user on our tracker, boospy, who has built a .deb package
from Ubuntu 18.04 from TSC's `devel' branch[1]. I've asked him whether
he'd be willing to continue package building for future versions, and he
agreed, so I think we should consider the following.
For one, we should give boospy (limited, for now, i.e. please no sudo
rights) access to alexandria so he can move his APT repository over
there. If we officially endorse an APT repository for installing TSC
packages, then the APT repository should be hosted on our domain and
infrastructure. For this, boospy needs the required access.
I assume he's using reprepro to provide the repository, which should be
doable easily on alexandria as well.
For the other, I think it does not make sense to grant access to our
server to someone who isn't on the TSC team, so I think boospy should be
added to the Secretchronicles GitHub organisation if we decide to go
this way.
Finally, the details on the packaging process need a little
discussion. Since there's no release immediately in sight, I suppose for
now it is enough to have builds from the `devel' branch (maybe automated
nightlies?). Once we get around to a 2.1 release, we'll need to
reconsider what should be packaged when. I suggest that the packages
from the `devel' branch however should right from the start have a name
different from "TSC", because that name should be reserved for a future
stable release series. Maybe "TSC2.1-unstable"?
Please voice your opinion on these topics. I realise that giving access
rights to a random person is probably not a good idea, but I'm not
familiar enough with APT nor .deb packaging to evaluate other
possibilities. Any discussion is appreciated.
Marvin
[1]: https://github.com/Secretchronicles/TSC/issues/637
--
Blog: https://mg.guelker.eu
PGP/GPG ID: F1D8799FBCC8BC4F
_______________________________________________
tsc-devel mailing list -- tsc-devel(a)lists.secretchronicles.org
To unsubscribe send an email to tsc-devel-leave(a)lists.secretchronicles.org
2 years, 3 months
TSC Boost Build Issues
by datahead8888@gmail.com
I seem to be getting boost build issues when I try to build the TSC source code.
I do have Kirbyfan64's boost fix commit present, the fix for issue #633.
What I tried is below. What else might I need to do to get TSC building again?
===============
I first tried a basic cmake, after purging my build directory:
datahead@datahead-G750JW:~/TSCX/TSC/tsc/build$ cmake ..
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Found Ruby: /usr/local/bin/ruby
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.3")
-- Searching for SFML audio library
-- found: /usr/local/lib/libsfml-audio.so
-- Searching for SFML graphics library
-- found: /usr/local/lib/libsfml-graphics.so
-- Searching for SFML window library
-- found: /usr/local/lib/libsfml-window.so
-- Searching for SFML system library
-- found: /usr/local/lib/libsfml-system.so
-- Found SFML: /usr/local/include/SFML
-- Searching for Base CEGUI library
-- found: /usr/local/lib/libCEGUIBase-0.so
-- Searching for CoreWindowRendererSet CEGUI library
-- found: /usr/local/lib/cegui-0.8/libCEGUICoreWindowRendererSet.so
-- Searching for DevILImageCodec CEGUI library
-- found: /usr/local/lib/cegui-0.8/libCEGUIDevILImageCodec.so
-- Searching for LibXMLParser CEGUI library
-- found: /usr/local/lib/cegui-0.8/libCEGUILibXMLParser.so
-- Searching for OpenGLRenderer CEGUI library
-- found: /usr/local/lib/libCEGUIOpenGLRenderer-0.so
-- Found CEGUI: /usr/local/include/cegui-0
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.50")
-- Found PCRE: /usr/include
-- Found LibXmlPP: /usr/lib/libxml++-2.6.so (found suitable version "2.36.0", minimum required is "2.6")
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/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 X11: /usr/lib/x86_64-linux-gnu/libX11.so
CMake Error at /usr/local/share/cmake-3.2/Modules/FindBoost.cmake:1182 (message):
Unable to find the requested Boost libraries.
Boost version: 1.54.0
Boost include path: /usr/include
Could not find the following Boost libraries:
boost_filesystem
boost_chrono
boost_thread
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
CMakeLists.txt:141 (find_package)
-- Building tinyclipboard statically
-- Scripting engine enabled: building mruby statically
-- Found BISON: /usr/bin/bison (found version "3.0.2")
-- --------------- Build info summary ----------------
-- TSC version: 2.1.0dev
-- Build type:
-- Crosscompiling: No
-- --------------- Configuration summary -------------
-- Enable the in-game editor: ON
-- Enable the mruby scripting engine: ON
-- Enable native language support: ON
-- Use system-provided tinyclipboard: OFF
-- --------------- Path configuration -----------------
-- Install prefix: /usr/local
-- Binary directory: bin
-- Shared data directory: share
-- Manpage directory: share/man
-- (relative pathes are relative to the install prefix;
-- the directory /tsc will be appended to the shared
-- data directory indicated above.)
-- ----------------------------------------------------
-- Configuring incomplete, errors occurred!
See also "/home/datahead/TSCX/TSC/tsc/build/CMakeFiles/CMakeOutput.log".
-------
I clearly have the include files in /usr/include:
datahead@datahead-G750JW:/usr/include/boost$ ls | egrep "(filesystem|chrono|thread)"
chrono
chrono.hpp
filesystem
filesystem.hpp
thread
thread.hpp
There are no boost library files in /usr/lib or /usr/local/lib.
-------
I then tried pointing to the copy of boost I build a while back, after purging my TSC build directory again. I used -DBOOST_ROOT to point it:
datahead@datahead-G750JW:~/TSCX/TSC/tsc/build$ cmake -DBOOST_ROOT=/home/datahead/boost_libs ..-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Found Ruby: /usr/local/bin/ruby
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.3")
-- Searching for SFML audio library
-- found: /usr/local/lib/libsfml-audio.so
-- Searching for SFML graphics library
-- found: /usr/local/lib/libsfml-graphics.so
-- Searching for SFML window library
-- found: /usr/local/lib/libsfml-window.so
-- Searching for SFML system library
-- found: /usr/local/lib/libsfml-system.so
-- Found SFML: /usr/local/include/SFML
-- Searching for Base CEGUI library
-- found: /usr/local/lib/libCEGUIBase-0.so
-- Searching for CoreWindowRendererSet CEGUI library
-- found: /usr/local/lib/cegui-0.8/libCEGUICoreWindowRendererSet.so
-- Searching for DevILImageCodec CEGUI library
-- found: /usr/local/lib/cegui-0.8/libCEGUIDevILImageCodec.so
-- Searching for LibXMLParser CEGUI library
-- found: /usr/local/lib/cegui-0.8/libCEGUILibXMLParser.so
-- Searching for OpenGLRenderer CEGUI library
-- found: /usr/local/lib/libCEGUIOpenGLRenderer-0.so
-- Found CEGUI: /usr/local/include/cegui-0
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.50")
-- Found PCRE: /usr/include
-- Found LibXmlPP: /usr/lib/libxml++-2.6.so (found suitable version "2.36.0", minimum required is "2.6")
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/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 X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- filesystem
-- chrono
-- thread
-- Building tinyclipboard statically
-- Scripting engine enabled: building mruby statically
-- Found BISON: /usr/bin/bison (found version "3.0.2")
-- --------------- Build info summary ----------------
-- TSC version: 2.1.0dev
-- Build type:
-- Crosscompiling: No
-- --------------- Configuration summary -------------
-- Enable the in-game editor: ON
-- Enable the mruby scripting engine: ON
-- Enable native language support: ON
-- Use system-provided tinyclipboard: OFF
-- --------------- Path configuration -----------------
-- Install prefix: /usr/local
-- Binary directory: bin
-- Shared data directory: share
-- Manpage directory: share/man
-- (relative pathes are relative to the install prefix;
-- the directory /tsc will be appended to the shared
-- data directory indicated above.)
-- ----------------------------------------------------
-- Configuring done
CMake Error at CMakeLists.txt:219 (add_executable):
Target "tsc" links to target "Boost::filesystem" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:219 (add_executable):
Target "tsc" links to target "Boost::chrono" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at CMakeLists.txt:219 (add_executable):
Target "tsc" links to target "Boost::thread" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
-- Generating done
-- Build files have been written to: /home/datahead/TSCX/TSC/tsc/build
-----------------------
This installation has both the library files and the header files:
datahead@datahead-G750JW:~/boost_libs/include/boost$ ls | egrep "(filesystem|chrono|thread)"
chrono
chrono.hpp
filesystem
filesystem.hpp
thread
thread.hpp
datahead@datahead-G750JW:~/boost_libs/lib$ ls | egrep "(filesystem|chrono|thread)"
libboost_chrono.a
libboost_chrono.so
libboost_chrono.so.1.55.0
libboost_filesystem.a
libboost_filesystem.so
libboost_filesystem.so.1.55.0
libboost_thread.a
libboost_thread.so
libboost_thread.so.1.55.0
_______________________________________________
tsc-devel mailing list -- tsc-devel(a)lists.secretchronicles.org
To unsubscribe send an email to tsc-devel-leave(a)lists.secretchronicles.org
2 years, 4 months