enewhuis / liquibook

Modern C++ order matching engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to built in ubuntu 12.04?

EMRJ opened this issue · comments

commented

when i run mwc.pl -type make liquibook.mwc gives mwc.pl: command not found

It has something to do with the mwc.pl that liquibook also has in its
website. Haven't figured out either
On May 21, 2014 2:52 PM, "MR" notifications@github.com wrote:

when i run mwc.pl -type make liquibook.mwc gives mwc.pl: command not found


Reply to this email directly or view it on GitHubhttps://github.com//issues/6
.

You should download ACE-6.2.0.zip and extract it
mwc.pl will be inside

please note - you should install pearl in your system in order for your system to understand the commands inside the .pl file

Actually, you don't need all of ACE, but only MPC. If you have ace, that
is fine, otherwise, just MPC. See build dependencies at
https://github.com/objectcomputing/liquibook

On Wed, May 21, 2014 at 3:03 AM, Dror Mikdash notifications@github.comwrote:

You should download ACE-6.2.0.zip and extract it
mwc.pl will be inside

please note - you should install pearl in your system in order for your
system to understand the commands inside the .pl file


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-43724732
.

Hey EMRJ,

MPC is a set of a few perl scripts. You can get them from here:

wget http://downloads.ociweb.com/MPC/MPC_4_0_0.tar.gz
tar -xzvf MPC_4_0_0.tar.gz
mv MPC /usr/local/MPC
export MPC_ROOT=`/usr/local/MPC`
ln -s /usr/local/MPC/mwc.pl /usr/local/bin/mwc.pl

After you've done the above steps you'll be able to use mwc.pl. The environment variable is necessary because the scripts sometimes check for it and use mwc directly from that path. (Just got to compile it on OSX yesterday. It's a pain, really.

Hi guys, webpage says MPC is open-source product but I can't find source.

I found this

user:liquibook user$ . env.sh
readlink: illegal option -- f
usage: readlink [-n] [file ...]

do you mean ./env.sh?

user:liquibook user$ vi env.sh
user:liquibook dendisuhubdy$ cd /usr/local/boost
-bash: cd: /usr/local/boost: No such file or directory
dendisuhubdy:liquibook dendisuhubdy$ cd /usr/local/opt/boost
dendisuhubdy:boost dendisuhubdy$ ls
INSTALL_RECEIPT.json include lib
dendisuhubdy:boost dendisuhubdy$ cd ..
dendisuhubdy:opt dendisuhubdy$ export BOOST_ROOT="/usr/local/opt/boost"
dendisuhubdy:opt dendisuhubdy$ cd ~/Documents/workspace/bitwyre/liquibook/
dendisuhubdy:liquibook dendisuhubdy$ mwc.pl -type make liquibook.mwc
Generating 'make' output using liquibook.mwc
WARNING: liquibook.mwc: Command line files specified in a workspace are ignored.
Skipping ut_order_book_shared_ptr (liquibook_unit.mpc), it requires boost.
depth_feed_publisher.mpc: line 2:
ERROR: Unable to locate parent: QuickFASTApplication
liquibook.mwc: line 5:
ERROR: Unable to process examples/depth_feed_publisher/depth_feed_publisher.mpc
ERROR: Unable to process: liquibook.mwc
user:liquibook user$

-f is the canonicalize option of readlink - follows symlinks

you can probably change that line to

export LIQUIBOOK_ROOT=pwd

On Thu, Jul 9, 2015 at 2:15 PM, Dendi Suhubdy notifications@github.com
wrote:

I found this

user:liquibook user$ . env.sh
readlink: illegal option -- f
usage: readlink [-n] [file ...]

do you mean ./env.sh?


Reply to this email directly or view it on GitHub
#6 (comment)
.

Closing this with a note that the build process has been recently updated. It still uses MPC but there's more help in the env.sh file that prepares the build.