McStasMcXtrace / McCode

The home of the McStas (neutrons) and McXtrace (x-rays) Monte-Carlo ray-tracing instrument simulation codes.
https://github.com/McStasMcXtrace/McCode/wiki
GNU General Public License v3.0
77 stars 54 forks source link

bison and flex #1587

Open jorobledo opened 7 months ago

jorobledo commented 7 months ago

When installing on ubuntu 22.04, flex and bison are requirements not fulfilled when installing through $MCCODE/buildscripts/build_loc_3.x_tree.

sudo apt install flex bison solved it.

willend commented 7 months ago

Thanks, yes @jorobledo these are indeed basic dependencies that are needed when building. :-)

The (undocumented and perhaps not perfect) way to look up build-dependencies is via the scripts in the folder dependency-scripts :-)

FYI mcstas (and mcxtrace) is on conda-forge now, the 3.4.25 prerelease corresponds to ~ main in its current state. :-)

willend commented 7 months ago

(See also outputs "artefacts" of the nightly builds, e.g. https://github.com/McStasMcXtrace/McCode/actions/runs/8196405923 these contain Intel deb packages, macOS bundle and cross-compiled Windows bundle....)

jorobledo commented 7 months ago

Gracias! Just wanted to document it in case somebody finds the same issue. Didn't know about the dependency-scripts there. Will run this in a first instance there form now on ;). Way to go with conda-forge!