| [5e0f64] | 1 | This is a Dockerfile to build the molecuilder debian package.
 | 
|---|
 | 2 | 
 | 
|---|
 | 3 | 1. install dev packages
 | 
|---|
 | 4 | 2. compile boost
 | 
|---|
 | 5 | 3. compile molecuilder (creating debian archive)
 | 
|---|
 | 6 | 4. copy debian archive to next stage
 | 
|---|
 | 7 | 5. install non-dev packages
 | 
|---|
 | 8 | 6. install libqt3d and molecuilder package (from build-stage)
 | 
|---|
 | 9 | 
 | 
|---|
 | 10 | 
 | 
|---|
 | 11 | ### Issues
 | 
|---|
 | 12 | 
 | 
|---|
 | 13 | - molecuilder does not seem to work with boost 1.61 (and above?), we used
 | 
|---|
 | 14 |   boost 1.58 (default with Ubuntu 16.04), boost-related compilation errors
 | 
|---|
 | 15 | - we want to base on python3 (for use in jupyter notebooks, ipykernel needs
 | 
|---|
 | 16 |   python3.4 or higher). Therefore, we need to compile boost ourselves
 | 
|---|
 | 17 |   as Ubunut 16.04 links to python2.7 still, see user-config.jam
 | 
|---|
 | 18 | - ax_python.m4 (w.r.t molecuilder v1.6.1) need to be adapted to python3.5m
 | 
|---|
 | 19 | (- we build unsigned packages as this should proceed non-interactively)
 | 
|---|
 | 20 | - instead of building debian packages, we build binaries and copy these to
 | 
|---|
 | 21 |   the next stage
 | 
|---|
 | 22 | 
 | 
|---|
 | 23 | ### 2022-10-22
 | 
|---|
 | 24 | 
 | 
|---|
 | 25 | This works now with ubuntu18.04 and boost-1.69 and python3.
 | 
|---|
 | 26 | 
 | 
|---|
 | 27 | ### 2023-09-14
 | 
|---|
 | 28 | 
 | 
|---|
 | 29 | Under Ubuntu20.04 I need to add `-lboost_python3.8` in **m4/boost.m4**.
 | 
|---|
 | 30 | However, this breaks compilation under Ubuntu 18.04. Hence, remember to
 | 
|---|
 | 31 | remove this again (in the distributable).
 | 
|---|
 | 32 | 
 | 
|---|
 | 33 | ### 2025-08-09
 | 
|---|
 | 34 | 
 | 
|---|
 | 35 | You need:
 | 
|---|
 | 36 | - a tarball of boost-1.69, obtain from boost.org
 | 
|---|
 | 37 | - libqt4-3d_1.0-tp2_amd64.deb and libqt4-3d-dev_1.0-tp2_amd64.deb debian packages
 | 
|---|
 | 38 |   (these are for Qt4.8's Qt3D)
 | 
|---|
 | 39 | - molecuilder's tarball. Obtain via `make dist` from the build folder
 | 
|---|
 | 40 | - adjust the MOLECUILDER_VERSION in the Dockerfile to match the current version.
 | 
|---|
 | 41 | 
 | 
|---|