Hi,

If xmlrpc-c is installed in standard paths including the abyss server
option, then the following command should return zero when run from bash:

g++ -include xmlrpc-c/base.hpp -lxmlrpc_server_abyss++ -x c++ - <<<'int
main() {}'

and server will be compiled automatically.  Otherwise, it expects a path
as in --with-xmlrpc-c=/path/to/xmlrpc-c to which it will append to run:

/path/to/xmlrpc-c/bin/xmlrpc-c-config c++2 abyss-server --libs
/path/to/xmlrpc-c/bin/xmlrpc-c-config c++2 abyss-server --cflags

Expecting a path to the top-level directory of installation is
consistent with the behavior of other --with flags but different from
how autotools did it.  This was documented in --help; I just committed a
change that performs more error checking.

Also, the --install option is now dead (a no-op) and replaced with
--prefix by popular demand.  Note that this installs in bin and lib
directories.

Kenneth

On 11/30/11 01:48, Kádár Tamás (KTamas) wrote:
> Hi
> 
> Sorry for the newbie question, but I can't quite figure out how to
> build moses server under the new bjam building system.
> 
> Right now I've built it with:
> 
> ./bjam --with-irstlm=/usr/local/irstlm --with-xmlrpc-c -j2
> --install=/usr/local --with-giza=/home/ubuntu/bin
> 
> That compiles moses and most of the stuff, but not the server.
> 
> Thanks and best regards,
> Tamas
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to