Page MenuHomePhorge

Document how to install javelinsymbols
Open, Needs TriagePublic

Description

Basically javelinsymbols is sometime required in Phorge. See D25457 and its buildable B925 that exploded with:

javelinsymbols Not In Path

It seems it's related to this repository that at the time of writing (2023-11-13) it's not in we.Phorge.it:

https://github.com/phacility/javelin

I totally don't understand how to compile javelinsymbols it so here a stub. Please feel free to contribute.

Note that javelinsymbols depends on libfbjs. So, stub:

# Installing 'flex' package (example for Debian and Ubuntu)
sudo apt install --yes flex

# Having this repo:
git clone https://github.com/phacility/javelin
cd javelin

# Compile libfbjs
cd externals/libfbjs`
make

At this point I receive:

walker.hpp:4:10: fatal error: boost/ptr_container/ptr_vector.hpp: No such file or directory
    4 | #include <boost/ptr_container/ptr_vector.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Event Timeline

To fix this error:

walker.hpp:4:10: fatal error: boost/ptr_container/ptr_vector.hpp: No such file or directory
    4 | #include <boost/ptr_container/ptr_vector.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Somebody said https://stackoverflow.com/a/21923803 to install this package:

sudo apt install libboost-all-dev

But, in my laptop, that is 470MB of dependencies to be installed and I don't like it. So I stop this stub. Feel free to continue.