Notary: Difference between revisions
From Elch-Wiki
				
				
				Jump to navigationJump to search
				
				
No edit summary  | 
				|||
| Line 12: | Line 12: | ||
== How to build a notary server on trash.net ==  | == How to build a notary server on trash.net ==  | ||
First let the defaults be set by calling ./do configure  | |||
Then change settings in ./do configure-ui:  | |||
* additional_INCLUDE_DIR=/sw/include  | * additional_INCLUDE_DIR=/sw/include  | ||
* additional_LIBRARIES=socket;resolv;rt  | * additional_LIBRARIES=socket;resolv;rt  | ||
Revision as of 15:27, 27 February 2010
How to download the notary code
In order to clone the Git repository you'll have to do:
- install Git (see http://git-scm.com/);
 - clone the repository with the following command:
 
git clone git://hephaistos.info.uvt.ro/perspectives/server.git
Prerequisites before building
- cmake must be installed
 - Berkeley-DB 4.8.x must be installed
 
How to build a notary server on trash.net
First let the defaults be set by calling ./do configure
Then change settings in ./do configure-ui:
- additional_INCLUDE_DIR=/sw/include
 - additional_LIBRARIES=socket;resolv;rt
 
- bdb_INCLUDE_DIR=/sw/pkgs/db-4.8.26/include
 - bdb_LIBRARIES=/sw/pkgs/db-4.8.26/lib/libdb.a
 
- crypto_INCLUDE_DIR=/sw/include
 - crypto_LIBRARIES=/sw/lib/libcrypto.a
 
- openssl_INCLUDE_DIR=/sw/include
 - openssl_LIBRARIES=/sw/lib/libssl.a
 
Manuell gepatched:
- common/server_common.h:
 
+ #include <stdint.h> auskommentiert + #include <sys/int_types.h> hinzugefügt
- common/net_util.c:
 
+ #define gethostbyname2(host,family) gethostbyname((host)) hinzugefügt