• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux [Gentoo] Linux compilation under Gentoo

Macavelli

New Member
Joined
Apr 27, 2009
Messages
6
Reaction score
0
Hi there,

I am interested in installing TFS ots on my vps with Gentoo OS, however.. I don't know what I need to compile. I downloaded the sources via wget, made a script to change the names of files to lower cases

#!/usr/bin/ruby -w

# ToLowerCase file generator #
# By Killavus ([email protected]) #
# Licensed under GNU GPLv3 License #

$dirs_to_fetch = []
$checked = 0
def fetcher(dir)
Dir.foreach(dir) do |file|
file.gsub!(/\.\./, "")
`mv #{dir}/#{file} #{dir}/#{file.downcase}` if file != "ToLowerCaser.rb" && file.downcase != file
$dirs_to_fetch.push(file.downcase) if File.directory?(file) && file != "."
end
$checked += 1
end

fetcher(".")

$dirs_to_fetch.each do |e|
fetcher(e)
end

puts "DONE! #{$checked} files checked and eventually renamed."

I run it, it changed the files, what then? there's no makefile or so, how am I supposed to compile it?

So simple question: how to compile TFS on Gentoo.

I expect simple answer aswell. Thanks in advance!
 
There is some difference between gentoo and other oss, however some shit works and some don't...

after ./configure I gen an error
checking boost/asio.hpp usability... no
checking boost/asio.hpp presence... no
checking for boost/asio.hpp... no
configure: error: "boost::asio header not found."

While trying to compile boost_asio_1_0_0 I get some other error that files were not found or so.. ;\
 
Ok, it worked now.. I had to install some libraries

in gentoo it's "emerge xxx" where xxx is a library that is missed.

Right now the next sweet problem is

make[1]: *** [actions.o] Błąd 1
make[1]: Leaving directory `/home/ots/0.3.4'
make: *** [all] Błąd 2

after I do "make"

/usr/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp:763: error: `value' has not been declared
In file included from /usr/include/boost/type_traits/composite_traits.hpp:20,
from /usr/include/boost/function/function_base.hpp:22,
from /usr/include/boost/function/detail/prologue.hpp:16,
from /usr/include/boost/function.hpp:22,
from otpch.h:17,
from actions.cpp:17:

etc
 
Back
Top