Menu Content/Inhalt
Home arrow Forum

Articles

Poker Tips

Login






Lost Password?
No account yet? Register
PokerTH - Forum
Welcome, Guest
Please Login or Register.    Lost Password?
compile on linux server (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: compile on linux server
#1867
Txchaser (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Txchaser2001 txchaser@hotmail.com
compile on linux server 7 Months, 1 Week ago Karma: 0  
I am about to install dedicated server. My os is opensuse 10.2 and in reading the server set up doc. I see there are a few required packages, qmake (Qt development tools)
* boost 1.34.1
- boost-thread
- boost-filesystem
- boost-datetime
- boost-program_options
I have just a couple of them and the rest are not in the repositories for my os. I have also done a search on the net to find them and have had no luck. Can you tell me where I can get them from or maybe send them to me, and also let me know if they are in a bigger pakage,
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1871
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:compile on linux server 7 Months, 1 Week ago Karma: 13  
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/04/13 13:58 By lotodore.
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#1892
Txchaser (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Txchaser2001 txchaser@hotmail.com
Re:compile on linux server 7 Months, 1 Week ago Karma: 0  
I belive I have gotten all of the required packages now and I am trying to install on my server. I have tried to install in 2 diffrent places now and keep having the same thing happen. Below is the output when trying to "make". I am not sure of what I am doing wrong here. If possible could someone walk me through this install I would really like to have this installed and opertating a dedicated server of it.
It makes it part way through the make then this happens:

/network_engine -Isrc/config -Isrc/core/tinyxml -Isrc/core/libircclient/include -Isrc/core -Imocs -Iuics -o obj/avatarmanager.o src/core/common/avatarmanager.cpp
src/core/common/avatarmanager.cpp:26:32: error: boost/filesystem.hpp: No such file or directory
src/core/common/avatarmanager.cpp:48: error: âfilesystemâ is not a namespace-name
src/core/common/avatarmanager.cpp:48: error: expected namespace-name before â;â token
src/core/common/avatarmanager.cpp: In member function âbool AvatarManager::Init(const std:tring&, const std:tring&â:
src/core/common/avatarmanager.cpp:68: error: âpathâ was not declared in this scope
src/core/common/avatarmanager.cpp:68: error: expected `;' before âtmpCachePathâ
src/core/common/avatarmanager.cpp:69: error: expected `;' before âtmpDataPathâ
src/core/common/avatarmanager.cpp:72: error: âtmpCachePathâ was not declared in this scope
src/core/common/avatarmanager.cpp:76: error: âtmpDataPathâ was not declared in this scope
src/core/common/avatarmanager.cpp:81: error: âtmpCachePathâ was not declared in this scope
src/core/common/avatarmanager.cpp: At global scope:
src/core/common/avatarmanager.cpp:64: warning: unused parameter âdataDirâ
src/core/common/avatarmanager.cpp: In member function âvoid AvatarManager::AddSingleAvatar(const std:tring&â:
src/core/common/avatarmanager.cpp:96: error: âpathâ was not declared in this scope
src/core/common/avatarmanager.cpp:96: error: expected `;' before âfilePathâ
src/core/common/avatarmanager.cpp:97: error: âfilePathâ was not declared in this scope
src/core/common/avatarmanager.cpp: In static member function âstatic boost:hared_ptr<AvatarFileState> AvatarManager::OpenAvatarFileForChunkRead(const std:tring&, unsigned int&, AvatarFileType&â:
src/core/common/avatarmanager.cpp:128: error: âpathâ was not declared in this scope
src/core/common/avatarmanager.cpp:128: error: expected `;' before âfilePathâ
src/core/common/avatarmanager.cpp:129: error: âfilePathâ was not declared in this scope
src/core/common/avatarmanager.cpp:129: error: âextensionâ was not declared in this scope
src/core/common/avatarmanager.cpp: In member function âbool AvatarManager::GetHashForAvatar(const std:tring&, MD5Buf& constâ:
src/core/common/avatarmanager.cpp:242: error: âexistsâ was not declared in this scope
src/core/common/avatarmanager.cpp: In member function âbool AvatarManager:toreAvatarInCache(const MD5Buf&, AvatarFileType, const unsigned char*, unsigned int)â:
src/core/common/avatarmanager.cpp:352: error: âpathâ was not declared in this scope
src/core/common/avatarmanager.cpp:352: error: expected `;' before âtmpPathâ
src/core/common/avatarmanager.cpp:353: error: âtmpPathâ was not declared in this scope
src/core/common/avatarmanager.cpp: In member function âvoid AvatarManager::RemoveOldAvatarCacheEntries()â:
src/core/common/avatarmanager.cpp:419: error: âpathâ was not declared in this scope
src/core/common/avatarmanager.cpp:419: error: expected `;' before âcachePathâ
src/core/common/avatarmanager.cpp:420: error: âcachePathâ was not declared in this scope
src/core/common/avatarmanager.cpp:437: error: expected `;' before âfilePathâ
src/core/common/avatarmanager.cpp:438: error: âfilePathâ was not declared in this scope
src/core/common/avatarmanager.cpp:444: error: âexistsâ was not declared in this scope
src/core/common/avatarmanager.cpp:447: error: âlast_write_timeâ was not declared in this scope
src/core/common/avatarmanager.cpp:483: error: expected `;' before âtmpPathâ
src/core/common/avatarmanager.cpp:484: error: âtmpPathâ was not declared in this scope
src/core/common/avatarmanager.cpp:496: warning: comparison between signed and unsigned integer expressions
src/core/common/avatarmanager.cpp:501: error: expected `;' before âtmpPathâ
src/core/common/avatarmanager.cpp:502: error: âtmpPathâ was not declared in this scope
src/core/common/avatarmanager.cpp: In member function âbool AvatarManager::InternalReadDirectory(const std:tring&, std::map<MD5Buf, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<MD5Buf>, std::allocator<std:air<const MD5Buf, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&â:
src/core/common/avatarmanager.cpp:518: error: âpathâ was not declared in this scope
src/core/common/avatarmanager.cpp:518: error: expected `;' before âtmpPathâ
src/core/common/avatarmanager.cpp:520: error: âtmpPathâ was not declared in this scope
src/core/common/avatarmanager.cpp:520: error: âexistsâ was not declared in this scope
src/core/common/avatarmanager.cpp:520: error: âis_directoryâ was not declared in this scope
src/core/common/avatarmanager.cpp:525: error: âdirectory_iteratorâ was not declared in this scope
src/core/common/avatarmanager.cpp:525: error: expected `;' before âiâ
src/core/common/avatarmanager.cpp:526: error: expected `;' before âendâ
src/core/common/avatarmanager.cpp:528: error: âiâ was not declared in this scope
src/core/common/avatarmanager.cpp:528: error: âendâ was not declared in this scope
src/core/common/avatarmanager.cpp:530: error: âis_regularâ was not declared in this scope
src/core/common/avatarmanager.cpp: At global scope:
src/core/common/avatarmanager.cpp:515: warning: unused parameter âdirâ
make[1]: *** [obj/avatarmanager.o] Error 1
make[1]: Leaving directory `/pokerth'
make: *** [sub-pokerth_lib-pro-make_default-ordered] Error 2
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1962
Txchaser (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Txchaser2001 txchaser@hotmail.com
Re:compile on linux server 6 Months, 1 Week ago Karma: 0  
I take it that no one has had any trouble like this?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1963
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:compile on linux server 6 Months, 1 Week ago Karma: 13  
As you have quoted, boost 1.34.1 or above is required to build the server. Please have a look at the first error message of your post:

Code:

src/core/common/avatarmanager.cpp:26:32: error: boost/filesystem.hpp: No such file or directory
This tells you that boost filesystem.hpp could not be found. This means one of the following: 1. You do not have boost installed or 2. You have an older version of boost installed or 3. You have boost 1.34.1 / 1.35.0 installed on some place where it cannot be found
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/16 17:21 By lotodore.
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#1998
Txchaser (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Txchaser2001 txchaser@hotmail.com
Re:compile on linux server 5 Months, 4 Weeks ago Karma: 0  
I have now downloaded and trying to install new version of PokerTH and have now run into another error.

In file included from src/core/common/crypthelper.cpp:23:
src/core/openssl_wrapper.h:50:29: error: gnutls/openssl.h: No such file or directory
src/core/common/crypthelper.cpp: In static member function âstatic bool CryptHelper::MD5Sum(const std:tring&, MD5Buf&â:
src/core/common/crypthelper.cpp:119: error: âMD5_CTXâ was not declared in this scope
src/core/common/crypthelper.cpp:119: error: expected `;' before âcontextâ
src/core/common/crypthelper.cpp:122: error: âcontextâ was not declared in this scope
src/core/common/crypthelper.cpp:122: error: âMD5_Initâ was not declared in this scope
src/core/common/crypthelper.cpp:124: error: âMD5_Updateâ was not declared in this scope
src/core/common/crypthelper.cpp:125: error: âMD5_Finalâ was not declared in this scope
make[1]: *** [obj/crypthelper.o] Error 1
make[1]: Leaving directory `/srv/www/htdocs/pokerth'
make: *** [sub-pokerth_lib-pro-make_default-ordered] Error 2
svr1:/srv/www/htdocs/pokerth #

any ideas or help much appreciated.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
designed by www.madeyourweb.com